aboutsummaryrefslogtreecommitdiff
path: root/devel/py-decorator
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
commit4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch)
treedb1f21912f461000d609ddcd5d130946bcfe9e09 /devel/py-decorator
parentb4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff)
downloadports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.tar.gz
ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.zip
Notes
Diffstat (limited to 'devel/py-decorator')
-rw-r--r--devel/py-decorator/Makefile12
-rw-r--r--devel/py-decorator/pkg-plist13
2 files changed, 2 insertions, 23 deletions
diff --git a/devel/py-decorator/Makefile b/devel/py-decorator/Makefile
index 931ab53b87ee..12b6acba12f0 100644
--- a/devel/py-decorator/Makefile
+++ b/devel/py-decorator/Makefile
@@ -15,22 +15,12 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dsh@vlink.ru
COMMENT= Better living through Python with decorators
-BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-
USE_PYTHON= 2.4+
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS= easy_install
USE_ZIP= yes
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
-PYDECORATOR_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
-
-PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
- PYDECORATOR_EGG=${PYDECORATOR_EGG}
-
-EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
-
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= documentation.*
diff --git a/devel/py-decorator/pkg-plist b/devel/py-decorator/pkg-plist
index dd6eb3918b9d..ddf68a1c022f 100644
--- a/devel/py-decorator/pkg-plist
+++ b/devel/py-decorator/pkg-plist
@@ -1,12 +1 @@
-@unexec %%EASY_INSTALL_CMD%% -N -m -q %D/%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%
-%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/EGG-INFO/PKG-INFO
-%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/EGG-INFO/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/EGG-INFO/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/EGG-INFO/not-zip-safe
-%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/EGG-INFO/top_level.txt
-%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/decorator.py
-%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/decorator.pyc
-%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/decorator.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%/EGG-INFO
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%
-@exec %%EASY_INSTALL_CMD%% -N -q %D/%%PYTHON_SITELIBDIR%%/%%PYDECORATOR_EGG%%
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%