aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-Jinja
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2008-01-10 01:09:12 +0800
committernivit <nivit@FreeBSD.org>2008-01-10 01:09:12 +0800
commit3cbbefb5d2225c67f289a7842520dc22d66f16c3 (patch)
treee48a2780f16ae85b445600a4c89c88b430c96208 /devel/py-Jinja
parenta4d02288131050f6e6776e1265830eef252d1943 (diff)
downloadfreebsd-ports-gnome-3cbbefb5d2225c67f289a7842520dc22d66f16c3.tar.gz
freebsd-ports-gnome-3cbbefb5d2225c67f289a7842520dc22d66f16c3.tar.zst
freebsd-ports-gnome-3cbbefb5d2225c67f289a7842520dc22d66f16c3.zip
- Convert easy_install support to bsd.python.mk
- Replace pkg-plist with PLIST_FILES
Diffstat (limited to 'devel/py-Jinja')
-rw-r--r--devel/py-Jinja/Makefile15
-rw-r--r--devel/py-Jinja/pkg-plist4
2 files changed, 3 insertions, 16 deletions
diff --git a/devel/py-Jinja/Makefile b/devel/py-Jinja/Makefile
index 8f08f40e3505..dfe465f1228f 100644
--- a/devel/py-Jinja/Makefile
+++ b/devel/py-Jinja/Makefile
@@ -8,25 +8,16 @@
PORTNAME= Jinja
PORTVERSION= 0.9
CATEGORIES= devel python
-MASTER_SITES= http://cheeseshop.python.org/packages/source/J/${PORTNAME}/ \
+MASTER_SITES= CHEESESHOP \
http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= A fast, and easy to use stand-alone template engine
-BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
USE_PYTHON= 2.4+
-USE_PYDISTUTILS= yes
-
-PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
- PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \
- PYJINJA_EGG=${PYJINJA_EGG}
+USE_PYDISTUTILS= easy_install
-PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
-EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
-PYJINJA_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>
diff --git a/devel/py-Jinja/pkg-plist b/devel/py-Jinja/pkg-plist
deleted file mode 100644
index b27007f80d6d..000000000000
--- a/devel/py-Jinja/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $FreeBSD$
-@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%%
-%%PYTHON_SITELIBDIR%%/%%PYJINJA_EGG%%
-@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PORTNAME%%==%%PORTVERSION%%