freebsd-ports/textproc/xmlwrapp/Makefile
Pete Fritchman 1954490a5a - respect CFLAGS/PREFIX properly
- utilize WANT_GNOME
- install pkg-config .pc file to correct place
- bump PORTREVISION

PR:		52142
Submitted by:	Ports Fury
2003-05-19 00:59:26 +00:00

39 lines
832 B
Makefile

# ex:ts=8
# Ports collection makefile for: xmlwrapp
# Date created: Jan 14, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xmlwrapp
PORTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://pmade.org/pjones/software/xmlwrapp/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A modern style C++ library for working with XML data
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
USE_PERL5_BUILD= yes
USE_GNOME= libxml2
WANT_GNOME= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.pl
CONFIGURE_ARGS= --prefix ${PREFIX}
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibxslt}!=""
USE_GNOME+= libxslt
PLIST_SUB+= XSLT=""
.else
CONFIGURE_ARGS+= --disable-xslt
PLIST_SUB+= XSLT="@comment "
.endif
.include <bsd.port.post.mk>