head	1.5;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.02.59;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.08.14.03.42.11;	author rm;	state Exp;
branches;
next	1.3;

1.3
date	2012.07.29.11.17.02;	author cs;	state Exp;
branches;
next	1.2;

1.2
date	2012.04.13.18.38.30;	author rm;	state Exp;
branches;
next	1.1;

1.1
date	2011.11.25.18.45.35;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	py-django_compressor
# Date created:		2011-07-21
# Whom:			Lung-Pin Chang <changlp@@cs.nctu.edu.tw>
#
# $FreeBSD: head/www/py-django_compressor/Makefile 302488 2012-08-14 03:42:11Z rm $
#

PORTNAME=	django_compressor
PORTVERSION=	1.1.2
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	changlp@@cs.nctu.edu.tw
COMMENT=	Compresses linked and inline JavaScript/CSS into a single cached file

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

USE_PYTHON=	-2.7
USE_PYDISTUTILS=	easy_install

OPTIONS_DEFINE=	BEAUTIFULSOUP LXML HTML5LIB
BEAUTIFULSOUP_DESC=	Enable BeautifulSoupParser
LXML_DESC=		Enable LxmlParser
HTML5LIB_DESC=		Enable Html5LibParser

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MBEAUTIFULSOUP}
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32
.endif

.if ${PORT_OPTIONS:MLXML}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
.endif

.if ${PORT_OPTIONS:MHTML5LIB}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
.endif

.include <bsd.port.mk>
@


1.4
log
@SVN rev 302488 on 2012-08-14 03:42:11Z by rm

- 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)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@SVN rev 301684 on 2012-07-29 11:17:02Z by cs

Fix typos in COMMENT

Approved by:	portmgr@@ (implicit)
@
text
@d25 4
a28 3
OPTIONS=	BEAUTIFULSOUP "Enable BeautifulSoupParser" Off \
		LXML "Enable LxmlParser" Off \
		HTML5LIB "Enable Html5LibParser" Off
d32 2
a33 2
.if defined(WITH_BEAUTIFULSOUP)
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:${PORTSDIR}/www/py-beautifulsoup
d36 1
a36 1
.if defined(WITH_LXML)
d40 1
a40 1
.if defined(WITH_HTML5LIB)
@


1.2
log
@- update to 1.1.2 [1]
- add license (MIT)
- add missing dependencies on devel/py-versiontools and www/py-django-appconf
- strict to python <=2.7

PR:		166841 [1]
Submitted by:	Lung-Pin Chang <changlp at cs.nctu.edu dot tw> (maintainer)
@
text
@d15 1
a15 1
COMMENT=	Compresses linked and inline javascript/CSS into a single cached file
@


1.1
log
@Django Compressor combines and compresses linked and
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

PR:		ports/159083
Submitted by:	Lung-Pin Chang <changlp@@cs.nctu.edu.tw>
Feature safe: 	yes
@
text
@d9 1
a9 1
PORTVERSION=	0.9.2
d17 6
a22 1
USE_PYTHON=	yes
@

