aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-rdflib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-rdflib/Makefile')
-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>