Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2014 14:01:36 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374385 - head/games/3dc
Message-ID:  <201412091401.sB9E1alr081304@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec  9 14:01:35 2014
New Revision: 374385
URL: https://svnweb.freebsd.org/changeset/ports/374385
QAT: https://qat.redports.org/buildarchive/r374385/

Log:
  - Fix DOCSDIR usage

Modified:
  head/games/3dc/Makefile
  head/games/3dc/pkg-plist

Modified: head/games/3dc/Makefile
==============================================================================
--- head/games/3dc/Makefile	Tue Dec  9 14:01:29 2014	(r374384)
+++ head/games/3dc/Makefile	Tue Dec  9 14:01:35 2014	(r374385)
@@ -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>

Modified: head/games/3dc/pkg-plist
==============================================================================
--- head/games/3dc/pkg-plist	Tue Dec  9 14:01:29 2014	(r374384)
+++ head/games/3dc/pkg-plist	Tue Dec  9 14:01:35 2014	(r374385)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412091401.sB9E1alr081304>