Support staging

This commit is contained in:
Emanuel Haupt 2013-10-22 20:48:13 +00:00
parent fad2f612fc
commit 33396bfe3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331320

View File

@ -14,7 +14,6 @@ LICENSE= GPLv2
CONFLICTS= gmp-ecm-[0-9]*
NO_STAGE= yes
PLIST_FILES= bin/ecm bin/unecm
PORTDOCS= format.txt
@ -24,12 +23,12 @@ OPTIONS_DEFINE= DOCS
do-install:
.for f in ${PORTNAME} un${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>