Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2014 14:00:43 +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: r370583 - head/games/tux-aqfh
Message-ID:  <201410101400.s9AE0huX091332@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
-@dirrm %%DATADIR%%/wavs
-@dirrm %%DATADIR%%/slamcode
-@dirrm %%DATADIR%%/penguin
-@dirrm %%DATADIR%%/mods
-@dirrm %%DATADIR%%/models
-@dirrm %%DATADIR%%/images
-@dirrm %%DATADIR%%/fonts
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%



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