aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-07-21 05:59:46 +0800
committerbapt <bapt@FreeBSD.org>2012-07-21 05:59:46 +0800
commit00b22b3072c553db1d657c3d5081a94e84346362 (patch)
treef53e969a7ea29870e3e81a7ba2677c042620fe95
parentfbbeffe536611fe8c57b41b2fd1be41a36f999e6 (diff)
downloadfreebsd-ports-gnome-00b22b3072c553db1d657c3d5081a94e84346362.tar.gz
freebsd-ports-gnome-00b22b3072c553db1d657c3d5081a94e84346362.tar.zst
freebsd-ports-gnome-00b22b3072c553db1d657c3d5081a94e84346362.zip
Convert to new options framework
-rw-r--r--net-p2p/btqueue/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net-p2p/btqueue/Makefile b/net-p2p/btqueue/Makefile
index 8985e2d26e24..9df17f355e40 100644
--- a/net-p2p/btqueue/Makefile
+++ b/net-p2p/btqueue/Makefile
@@ -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>