aboutsummaryrefslogtreecommitdiff
path: root/net-im/py-pyxmpp/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-08-22 20:36:14 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-08-22 20:36:14 +0000
commit6c8f0501a601378fead721050bb64b058e3467b9 (patch)
tree7cd695aafbb7c85e10cda33f3a063590fe77d66c /net-im/py-pyxmpp/Makefile
parentabdb1ddb8d86476878678056d232425fa76ef985 (diff)
downloadports-6c8f0501a601378fead721050bb64b058e3467b9.tar.gz
ports-6c8f0501a601378fead721050bb64b058e3467b9.zip
Notes
Diffstat (limited to 'net-im/py-pyxmpp/Makefile')
-rw-r--r--net-im/py-pyxmpp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/py-pyxmpp/Makefile b/net-im/py-pyxmpp/Makefile
index 4d1e3e8d750c..815fd18130f2 100644
--- a/net-im/py-pyxmpp/Makefile
+++ b/net-im/py-pyxmpp/Makefile
@@ -27,8 +27,8 @@ post-patch:
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
${XARGS} ${REINPLACE_CMD} -e "s!/usr/bin/python!${PYTHON_CMD}!"
@${REINPLACE_CMD} -e '/include_dirs =/s|]|,"${LOCALBASE}/include"]|' \
- -e '/library_dirs =/s|]|"${LOCALBASE}/lib"]|' ${WRKSRC}/setup.py
-
+ -e '/library_dirs =/s|]|"${LOCALBASE}/lib"]|' \
+ -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/setup.py
post-install:
@${ECHO} "pyxmpp" > ${PYTHON_SITELIBDIR}/pyxmpp.pth