- optionsNG for DOCS

PR:     170741
Submitted by:   maintainer, nemysis@gmx.ch
This commit is contained in:
Jason Helfman 2012-08-21 09:21:36 +00:00
parent 58474305b2
commit 08d8225065
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302851

View File

@ -20,21 +20,21 @@ USE_GMAKE= yes
ALL_TARGET= ${PORTNAME}
USE_SDL= sdl image
PLIST_FILES= bin/sets
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
.include <bsd.port.options.mk>
do-install:
# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
post-install:
# Documentation
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>