- Add stage support

This commit is contained in:
Danilo Egea Gondolfo 2013-11-11 00:50:27 +00:00
parent 4dbaaa73df
commit 052fa47b15
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333462

View file

@ -19,14 +19,9 @@ MAKE_ARGS= FLAGS="${CFLAGS}"
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR})
.endif
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>