diff options
author | nivit <nivit@FreeBSD.org> | 2007-02-18 01:08:34 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-02-18 01:08:34 +0800 |
commit | d356b5a8dc22db77b0259d8e0f7aa13843520dd2 (patch) | |
tree | d78adb28f6ba80174575de04fd078c90db419e2f /www | |
parent | ac6d83c1fc169ccc98986b9a57dc477537607417 (diff) | |
download | freebsd-ports-gnome-d356b5a8dc22db77b0259d8e0f7aa13843520dd2.tar.gz freebsd-ports-gnome-d356b5a8dc22db77b0259d8e0f7aa13843520dd2.tar.zst freebsd-ports-gnome-d356b5a8dc22db77b0259d8e0f7aa13843520dd2.zip |
Django template for TurboGears
Author: Fred Lin
WWW: http://sourceforge.net/projects/tgwidgets/
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-turbodjango/Makefile | 47 | ||||
-rw-r--r-- | www/py-turbodjango/distinfo | 3 | ||||
-rw-r--r-- | www/py-turbodjango/pkg-descr | 4 | ||||
-rw-r--r-- | www/py-turbodjango/pkg-plist | 14 |
5 files changed, 69 insertions, 0 deletions
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 <nivit@FreeBSD.org> +# +# $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 <bsd.port.mk> 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%% |