aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlwrapp
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-07 04:49:08 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-07 04:49:08 +0000
commit8b9af8a47134c4dc195ad7fbedefca3451469da7 (patch)
tree2aabd3cae6ff27ddad2b2b8c0c32d302014202ce /textproc/xmlwrapp
parenta65ebd957d1faeb18e86b2f73770f349c29f492e (diff)
downloadports-8b9af8a47134c4dc195ad7fbedefca3451469da7.tar.gz
ports-8b9af8a47134c4dc195ad7fbedefca3451469da7.zip
Convert to OptionsNG
PR: ports/172437 Submitted by: Michael Gmelin <freebsd@grem.de>
Notes
Notes: svn path=/head/; revision=305430
Diffstat (limited to 'textproc/xmlwrapp')
-rw-r--r--textproc/xmlwrapp/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/textproc/xmlwrapp/Makefile b/textproc/xmlwrapp/Makefile
index cdf6479ba079..8db9c0a8fe90 100644
--- a/textproc/xmlwrapp/Makefile
+++ b/textproc/xmlwrapp/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for: xmlwrapp
-# Date created: Jan 14, 2003
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= xmlwrapp
PORTVERSION= 0.6.3
@@ -19,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= boost_iostreams.4:${PORTSDIR}/devel/boost-libs
-OPTIONS= XSLT "build libxsltwrap library (requires libxslt)" off
+OPTIONS_DEFINE= XSLT
+XSLT_DESC= Build libxsltwrap library (requires libxslt)
USE_GNOME= gnomehack libxml2
USE_PERL5_BUILD=yes
@@ -34,7 +30,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
-.if defined(WITH_XSLT)
+.if ${PORT_OPTIONS:MXSLT}
USE_GNOME+= libxslt
PLIST_SUB+= XSLT=""
.else
@@ -47,9 +43,8 @@ post-patch:
@${REINPLACE_CMD} '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@(cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.endif
-
.include <bsd.port.mk>