lang/bas2tap: unconditionally install documentation into STAGEDIR

This commit is contained in:
Rene Ladan 2014-02-16 16:16:45 +00:00
parent 69b97881c8
commit 7a5f7b702c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344601

View file

@ -20,18 +20,14 @@ PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-build:
${CC} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME} -lm ${CFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>