Support staging

This commit is contained in:
Emanuel Haupt 2014-02-16 11:43:07 +00:00
parent 1f6893241a
commit 5842379229
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344539

View file

@ -18,12 +18,11 @@ WRKSRC= ${WRKDIR}/sim4.${PORTVERSION:S/./-/g}
ALL_TARGET= sim4
PLIST_FILES= bin/sim4
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \
s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/sim4 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sim4 ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>