Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 14:00:56 +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: r370782 - head/games/tuxkart
Message-ID:  <201410131400.s9DE0uY9061068@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Oct 13 14:00:56 2014
New Revision: 370782
URL: https://svnweb.freebsd.org/changeset/ports/370782
QAT: https://qat.redports.org/buildarchive/r370782/

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

Modified:
  head/games/tuxkart/Makefile
  head/games/tuxkart/pkg-plist

Modified: head/games/tuxkart/Makefile
==============================================================================
--- head/games/tuxkart/Makefile	Mon Oct 13 14:00:47 2014	(r370781)
+++ head/games/tuxkart/Makefile	Mon Oct 13 14:00:56 2014	(r370782)
@@ -15,6 +15,7 @@ MAINTAINER=	games@FreeBSD.org
 COMMENT=	Racing game starring Tux
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
 
@@ -27,13 +28,6 @@ LIBS+=		-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="TuxKart" "" ${PORTNAME} \
@@ -52,9 +46,7 @@ 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/tuxkart/pkg-plist
==============================================================================
--- head/games/tuxkart/pkg-plist	Mon Oct 13 14:00:47 2014	(r370781)
+++ head/games/tuxkart/pkg-plist	Mon Oct 13 14:00:56 2014	(r370782)
@@ -175,10 +175,3 @@ share/pixmaps/tuxkart.png
 %%DATADIR%%/wavs/shoomf.wav
 %%DATADIR%%/wavs/ugh.wav
 %%DATADIR%%/wavs/wee.wav
-@dirrm %%DATADIR%%/wavs
-@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?201410131400.s9DE0uY9061068>