svn commit: r301250 - head/net-p2p/btqueue

Baptiste Daroussin bapt at FreeBSD.org
Fri Jul 20 21:59:47 UTC 2012


Author: bapt
Date: Fri Jul 20 21:59:46 2012
New Revision: 301250
URL: http://svn.freebsd.org/changeset/ports/301250

Log:
  Convert to new options framework

Modified:
  head/net-p2p/btqueue/Makefile

Modified: head/net-p2p/btqueue/Makefile
==============================================================================
--- head/net-p2p/btqueue/Makefile	Fri Jul 20 21:58:27 2012	(r301249)
+++ head/net-p2p/btqueue/Makefile	Fri Jul 20 21:59:46 2012	(r301250)
@@ -25,12 +25,14 @@ PYDISTUTILS_PKGNAME=	BTQueue
 DATADIR=	${PREFIX}/share/BTQueue
 DOCSDIR=	${PREFIX}/share/doc/BTQueue
 
-OPTIONS=	PYXML "Add dependency on PyXML (needed for crawler only)" on
+OPTIONS_DEFINE=	PYXML
+OPTIONS_DEFAULT=	PYXML
+PYXML_DESC=	Add dependency on PyXML (needed for crawler only)
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_PYXML)
+.if ${PORT_OPTIONS:MPYXML}
 RUN_DEPENDS+=	${PYXML}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



More information about the svn-ports-all mailing list