diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-11 00:24:05 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-11 00:24:05 +0800 |
commit | 2df3c7b0150fdfb9856ea64aaceca4c5487d600f (patch) | |
tree | 8bc85a5a06d17ce9235fd4d3a71f8fd15e83e613 /news/py-pynzb | |
parent | a88599ea7aeeb6ccab0bea5fa2f4f4f6fa63dbbb (diff) | |
download | freebsd-ports-gnome-2df3c7b0150fdfb9856ea64aaceca4c5487d600f.tar.gz freebsd-ports-gnome-2df3c7b0150fdfb9856ea64aaceca4c5487d600f.tar.zst freebsd-ports-gnome-2df3c7b0150fdfb9856ea64aaceca4c5487d600f.zip |
Convert to new options framework
Diffstat (limited to 'news/py-pynzb')
-rw-r--r-- | news/py-pynzb/Makefile | 15 |
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> |