2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Lung-Pin Chang <changlp@cs.nctu.edu.tw>
|
2011-11-25 19:45:35 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= django_compressor
|
2014-12-31 07:41:03 +01:00
|
|
|
PORTVERSION= 1.4
|
2011-11-25 19:45:35 +01:00
|
|
|
CATEGORIES= www python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= changlp@cs.nctu.edu.tw
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= Compresses linked and inline JavaScript/CSS into a single cached file
|
2011-11-25 19:45:35 +01:00
|
|
|
|
2012-04-13 20:38:30 +02:00
|
|
|
LICENSE= MIT
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}versiontools>=1.8.2:${PORTSDIR}/devel/py-versiontools
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-appconf>=0.4:${PORTSDIR}/www/py-django-appconf
|
|
|
|
|
2014-12-31 07:41:03 +01:00
|
|
|
USES= python
|
|
|
|
USE_PYTHON= autoplist distutils
|
2011-11-25 19:45:35 +01:00
|
|
|
|
2014-12-31 07:41:03 +01:00
|
|
|
OPTIONS_DEFINE= BEAUTIFULSOUP LXML HTML5LIB SLIMIT
|
2012-08-14 05:42:11 +02:00
|
|
|
BEAUTIFULSOUP_DESC= Enable BeautifulSoupParser
|
|
|
|
LXML_DESC= Enable LxmlParser
|
|
|
|
HTML5LIB_DESC= Enable Html5LibParser
|
2014-12-31 07:41:03 +01:00
|
|
|
SLIMIT_DESC= Enable SlimIt JavaScript filter
|
2011-11-25 19:45:35 +01:00
|
|
|
|
2014-12-31 07:41:03 +01:00
|
|
|
BEAUTIFULSOUP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:${PORTSDIR}/www/py-beautifulsoup
|
|
|
|
LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
|
|
|
|
HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
|
|
|
|
SLIMIT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}slimit>=0.8.1:${PORTSDIR}/www/py-slimit
|
2011-11-25 19:45:35 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|