From 44cdb89ce40e1e6474bfad6e0a949b7b03c81f25 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 9 Dec 2014 14:01:35 +0000 Subject: - Fix DOCSDIR usage --- games/3dc/Makefile | 5 +++-- games/3dc/pkg-plist | 10 +++++----- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'games') 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 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 -- cgit