Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 21:59:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301250 - head/net-p2p/btqueue
Message-ID:  <201207202159.q6KLxlmx042456@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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