Add staging support

This commit is contained in:
Pawel Pekala 2014-04-22 09:28:31 +00:00
parent af3d602e70
commit 4d4b1c616d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351782

View file

@ -16,8 +16,9 @@ INSTALL_TARGET= install-all
DATADIR= ${PREFIX}/share/tuxpaint
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
-e 's|DATA_PREFIX)|DESTDIR)$$(&|' \
${WRKSRC}/${MAKEFILE}
.include <bsd.port.mk>