diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-09 22:01:35 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-09 22:01:35 +0800 |
commit | 44cdb89ce40e1e6474bfad6e0a949b7b03c81f25 (patch) | |
tree | 9d49b2c005a716b5cd064b8b61b9c235a63f7466 /games | |
parent | 787aac3d951f1ac100bffd4dde8a61073d57f6ac (diff) | |
download | freebsd-ports-gnome-44cdb89ce40e1e6474bfad6e0a949b7b03c81f25.tar.gz freebsd-ports-gnome-44cdb89ce40e1e6474bfad6e0a949b7b03c81f25.tar.zst freebsd-ports-gnome-44cdb89ce40e1e6474bfad6e0a949b7b03c81f25.zip |
- Fix DOCSDIR usage
Diffstat (limited to 'games')
-rw-r--r-- | games/3dc/Makefile | 5 | ||||
-rw-r--r-- | games/3dc/pkg-plist | 10 |
2 files changed, 8 insertions, 7 deletions
diff --git a/games/3dc/Makefile b/games/3dc/Makefile index 467bb19a0fed..c7dc3d2991cc 100644 --- a/games/3dc/Makefile +++ b/games/3dc/Makefile @@ -20,6 +20,7 @@ USES= perl5 USE_PERL5= build USE_XORG= x11 xaw xext xmu xpm xt WRKSRC= ${WRKDIR}/3Dc/src +DOCSDIR= ${PREFIX}/share/doc/3Dc OPTIONS_DEFINE= DOCS @@ -31,9 +32,9 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/3Dc + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in 3Dc-rules.html ACKNOWLEDGEMENTS GPL README TODO - ${INSTALL_DATA} ${WRKSRC}/../${file} ${STAGEDIR}${PREFIX}/share/doc/3Dc + ${INSTALL_DATA} ${WRKSRC}/../${file} ${STAGEDIR}${DOCSDIR} .endfor .include <bsd.port.mk> diff --git a/games/3dc/pkg-plist b/games/3dc/pkg-plist index 77762c67d802..35567cf701d9 100644 --- a/games/3dc/pkg-plist +++ b/games/3dc/pkg-plist @@ -1,6 +1,6 @@ bin/3Dc -%%PORTDOCS%%share/doc/3Dc/3Dc-rules.html -%%PORTDOCS%%share/doc/3Dc/ACKNOWLEDGEMENTS -%%PORTDOCS%%share/doc/3Dc/GPL -%%PORTDOCS%%share/doc/3Dc/README -%%PORTDOCS%%share/doc/3Dc/TODO +%%PORTDOCS%%%%DOCSDIR%%/3Dc-rules.html +%%PORTDOCS%%%%DOCSDIR%%/ACKNOWLEDGEMENTS +%%PORTDOCS%%%%DOCSDIR%%/GPL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO |