aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-rdflib
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 /textproc/py-rdflib
parentb4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff)
downloadports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.tar.gz
ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.zip
Notes
Diffstat (limited to 'textproc/py-rdflib')
-rw-r--r--textproc/py-rdflib/Makefile23
-rw-r--r--textproc/py-rdflib/pkg-plist4
2 files changed, 4 insertions, 23 deletions
diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index a97187ad8a2e..ac5367fac424 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -15,25 +15,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= A Python library for RDF manipulation
-BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
-
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-
-PYRDFLIB_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-${OSINFOS}.egg
-OSINFOS= ${OPSYS:L}-${OSRELEASE}-${ARCH}
-
-PLIST_SUB+= PYRDFLIB_EGG=${PYRDFLIB_EGG}
-
-pre-build:
- @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-platlib -s lib.${OSINFOS}
- @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-temp -s temp.${OSINFOS}-${PYTHON_VER}
- @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o plat-name -s ${OSINFOS}
- @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o plat-name -s ${OSINFOS}
-
-.include <bsd.port.pre.mk>
-
-OSRELEASE!= uname -r
+USE_PYDISTUTILS= easy_install
+PYEASYINSTALL_ARCHDEP= yes
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/py-rdflib/pkg-plist b/textproc/py-rdflib/pkg-plist
index 34cc7741c318..a0092b0b1d1a 100644
--- a/textproc/py-rdflib/pkg-plist
+++ b/textproc/py-rdflib/pkg-plist
@@ -1,4 +1,2 @@
-@unexec easy_install -q -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYRDFLIB_EGG%%
bin/rdfpipe
-%%PYTHON_SITELIBDIR%%/%%PYRDFLIB_EGG%%
-@exec easy_install -N %D/%%PYTHON_SITELIBDIR%%/%%PYRDFLIB_EGG%%
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%