Date: Wed, 30 Dec 2015 22:05:04 +0000 (UTC) From: Johan van Selst <johans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404879 - head/games/ltris Message-ID: <201512302205.tBUM54X4034705@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: johans Date: Wed Dec 30 22:05:04 2015 New Revision: 404879 URL: https://svnweb.freebsd.org/changeset/ports/404879 Log: - Move scorefile to /var/games - Modernise port PR: 205627 Submitted by: amdmi3 Modified: head/games/ltris/Makefile head/games/ltris/pkg-plist Modified: head/games/ltris/Makefile ============================================================================== --- head/games/ltris/Makefile Wed Dec 30 20:53:26 2015 (r404878) +++ head/games/ltris/Makefile Wed Dec 30 22:05:04 2015 (r404879) @@ -3,7 +3,7 @@ PORTNAME= ltris PORTVERSION= 1.0.19 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= SF/lgames/${PORTNAME} @@ -13,22 +13,14 @@ COMMENT= Tetris clone but a good one wit USE_SDL= mixer sdl GNU_CONFIGURE= yes -USES= gmake -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS= --localstatedir=${DATADIR} +USES= gmake localbase +CONFIGURE_ARGS= --localstatedir=/var/games OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's/\/icons/\/pixmaps/g' ${WRKSRC}/Makefile.in @@ -37,4 +29,7 @@ post-patch: @${REINPLACE_CMD} -e 's/^inline //' \ ${WRKSRC}/src/sdl.h ${WRKSRC}/src/tools.h +post-install: + ${MV$} ${STAGEDIR}/var/games/ltris.hscr ${STAGEDIR}/var/games/ltris.hscr.sample + .include <bsd.port.mk> Modified: head/games/ltris/pkg-plist ============================================================================== --- head/games/ltris/pkg-plist Wed Dec 30 20:53:26 2015 (r404878) +++ head/games/ltris/pkg-plist Wed Dec 30 22:05:04 2015 (r404879) @@ -24,7 +24,6 @@ share/applications/ltris.desktop %%DATADIR%%/gfx/logo.bmp %%DATADIR%%/gfx/menuback.bmp %%DATADIR%%/gfx/quest.bmp -@(,games,0664) %%DATADIR%%/ltris.hscr %%DATADIR%%/sounds/click.wav %%DATADIR%%/sounds/excellent.wav %%DATADIR%%/sounds/explosion.wav @@ -33,6 +32,4 @@ share/applications/ltris.desktop %%DATADIR%%/sounds/nextlevel.wav %%DATADIR%%/sounds/stop.wav share/pixmaps/ltris48.gif -@dirrm %%DATADIR%%/sounds -@dirrm %%DATADIR%%/gfx -@dirrm %%DATADIR%% +@sample(,games,664) /var/games/ltris.hscr.sample
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512302205.tBUM54X4034705>