Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 12:54:31 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369054 - head/games/tome4
Message-ID:  <201409231254.s8NCsVIB070661@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Tue Sep 23 12:54:30 2014
New Revision: 369054
URL: http://svnweb.freebsd.org/changeset/ports/369054
QAT: https://qat.redports.org/buildarchive/r369054/

Log:
  - Simplify pkg-plist
  
  While here:
  - Set special permissions in plist, not Makefile
  - Drop trailing slashes from install commands
  - Move PLIST_SUB down to fix a portlint(1) warning
  
  PR:		193853
  Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)

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

Modified: head/games/tome4/Makefile
==============================================================================
--- head/games/tome4/Makefile	Tue Sep 23 12:46:38 2014	(r369053)
+++ head/games/tome4/Makefile	Tue Sep 23 12:54:30 2014	(r369054)
@@ -10,7 +10,6 @@ MASTER_SITES=	http://te4.org/dl/t-engine
 DISTFILES=	t-engine4-src-${PORTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}.png:icons
 EXTRACT_ONLY=	t-engine4-src-${PORTVERSION}${EXTRACT_SUFX}
-PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
 MAINTAINER=	lifanov@mail.lifanov.com
 COMMENT=	Epic tactical turn-based roguelike adventure
@@ -23,6 +22,7 @@ LIB_DEPENDS=	libvorbisfile.so:${PORTSDIR
 DESKTOP_ENTRIES="ToME 4" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;RolePlaying;" ""
 
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
 WRKSRC=		${WRKDIR}/t-engine4-src-${PORTVERSION}
 MAKE_ARGS+=	config=release verbose=yes ARCH=""
 USES=		gmake openal:al tar:bzip2
@@ -40,12 +40,10 @@ pre-build:
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-
 	${INSTALL_PROGRAM} ${WRKSRC}/t-engine ${STAGEDIR}${DATADIR}
-	${INSTALL} -m 0755 ${WRKDIR}/tome4 ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKDIR}/tome4 ${STAGEDIR}${PREFIX}/bin
 	(cd ${WRKSRC}; ${COPYTREE_SHARE} "bootstrap game" ${STAGEDIR}${DATADIR})
-
 	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
-		${STAGEDIR}${PREFIX}/share/pixmaps/
+		${STAGEDIR}${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>

Modified: head/games/tome4/pkg-plist
==============================================================================
--- head/games/tome4/pkg-plist	Tue Sep 23 12:46:38 2014	(r369053)
+++ head/games/tome4/pkg-plist	Tue Sep 23 12:54:30 2014	(r369054)
@@ -1,4 +1,4 @@
-bin/tome4
+@(,,0755) bin/tome4
 share/pixmaps/tome4.png
 %%DATADIR%%/bootstrap/boot.lua
 %%DATADIR%%/game/addons/tome-addon-dev.teaa
@@ -177,50 +177,3 @@ share/pixmaps/tome4.png
 %%DATADIR%%/game/thirdparty/socket/url.lua
 %%DATADIR%%/game/thirdparty/tween.lua
 %%DATADIR%%/t-engine
-@dirrm %%DATADIR%%/bootstrap
-@dirrm %%DATADIR%%/game/addons
-@dirrm %%DATADIR%%/game/engines
-@dirrm %%DATADIR%%/game/loader
-@dirrm %%DATADIR%%/game/modules/example/class/interface
-@dirrm %%DATADIR%%/game/modules/example/class
-@dirrm %%DATADIR%%/game/modules/example/data/birth
-@dirrm %%DATADIR%%/game/modules/example/data/general/grids
-@dirrm %%DATADIR%%/game/modules/example/data/general/npcs
-@dirrm %%DATADIR%%/game/modules/example/data/general
-@dirrm %%DATADIR%%/game/modules/example/data/gfx/particles
-@dirrm %%DATADIR%%/game/modules/example/data/gfx
-@dirrm %%DATADIR%%/game/modules/example/data/rooms
-@dirrm %%DATADIR%%/game/modules/example/data/zones/dungeon
-@dirrm %%DATADIR%%/game/modules/example/data/zones
-@dirrm %%DATADIR%%/game/modules/example/data
-@dirrm %%DATADIR%%/game/modules/example/dialogs
-@dirrm %%DATADIR%%/game/modules/example
-@dirrm %%DATADIR%%/game/modules/example_realtime/class/interface
-@dirrm %%DATADIR%%/game/modules/example_realtime/class
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/birth
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/general/grids
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/general/npcs
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/general
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/gfx/particles
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/gfx
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/rooms
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/zones/dungeon
-@dirrm %%DATADIR%%/game/modules/example_realtime/data/zones
-@dirrm %%DATADIR%%/game/modules/example_realtime/data
-@dirrm %%DATADIR%%/game/modules/example_realtime/dialogs
-@dirrm %%DATADIR%%/game/modules/example_realtime
-@dirrm %%DATADIR%%/game/modules
-@dirrm %%DATADIR%%/game/profile-thread
-@dirrm %%DATADIR%%/game/thirdparty/cef3/locales
-@dirrm %%DATADIR%%/game/thirdparty/cef3
-@dirrm %%DATADIR%%/game/thirdparty/jit
-@dirrm %%DATADIR%%/game/thirdparty/licenses
-@dirrm %%DATADIR%%/game/thirdparty/lpeg
-@dirrm %%DATADIR%%/game/thirdparty/lxp
-@dirrm %%DATADIR%%/game/thirdparty/moonscript/compile
-@dirrm %%DATADIR%%/game/thirdparty/moonscript
-@dirrm %%DATADIR%%/game/thirdparty/remdebug
-@dirrm %%DATADIR%%/game/thirdparty/socket
-@dirrm %%DATADIR%%/game/thirdparty
-@dirrm %%DATADIR%%/game
-@dirrm %%DATADIR%%



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