From owner-svn-ports-head@freebsd.org Wed Dec 30 22:05:05 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1C0AA55D21; Wed, 30 Dec 2015 22:05:05 +0000 (UTC) (envelope-from johans@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86E63152C; Wed, 30 Dec 2015 22:05:05 +0000 (UTC) (envelope-from johans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBUM54KZ034707; Wed, 30 Dec 2015 22:05:04 GMT (envelope-from johans@FreeBSD.org) Received: (from johans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBUM54X4034705; Wed, 30 Dec 2015 22:05:04 GMT (envelope-from johans@FreeBSD.org) Message-Id: <201512302205.tBUM54X4034705@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: johans set sender to johans@FreeBSD.org using -f From: Johan van Selst Date: Wed, 30 Dec 2015 22:05:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404879 - head/games/ltris X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2015 22:05:05 -0000 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 - -.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 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