aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2007-02-18 01:08:34 +0800
committernivit <nivit@FreeBSD.org>2007-02-18 01:08:34 +0800
commitd356b5a8dc22db77b0259d8e0f7aa13843520dd2 (patch)
treed78adb28f6ba80174575de04fd078c90db419e2f /www
parentac6d83c1fc169ccc98986b9a57dc477537607417 (diff)
downloadfreebsd-ports-graphics-d356b5a8dc22db77b0259d8e0f7aa13843520dd2.tar.gz
freebsd-ports-graphics-d356b5a8dc22db77b0259d8e0f7aa13843520dd2.tar.zst
freebsd-ports-graphics-d356b5a8dc22db77b0259d8e0f7aa13843520dd2.zip
Django template for TurboGears
Author: Fred Lin WWW: http://sourceforge.net/projects/tgwidgets/
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/py-turbodjango/Makefile47
-rw-r--r--www/py-turbodjango/distinfo3
-rw-r--r--www/py-turbodjango/pkg-descr4
-rw-r--r--www/py-turbodjango/pkg-plist14
5 files changed, 69 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 5214dcf7d09..efc940a1b61 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 00000000000..672f47d53b5
--- /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 00000000000..6e0641d37bb
--- /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 00000000000..cf44d14e182
--- /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 00000000000..077eb5b3b40
--- /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%%