Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2014 14:00:10 +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: r370636 - head/games/vamos
Message-ID:  <201410111400.s9BE0AFI082477@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct 11 14:00:09 2014
New Revision: 370636
URL: https://svnweb.freebsd.org/changeset/ports/370636
QAT: https://qat.redports.org/buildarchive/r370636/

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

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

Modified: head/games/vamos/Makefile
==============================================================================
--- head/games/vamos/Makefile	Sat Oct 11 13:08:20 2014	(r370635)
+++ head/games/vamos/Makefile	Sat Oct 11 14:00:09 2014	(r370636)
@@ -13,7 +13,8 @@ DISTFILES=	${PORTNAME}-${DISTVERSION}${E
 MAINTAINER=	games@FreeBSD.org
 COMMENT=	Automotive simulation framework
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
 		libpng15.so:${PORTSDIR}/graphics/png
@@ -33,13 +34,6 @@ LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_L
 INFO=		vamos
 PORTDOCS=	*
 
-DOCSRCDIR1=	${WRKSRC}
-DOC_FILES1=	AUTHORS ChangeLog README TODO
-
-DOCSRCDIR2=	${WRKSRC}/doc
-DOCSDIR2=	${DOCSDIR}/doc
-DOC_FILES2=	matrixfaq.htm
-
 OPTIONS_DEFINE=	DOCS
 
 INSTALLS_ICONS=	yes
@@ -71,10 +65,7 @@ post-install:
 .endfor
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
-
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
-	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog README TODO doc/matrixfaq.htm" \
+		${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/vamos/pkg-plist
==============================================================================
--- head/games/vamos/pkg-plist	Sat Oct 11 13:08:20 2014	(r370635)
+++ head/games/vamos/pkg-plist	Sat Oct 11 14:00:09 2014	(r370636)
@@ -220,18 +220,3 @@ share/pixmaps/vamos.png
 %%DATADIR%%/worlds/default-world.xml
 %%DATADIR%%/worlds/earth.xml
 %%DATADIR%%/worlds/moon.xml
-@dirrm %%DATADIR%%/worlds
-@dirrm %%DATADIR%%/tracks
-@dirrm %%DATADIR%%/textures
-@dirrm %%DATADIR%%/sounds
-@dirrm %%DATADIR%%/controls
-@dirrm %%DATADIR%%/cars/GT
-@dirrm %%DATADIR%%/cars/F1
-@dirrm %%DATADIR%%/cars
-@dirrm %%DATADIR%%
-@dirrm include/vamos/world
-@dirrm include/vamos/track
-@dirrm include/vamos/media
-@dirrm include/vamos/geometry
-@dirrm include/vamos/body
-@dirrm include/vamos



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