diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-TurboJinja/Makefile | 40 | ||||
-rw-r--r-- | devel/py-TurboJinja/distinfo | 3 | ||||
-rw-r--r-- | devel/py-TurboJinja/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-TurboJinja/pkg-plist | 22 |
5 files changed, 70 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index d248486e5d4c..3e81252a1323 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1732,6 +1732,7 @@ SUBDIR += pwlib SUBDIR += py-Breve SUBDIR += py-Jinja + SUBDIR += py-TurboJinja SUBDIR += py-anonfunc SUBDIR += py-argparse SUBDIR += py-asn1 diff --git a/devel/py-TurboJinja/Makefile b/devel/py-TurboJinja/Makefile new file mode 100644 index 000000000000..ffa50e4cc633 --- /dev/null +++ b/devel/py-TurboJinja/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: py-TurboJinja +# Date created: 2007-02-14 +# Whom: Nicola Vitale <nivit@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= TurboJinja +PORTVERSION= 0.9 +CATEGORIES= devel python +MASTER_SITES= SF +MASTER_SITE_SUBDIR= tgwidgets +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PYTURBOJINJA_EGG} +EXTRACT_SUFX= + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Jinja (Django & Smarty-like) template for TurboGears + +BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ + ${PYTHON_PKGNAMEPREFIX}TurboGears>=1.0.1:${PORTSDIR}/www/py-turbogears +RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Jinja>=0.9:${PORTSDIR}/devel/py-Jinja + +USE_PYTHON= 2.4 + +PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ + PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \ + PYTURBOJINJA_EGG=${PYTURBOJINJA_EGG} + +EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} +PYTURBOJINJA_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg + +do-build: + @${DO_NADA} + +do-install: + @${EASY_INSTALL_CMD} -N ${DISTDIR}/${PYTURBOJINJA_EGG} + +.include <bsd.port.mk> diff --git a/devel/py-TurboJinja/distinfo b/devel/py-TurboJinja/distinfo new file mode 100644 index 000000000000..02863c1062c4 --- /dev/null +++ b/devel/py-TurboJinja/distinfo @@ -0,0 +1,3 @@ +MD5 (TurboJinja-0.9-py2.4.egg) = f8bbae1ef5f619333f57965de9d6c354 +SHA256 (TurboJinja-0.9-py2.4.egg) = c2c19ddc1674b1038a81583c51b60c71dff8667317faeab4912dd4823c46ed85 +SIZE (TurboJinja-0.9-py2.4.egg) = 5453 diff --git a/devel/py-TurboJinja/pkg-descr b/devel/py-TurboJinja/pkg-descr new file mode 100644 index 000000000000..568b3d1973f4 --- /dev/null +++ b/devel/py-TurboJinja/pkg-descr @@ -0,0 +1,4 @@ +Jinja (Django & Smarty-like) template for TurboGears + +Author: Fred Lin +WWW: http://sourceforge.net/projects/tgwidgets/ diff --git a/devel/py-TurboJinja/pkg-plist b/devel/py-TurboJinja/pkg-plist new file mode 100644 index 000000000000..bd86042f2124 --- /dev/null +++ b/devel/py-TurboJinja/pkg-plist @@ -0,0 +1,22 @@ +@comment $FreeBSD$ +@unexec %%EASY_INSTALL_CMD%% -q -N -m -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%% +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/entry_points.txt.bak +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/paster_plugins.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/sqlobject.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/turbojinja/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/turbojinja/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/turbojinja/release.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/turbojinja/release.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/turbojinja/widgets.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/turbojinja/widgets.pyc +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/turbojinja +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOJINJA_EGG%% +@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%% |