aboutsummaryrefslogtreecommitdiff
path: root/devel/py-Jinja2
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2007-02-16 10:05:44 +0000
committerNicola Vitale <nivit@FreeBSD.org>2007-02-16 10:05:44 +0000
commitda5cceaf3561f68403bab0bb8cad37e33e6035e8 (patch)
treed01a70e0a35f0175a160212ed468bac168898c2c /devel/py-Jinja2
parentb37ddea6a7e573cc8b9d4e7a955346f1b26cdffe (diff)
downloadports-da5cceaf3561f68403bab0bb8cad37e33e6035e8.tar.gz
ports-da5cceaf3561f68403bab0bb8cad37e33e6035e8.zip
Notes
Diffstat (limited to 'devel/py-Jinja2')
-rw-r--r--devel/py-Jinja2/Makefile31
-rw-r--r--devel/py-Jinja2/distinfo3
-rw-r--r--devel/py-Jinja2/pkg-descr9
-rw-r--r--devel/py-Jinja2/pkg-plist4
4 files changed, 47 insertions, 0 deletions
diff --git a/devel/py-Jinja2/Makefile b/devel/py-Jinja2/Makefile
new file mode 100644
index 000000000000..7d7cab7e6e20
--- /dev/null
+++ b/devel/py-Jinja2/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: jinja
+# Date created: 2007-02-14
+# Whom: Nicola Vitale <nivit@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Jinja
+PORTVERSION= 0.9
+CATEGORIES= devel python
+MASTER_SITES= http://cheeseshop.python.org/packages/source/J/${PORTNAME}/ \
+ http://nivi.interfree.it/distfiles/${PORTNAME}/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= A fast, and easy to use stand-alone template engine
+
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= yes
+
+PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
+ PYJINJA_EGG=${PYJINJA_EGG}
+
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+PYJINJA_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
+
+.include <bsd.port.mk>
diff --git a/devel/py-Jinja2/distinfo b/devel/py-Jinja2/distinfo
new file mode 100644
index 000000000000..aa352f39b186
--- /dev/null
+++ b/devel/py-Jinja2/distinfo
@@ -0,0 +1,3 @@
+MD5 (Jinja-0.9.tar.gz) = a5aaebb6285e044b6b9d56facae1c1f2
+SHA256 (Jinja-0.9.tar.gz) = 652db44e332b65fdd797665a52e9f7527e437d2b943bbc010bee88cd38d76bbe
+SIZE (Jinja-0.9.tar.gz) = 55816
diff --git a/devel/py-Jinja2/pkg-descr b/devel/py-Jinja2/pkg-descr
new file mode 100644
index 000000000000..667732afc809
--- /dev/null
+++ b/devel/py-Jinja2/pkg-descr
@@ -0,0 +1,9 @@
+Jinja is a small but very fast and easy to use stand-alone template engine
+written in pure python.
+Since version 0.6 it uses a new parser that increases parsing performance
+a lot by caching the nodelists on the harddisk if wanted.
+It includes multiple template inheritance and other features like simple
+value escaping.
+
+Author: Armin Ronacher
+WWW: http://wsgiarea.pocoo.org/jinja/
diff --git a/devel/py-Jinja2/pkg-plist b/devel/py-Jinja2/pkg-plist
new file mode 100644
index 000000000000..b27007f80d6d
--- /dev/null
+++ b/devel/py-Jinja2/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%%
+%%PYTHON_SITELIBDIR%%/%%PYJINJA_EGG%%
+@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%%