summaryrefslogtreecommitdiff
path: root/textproc/libfo/Makefile
blob: 69169b7821954cf82e0d59b0624007e9ceba8fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

PORTNAME=	libfo
PORTVERSION=	0.6.3
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	textproc

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	XSL formatter library for xmlroff

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/catalog.xml:textproc/docbook-xsl \
		xmlcatmgr:textproc/xmlcatmgr
LIB_DEPENDS=	libcairo.so:graphics/cairo \
		libfreetype.so:print/freetype2

CONFLICTS_INSTALL=	xmlroff-0.6.[12] xmlroff-0.6.2_[12345]

USES=		autoreconf gettext gmake gnome localbase libtool pathfix pkgconfig
USE_GNOME=	libxslt libxml2 gtk20 glib20 pango \
		librsvg2 gdkpixbuf2
USE_GITHUB=	yes
GH_PROJECT=	xmlroff
GH_ACCOUNT=	xmlroff
USE_LDCONFIG=	yes
WRKSRC_SUBDIR=	xmlroff
GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --disable-gtk-doc \
		--disable-gp
INSTALL_TARGET=	install-strip

post-patch:
	${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
	    ${WRKSRC}/libfo/fo-libfo-basic.h

.include <bsd.port.mk>