aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlroff/Makefile
blob: 9528679ea16ac923265177802534f6d2cb0fe71b (plain) (blame)
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
# New ports collection makefile for:    xmlroff
# Date created:     1 January 2005
# Whom:         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

LIB_DEPENDS=    cairo.2:${PORTSDIR}/graphics/cairo

USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
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>