Fix with custom LOCALBASE/PREFIX

Submitted by:	maintainer
Reported by:	QATty
This commit is contained in:
Ion-Mihai Tetcu 2009-07-04 10:37:00 +00:00
parent a2f3c206c5
commit 29837fb06a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237080

View file

@ -23,4 +23,8 @@ LIB_DEPENDS= hdf5.6:${PORTSDIR}/science/hdf5-18 \
USE_PYTHON= 2.5+
USE_PYDISTUTILS= yes
post-patch:
@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>