diff options
author | nivit <nivit@FreeBSD.org> | 2007-01-07 18:19:37 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-01-07 18:19:37 +0800 |
commit | 86f537fd189d0486308c246435b5a7e5f6053f62 (patch) | |
tree | 905e5c08d1c502416d293318c7a8be781c2f447f /devel/py-turbokid | |
parent | fbb64eb91e059cf7194b7772a7b79ca1f3280ca5 (diff) | |
download | freebsd-ports-gnome-86f537fd189d0486308c246435b5a7e5f6053f62.tar.gz freebsd-ports-gnome-86f537fd189d0486308c246435b5a7e5f6053f62.tar.zst freebsd-ports-gnome-86f537fd189d0486308c246435b5a7e5f6053f62.zip |
- Added new port
Approved by: alexbl (mentor)
Diffstat (limited to 'devel/py-turbokid')
-rw-r--r-- | devel/py-turbokid/Makefile | 45 | ||||
-rw-r--r-- | devel/py-turbokid/distinfo | 3 | ||||
-rw-r--r-- | devel/py-turbokid/files/pkg-deinstall.in | 17 | ||||
-rw-r--r-- | devel/py-turbokid/files/pkg-install.in | 16 | ||||
-rw-r--r-- | devel/py-turbokid/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-turbokid/pkg-plist | 14 |
6 files changed, 99 insertions, 0 deletions
diff --git a/devel/py-turbokid/Makefile b/devel/py-turbokid/Makefile new file mode 100644 index 000000000000..4f8d716f4ce4 --- /dev/null +++ b/devel/py-turbokid/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: py-turbokid +# Date created: 2006-12-02 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= TurboKid +PORTVERSION= 0.9.8 +CATEGORIES= devel python +MASTER_SITES= http://files.turbogears.org/eggs/ \ + http://nivi.interfree.it/distfiles/${PORTNAME}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PYTURBOKID_EGG} +EXTRACT_SUFX= + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Python template plugin that supports Kid templates + +BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS+= kid:${PORTSDIR}/devel/py-kid + +USE_PYTHON= 2.4 + +NO_BUILD= yes + +PLIST_SUB+= PYTURBOKID_EGG=${PYTURBOKID_EGG} + +SUB_FILES+= pkg-deinstall pkg-install +SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ + EGG="${PORTNAME}==${PORTVERSION}" + +EASY_INSTALL= ${LOCALBASE}/bin/easy_install +EASY_INSTALL_ARGS= -N -b ${WRKSRC} -d ${PYTHON_SITELIBDIR} -s ${PREFIX}/bin + +PYTURBOKID_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VERSION:S/^python//}.egg + +do-extract: + ${MKDIR} ${WRKSRC} + +do-install: + ${EASY_INSTALL} ${EASY_INSTALL_ARGS} ${DISTDIR}/${DISTFILES} + +.include <bsd.port.mk> diff --git a/devel/py-turbokid/distinfo b/devel/py-turbokid/distinfo new file mode 100644 index 000000000000..519e305a2c99 --- /dev/null +++ b/devel/py-turbokid/distinfo @@ -0,0 +1,3 @@ +MD5 (TurboKid-0.9.8-py2.4.egg) = 35997fd4208f40279461b6a823a4e03f +SHA256 (TurboKid-0.9.8-py2.4.egg) = ed36329beed081601a4a7ea05f560628669b7ec98c854a1f7abb31880718d5c2 +SIZE (TurboKid-0.9.8-py2.4.egg) = 6567 diff --git a/devel/py-turbokid/files/pkg-deinstall.in b/devel/py-turbokid/files/pkg-deinstall.in new file mode 100644 index 000000000000..c2a4012d7b2e --- /dev/null +++ b/devel/py-turbokid/files/pkg-deinstall.in @@ -0,0 +1,17 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + DEINSTALL) + easy_install -q -N -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + POST-DEINSTALL) + exit 0 + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/devel/py-turbokid/files/pkg-install.in b/devel/py-turbokid/files/pkg-install.in new file mode 100644 index 000000000000..9cddbe28f167 --- /dev/null +++ b/devel/py-turbokid/files/pkg-install.in @@ -0,0 +1,16 @@ +#!/bin/sh +# $FreeBSD$ +PKGNAME=$1 +# +case $2 in + POST-INSTALL) + easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%% + ;; + PRE-INSTALL) + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 diff --git a/devel/py-turbokid/pkg-descr b/devel/py-turbokid/pkg-descr new file mode 100644 index 000000000000..0b5e0f722a98 --- /dev/null +++ b/devel/py-turbokid/pkg-descr @@ -0,0 +1,4 @@ +Python template plugin for TurboGears that supports Kid templates + +Author: Kevin Dangoor +WWW: http://www.turbogears.org/docs/plugins/template.html diff --git a/devel/py-turbokid/pkg-plist b/devel/py-turbokid/pkg-plist new file mode 100644 index 000000000000..c45b2669b56b --- /dev/null +++ b/devel/py-turbokid/pkg-plist @@ -0,0 +1,14 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid/kidsupport.py +%%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid/kidsupport.pyc +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/turbokid +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYTURBOKID_EGG%% |