aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-rdflib
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-08-01 22:31:39 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-08-01 22:31:39 +0000
commit68e8fb2545cd2732cbf8fa4d062bb3195182bd50 (patch)
tree42f2954478873ff84b73e8ef83755b0172aa71c5 /textproc/py-rdflib
parentdc8f27e3b8a72dbf76d2e03f3d0c80a023421779 (diff)
downloadports-68e8fb2545cd2732cbf8fa4d062bb3195182bd50.tar.gz
ports-68e8fb2545cd2732cbf8fa4d062bb3195182bd50.zip
- Force our idea of OPSYS to get predictable egg name
Notes
Notes: svn path=/head/; revision=196922
Diffstat (limited to 'textproc/py-rdflib')
-rw-r--r--textproc/py-rdflib/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index ac5367fac424..29dff7784772 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -19,4 +19,10 @@ USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYEASYINSTALL_ARCHDEP= yes
+pre-build:
+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-platlib -s lib.${PYEASYINSTALL_OSARCH:S/^-//}
+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-temp -s temp.${PYEASYINSTALL_OSARCH:S/^-//}-${PYTHON_VER}
+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o plat-name -s ${PYEASYINSTALL_OSARCH:S/^-//}
+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o plat-name -s ${PYEASYINSTALL_OSARCH:S/^-//}
+
.include <bsd.port.mk>