svn commit: r369054 - head/games/tome4

Jason E. Hale jhale at FreeBSD.org
Tue Sep 23 12:54:32 UTC 2014


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 at 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 at 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
- at dirrm %%DATADIR%%/bootstrap
- at dirrm %%DATADIR%%/game/addons
- at dirrm %%DATADIR%%/game/engines
- at dirrm %%DATADIR%%/game/loader
- at dirrm %%DATADIR%%/game/modules/example/class/interface
- at dirrm %%DATADIR%%/game/modules/example/class
- at dirrm %%DATADIR%%/game/modules/example/data/birth
- at dirrm %%DATADIR%%/game/modules/example/data/general/grids
- at dirrm %%DATADIR%%/game/modules/example/data/general/npcs
- at dirrm %%DATADIR%%/game/modules/example/data/general
- at dirrm %%DATADIR%%/game/modules/example/data/gfx/particles
- at dirrm %%DATADIR%%/game/modules/example/data/gfx
- at dirrm %%DATADIR%%/game/modules/example/data/rooms
- at dirrm %%DATADIR%%/game/modules/example/data/zones/dungeon
- at dirrm %%DATADIR%%/game/modules/example/data/zones
- at dirrm %%DATADIR%%/game/modules/example/data
- at dirrm %%DATADIR%%/game/modules/example/dialogs
- at dirrm %%DATADIR%%/game/modules/example
- at dirrm %%DATADIR%%/game/modules/example_realtime/class/interface
- at dirrm %%DATADIR%%/game/modules/example_realtime/class
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/birth
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/general/grids
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/general/npcs
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/general
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/gfx/particles
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/gfx
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/rooms
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/zones/dungeon
- at dirrm %%DATADIR%%/game/modules/example_realtime/data/zones
- at dirrm %%DATADIR%%/game/modules/example_realtime/data
- at dirrm %%DATADIR%%/game/modules/example_realtime/dialogs
- at dirrm %%DATADIR%%/game/modules/example_realtime
- at dirrm %%DATADIR%%/game/modules
- at dirrm %%DATADIR%%/game/profile-thread
- at dirrm %%DATADIR%%/game/thirdparty/cef3/locales
- at dirrm %%DATADIR%%/game/thirdparty/cef3
- at dirrm %%DATADIR%%/game/thirdparty/jit
- at dirrm %%DATADIR%%/game/thirdparty/licenses
- at dirrm %%DATADIR%%/game/thirdparty/lpeg
- at dirrm %%DATADIR%%/game/thirdparty/lxp
- at dirrm %%DATADIR%%/game/thirdparty/moonscript/compile
- at dirrm %%DATADIR%%/game/thirdparty/moonscript
- at dirrm %%DATADIR%%/game/thirdparty/remdebug
- at dirrm %%DATADIR%%/game/thirdparty/socket
- at dirrm %%DATADIR%%/game/thirdparty
- at dirrm %%DATADIR%%/game
- at dirrm %%DATADIR%%


More information about the svn-ports-head mailing list