- Fix install with custom PREFIX.

Reported by:	QATty
This commit is contained in:
Marcelo Araujo 2009-06-21 16:53:26 +00:00
parent bc09d4bcb0
commit d7809b6ad4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236418

View file

@ -33,4 +33,9 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PERL5= yes
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
@${FIND} ${WRKSRC} -name "*".bak | ${XARGS} ${RM} -f
.include <bsd.port.mk>