aboutsummaryrefslogtreecommitdiff
path: root/news/py-pynzb
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-10 16:24:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-10 16:24:05 +0000
commitdf06cc9690fefe6987fa3ef8767f3c5bfd31c2a7 (patch)
tree8bc85a5a06d17ce9235fd4d3a71f8fd15e83e613 /news/py-pynzb
parent529a360cf0ff1a24a3836f69400744f2a2771d06 (diff)
downloadports-df06cc9690fefe6987fa3ef8767f3c5bfd31c2a7.tar.gz
ports-df06cc9690fefe6987fa3ef8767f3c5bfd31c2a7.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=317826
Diffstat (limited to 'news/py-pynzb')
-rw-r--r--news/py-pynzb/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/news/py-pynzb/Makefile b/news/py-pynzb/Makefile
index f8b676568474..56b3a81a5e6f 100644
--- a/news/py-pynzb/Makefile
+++ b/news/py-pynzb/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: pynzb
-# Date created: Wed Apr 7 13:06:51 UTC 2010
-# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
+# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= pynzb
@@ -20,12 +17,14 @@ USE_PYTHON= 2.5+
USE_PYDISTUTILS= easy_install
PYDISTUTILS_NOEGGINFO= yes
-OPTIONS= LXML "Add support for py-lxml" Off
+OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
+OPTIONS_DEFINE= LXML
+LXML_DESC= Add support for py-lxml
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_LXML)
+.if ${PORT_OPTIONS:MLXML}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lxml>=2.2.1:${PORTSDIR}/devel/py-lxml
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>