diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2012-06-15 09:58:40 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2012-06-15 09:58:40 +0000 |
commit | d24c92667e258e1689dc433829cc6c04522f1605 (patch) | |
tree | 88e24e949c6fc18543b4bb8d29a69d5a3574f130 /games/jfsw | |
parent | 4bab0482f00b8582cd04478ac5aa5bbae55a9b7c (diff) | |
download | ports-d24c92667e258e1689dc433829cc6c04522f1605.tar.gz ports-d24c92667e258e1689dc433829cc6c04522f1605.zip |
Notes
Diffstat (limited to 'games/jfsw')
-rw-r--r-- | games/jfsw/Makefile | 10 | ||||
-rw-r--r-- | games/jfsw/pkg-plist | 3 |
2 files changed, 7 insertions, 6 deletions
diff --git a/games/jfsw/Makefile b/games/jfsw/Makefile index b40c491e1ee3..4cdb4d4a6d8b 100644 --- a/games/jfsw/Makefile +++ b/games/jfsw/Makefile @@ -29,6 +29,10 @@ PATCH_WRKSRC= ${WRKDIR} SUB_FILES= pkg-message +PORTDOCS= readme.txt releasenotes.html + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -Ee \ 's|^(EROOT=)../build/|\1../jfbuild_src_${PORTVERSION}/|; \ @@ -47,10 +51,10 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sw ${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/build ${PREFIX}/bin/${PORTNAME}-build ${MKDIR} ${DATADIR} -.if !defined(NOPORTDOCS) -.for f in readme.txt releasenotes.html +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor @${CAT} ${PKGMESSAGE} .endif diff --git a/games/jfsw/pkg-plist b/games/jfsw/pkg-plist index d07292cb6763..ed0ff8732d0f 100644 --- a/games/jfsw/pkg-plist +++ b/games/jfsw/pkg-plist @@ -1,6 +1,3 @@ bin/jfsw bin/jfsw-build @dirrmtry %%DATADIR%% -%%PORTDOCS%%%%DOCSDIR%%/readme.txt -%%PORTDOCS%%%%DOCSDIR%%/releasenotes.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% |