# Created by: Lung-Pin Chang # $FreeBSD: head/www/py-django_compressor/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= django_compressor PORTVERSION= 2.4 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ultima@FreeBSD.org COMMENT= Compresses linked and inline JavaScript/CSS into a single cached file LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}versiontools>=1.8.2:devel/py-versiontools@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-appconf>=1.0.2:www/py-django-appconf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rcssmin>=1.0.6:archivers/py-rcssmin@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rjsmin>=1.1.0:archivers/py-rjsmin@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes OPTIONS_DEFINE= BEAUTIFULSOUP LXML HTML5LIB BEAUTIFULSOUP_DESC= Enable BeautifulSoupParser LXML_DESC= Enable LxmlParser HTML5LIB_DESC= Enable Html5LibParser BEAUTIFULSOUP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:www/py-beautifulsoup@${PY_FLAVOR} LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} .include