svn commit: r302488 - head/www/py-django_compressor
Ruslan Mahmatkhanov
rm at FreeBSD.org
Tue Aug 14 03:42:12 UTC 2012
Author: rm
Date: Tue Aug 14 03:42:11 2012
New Revision: 302488
URL: http://svn.freebsd.org/changeset/ports/302488
Log:
- convert to optionsNG
while here:
- make it depend on www/py-beautifulsoup32 instead, because it is the
something that this code is looking for
- do not bump PORTREVISION, because this dependency is not default
- tab -> space in pkg-descr:WWW
PR: 170190
Submitted by: Lung-Pin Chang <changlp at cs.nctu.edu dot tw> (maintainer)
Modified:
head/www/py-django_compressor/Makefile
head/www/py-django_compressor/pkg-descr
Modified: head/www/py-django_compressor/Makefile
==============================================================================
--- head/www/py-django_compressor/Makefile Tue Aug 14 00:40:29 2012 (r302487)
+++ head/www/py-django_compressor/Makefile Tue Aug 14 03:42:11 2012 (r302488)
@@ -22,21 +22,22 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}djan
USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
-OPTIONS= BEAUTIFULSOUP "Enable BeautifulSoupParser" Off \
- LXML "Enable LxmlParser" Off \
- HTML5LIB "Enable Html5LibParser" Off
+OPTIONS_DEFINE= BEAUTIFULSOUP LXML HTML5LIB
+BEAUTIFULSOUP_DESC= Enable BeautifulSoupParser
+LXML_DESC= Enable LxmlParser
+HTML5LIB_DESC= Enable Html5LibParser
.include <bsd.port.options.mk>
-.if defined(WITH_BEAUTIFULSOUP)
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:${PORTSDIR}/www/py-beautifulsoup
+.if ${PORT_OPTIONS:MBEAUTIFULSOUP}
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32
.endif
-.if defined(WITH_LXML)
+.if ${PORT_OPTIONS:MLXML}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
.endif
-.if defined(WITH_HTML5LIB)
+.if ${PORT_OPTIONS:MHTML5LIB}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
.endif
Modified: head/www/py-django_compressor/pkg-descr
==============================================================================
--- head/www/py-django_compressor/pkg-descr Tue Aug 14 00:40:29 2012 (r302487)
+++ head/www/py-django_compressor/pkg-descr Tue Aug 14 03:42:11 2012 (r302488)
@@ -2,4 +2,4 @@ Django Compressor combines and compresse
inline Javascript or CSS in a Django templates into
cacheable static files by using the compress template tag.
-WWW: https://github.com/jezdez/django_compressor
+WWW: https://github.com/jezdez/django_compressor
More information about the svn-ports-head
mailing list