1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-13 14:33:02 +00:00
parent 6da591198b
commit 90bc0b1940
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348072

View File

@ -14,11 +14,11 @@ COMMENT= Tiny CLI blogging tool
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -Ee 's|^function ([[:graph:]]+)|\1 ()|' ${WRKSRC}/bin/${PORTNAME}
@${REINPLACE_CMD} -Ee 's|^function ([[:graph:]]+)|\1 ()|' \
${WRKSRC}/bin/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>