svn commit: r370583 - head/games/tux-aqfh

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Oct 10 14:00:43 UTC 2014


Author: amdmi3
Date: Fri Oct 10 14:00:42 2014
New Revision: 370583
URL: https://svnweb.freebsd.org/changeset/ports/370583
QAT: https://qat.redports.org/buildarchive/r370583/

Log:
  - Add LICENSE_FILE
  - Simplify docs installation
  - Drop @dirrm* from plist

Modified:
  head/games/tux-aqfh/Makefile
  head/games/tux-aqfh/pkg-plist

Modified: head/games/tux-aqfh/Makefile
==============================================================================
--- head/games/tux-aqfh/Makefile	Fri Oct 10 14:00:37 2014	(r370582)
+++ head/games/tux-aqfh/Makefile	Fri Oct 10 14:00:42 2014	(r370583)
@@ -15,6 +15,7 @@ MAINTAINER=	games at FreeBSD.org
 COMMENT=	Tuxedo The Penguin: A Quest for Herring
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
 
@@ -28,13 +29,6 @@ LDFLAGS+=	-L${LOCALBASE}/lib -lusbhid ${
 
 PORTDOCS=	*
 
-DOCSRCDIR1=	${WRKSRC}
-DOC_FILES1=	AUTHORS CHANGES README
-
-DOCSRCDIR2=	${WRKSRC}/doc
-DOCSDIR2=	${DOCSDIR}/doc
-DOC_FILES2=	*.png *.html
-
 OPTIONS_DEFINE=	DOCS
 
 DESKTOP_ENTRIES="Tuxedo The Penguin: A Quest for Herring" "" ${PORTNAME} \
@@ -55,9 +49,8 @@ post-patch:
 post-install:
 	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
-
-	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
-	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} \
+		"AUTHORS CHANGES README doc/*.png doc/*.html" \
+		${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/tux-aqfh/pkg-plist
==============================================================================
--- head/games/tux-aqfh/pkg-plist	Fri Oct 10 14:00:37 2014	(r370582)
+++ head/games/tux-aqfh/pkg-plist	Fri Oct 10 14:00:42 2014	(r370583)
@@ -296,12 +296,3 @@ share/pixmaps/tux_aqfh.png
 %%DATADIR%%/wavs/whistle.wav
 %%DATADIR%%/wavs/who.wav
 %%DATADIR%%/wavs/who_else.wav
- at dirrm %%DATADIR%%/wavs
- at dirrm %%DATADIR%%/slamcode
- at dirrm %%DATADIR%%/penguin
- at dirrm %%DATADIR%%/mods
- at dirrm %%DATADIR%%/models
- at dirrm %%DATADIR%%/images
- at dirrm %%DATADIR%%/fonts
- at dirrm %%DATADIR%%/data
- at dirrm %%DATADIR%%


More information about the svn-ports-all mailing list