Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2012 04:49:08 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305430 - head/textproc/xmlwrapp
Message-ID:  <201210070449.q974n8C8019950@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Oct  7 04:49:08 2012
New Revision: 305430
URL: http://svn.freebsd.org/changeset/ports/305430

Log:
  Convert to OptionsNG
  
  PR:	ports/172437
  Submitted by:	Michael Gmelin <freebsd@grem.de>

Modified:
  head/textproc/xmlwrapp/Makefile

Modified: head/textproc/xmlwrapp/Makefile
==============================================================================
--- head/textproc/xmlwrapp/Makefile	Sun Oct  7 04:44:48 2012	(r305429)
+++ head/textproc/xmlwrapp/Makefile	Sun Oct  7 04:49:08 2012	(r305430)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210070449.q974n8C8019950>