Support staging

This commit is contained in:
Emanuel Haupt 2014-02-25 11:21:16 +00:00
parent 4ace7cc811
commit 3dc9f96fc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345958

View File

@ -18,12 +18,11 @@ ALL_TARGET= gag
PORTDOCS= README
PLIST_FILES= sbin/gag
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/gag ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
@${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>