From d356b5a8dc22db77b0259d8e0f7aa13843520dd2 Mon Sep 17 00:00:00 2001 From: nivit Date: Sat, 17 Feb 2007 17:08:34 +0000 Subject: Django template for TurboGears Author: Fred Lin WWW: http://sourceforge.net/projects/tgwidgets/ --- www/Makefile | 1 + www/py-turbodjango/Makefile | 47 ++++++++++++++++++++++++++++++++++++++++++++ www/py-turbodjango/distinfo | 3 +++ www/py-turbodjango/pkg-descr | 4 ++++ www/py-turbodjango/pkg-plist | 14 +++++++++++++ 5 files changed, 69 insertions(+) create mode 100644 www/py-turbodjango/Makefile create mode 100644 www/py-turbodjango/distinfo create mode 100644 www/py-turbodjango/pkg-descr create mode 100644 www/py-turbodjango/pkg-plist (limited to 'www') diff --git a/www/Makefile b/www/Makefile index 5214dcf7d092..efc940a1b61c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -964,6 +964,7 @@ SUBDIR += py-scriptaculous SUBDIR += py-slimmer SUBDIR += py-tgwebservices + SUBDIR += py-turbodjango SUBDIR += py-turbogears SUBDIR += py-turbosetup SUBDIR += py-twistedWeb diff --git a/www/py-turbodjango/Makefile b/www/py-turbodjango/Makefile new file mode 100644 index 000000000000..672f47d53b59 --- /dev/null +++ b/www/py-turbodjango/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: py-turbodjango +# Date created: 2007-02-14 +# Whom: Nicola Vitale +# +# $FreeBSD$ +# + +PORTNAME= turbodjango +PORTVERSION= 0.95.w2 +CATEGORIES= www python +MASTER_SITES= SF +MASTER_SITE_SUBDIR= tgwidgets +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PYTURBODJANGO_EGG} +EXTRACT_SUFX= + +MAINTAINER= python@FreeBSD.org +COMMENT= Django template for TurboGears + +RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ + ${PYTHON_PKGNAMEPREFIX}django>=0.95_2:${PORTSDIR}/www/py-django \ + ${PYTHON_PKGNAMEPREFIX}TurboGears>=1.0.1:${PORTSDIR}/www/py-turbogears + +NO_BUILD= yes + +# Use the same version of www/py-turbogears +USE_PYTHON= 2.4 + +PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ + PORTNAME=${PORTNAME} PORTVERSION=${PYTURBODJANGO_VER} \ + PYTURBODJANGO_EGG=${PYTURBODJANGO_EGG} + +EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} +EASY_INSTALL_ARGS= -N + +PYTURBODJANGO= TurboDjango +PYTURBODJANGO_VER= ${PORTVERSION:C/([0-9])\.([a-z])/\1\2/} +PYTURBODJANGO_EGG= ${PYTURBODJANGO}-${PYTURBODJANGO_VER}-py${PYTHON_VER}.egg + +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR} + +do-install: + @${EASY_INSTALL_CMD} ${EASY_INSTALL_ARGS} ${DISTDIR}/${PYTURBODJANGO_EGG} + +.include diff --git a/www/py-turbodjango/distinfo b/www/py-turbodjango/distinfo new file mode 100644 index 000000000000..6e0641d37bbe --- /dev/null +++ b/www/py-turbodjango/distinfo @@ -0,0 +1,3 @@ +MD5 (TurboDjango-0.95w2-py2.4.egg) = a672fa89c3aa83bb7afdc5f5318b7051 +SHA256 (TurboDjango-0.95w2-py2.4.egg) = e24dc48782c2bd4b980447a43d091babe68aa1dc3aaab7b80704f4a1c2e4c1ae +SIZE (TurboDjango-0.95w2-py2.4.egg) = 4105 diff --git a/www/py-turbodjango/pkg-descr b/www/py-turbodjango/pkg-descr new file mode 100644 index 000000000000..cf44d14e182b --- /dev/null +++ b/www/py-turbodjango/pkg-descr @@ -0,0 +1,4 @@ +Django template for TurboGears + +Author: Fred Lin +WWW: http://sourceforge.net/projects/tgwidgets/ diff --git a/www/py-turbodjango/pkg-plist b/www/py-turbodjango/pkg-plist new file mode 100644 index 000000000000..077eb5b3b40f --- /dev/null +++ b/www/py-turbodjango/pkg-plist @@ -0,0 +1,14 @@ +@comment $FreeBSD$ +@unexec %%EASY_INSTALL_CMD%% -q -N -m -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%% +%%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/turbodjango/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/turbodjango/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/turbodjango/release.py +%%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/turbodjango/release.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/turbodjango/widgets.py +%%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/turbodjango/widgets.pyc +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/turbodjango +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBODJANGO_EGG%% +@exec %%EASY_INSTALL_CMD%% -N -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%% -- cgit