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-02-21 09:25:14 +00:00
parent fa4463a4a5
commit 9cf40e5f5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345341

View File

@ -17,18 +17,17 @@ EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_BUILD= yes
WRKSRC= ${WRKDIR}
PLIST_FILES= bin/postfinger
PLIST_FILES= bin/postfinger
PORTDOCS= README
PORTDOCS= README
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>