1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/textproc/xmlroff/Makefile
2013-11-02 18:11:29 +00:00

34 lines
750 B
Makefile

# Created by: James Earl
# $FreeBSD$
PORTNAME= xmlroff
PORTVERSION= 0.6.2
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://xmlroff.org/download/
MAINTAINER= hrs@FreeBSD.org
COMMENT= XSL formatter that produces PDF and PostScript
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
USE_AUTOTOOLS= libtool
USES= gmake pkgconfig
USE_GNOME= gnomehack libgnomeprint libxslt \
libxml2 gtk20 glib20 pango
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc \
--with-html-dir=${PREFIX}/share/doc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/libfo/fo-libfo-basic.h
.include <bsd.port.mk>