Support staging

This commit is contained in:
Emanuel Haupt 2014-02-25 15:20:30 +00:00
parent f64c657216
commit 0793687085
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346022

View File

@ -18,19 +18,11 @@ PLIST_FILES= bin/sortu
ALL_TARGET= sortu
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sortu ${PREFIX}/bin
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/sortu ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>