From owner-svn-ports-all@freebsd.org Sun Dec 27 16:04:37 2015 Return-Path: Delivered-To: svn-ports-all@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 5CEDAA53C29; Sun, 27 Dec 2015 16:04:37 +0000 (UTC) (envelope-from thierry@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 09DFC1FDE; Sun, 27 Dec 2015 16:04:36 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBRG4aOj004746; Sun, 27 Dec 2015 16:04:36 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBRG4aGs004744; Sun, 27 Dec 2015 16:04:36 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201512271604.tBRG4aGs004744@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sun, 27 Dec 2015 16:04:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404579 - head/games/pinball X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2015 16:04:37 -0000 Author: thierry Date: Sun Dec 27 16:04:35 2015 New Revision: 404579 URL: https://svnweb.freebsd.org/changeset/ports/404579 Log: Modernize plist and fix highscore handling. PR: ports/205629 Submitted by: amdmi3 Modified: head/games/pinball/Makefile head/games/pinball/pkg-plist Modified: head/games/pinball/Makefile ============================================================================== --- head/games/pinball/Makefile Sun Dec 27 15:49:01 2015 (r404578) +++ head/games/pinball/Makefile Sun Dec 27 16:04:35 2015 (r404579) @@ -3,7 +3,7 @@ PORTNAME= pinball PORTVERSION= 0.3.1 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -38,10 +38,17 @@ DOCS= README # For gmake>=3.82 pre-configure: - ${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ + @${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ ${REINPLACE_CMD} -e 's,^dnl,# dnl,' post-install: + @${MV} ${STAGEDIR}/var/games/pinball/professor/highscores \ + ${STAGEDIR}/var/games/pinball/professor/highscores.sample + @${MV} ${STAGEDIR}/var/games/pinball/tux/highscores \ + ${STAGEDIR}/var/games/pinball/tux/highscores.sample + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so* + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} Modified: head/games/pinball/pkg-plist ============================================================================== --- head/games/pinball/pkg-plist Sun Dec 27 15:49:01 2015 (r404578) +++ head/games/pinball/pkg-plist Sun Dec 27 16:04:35 2015 (r404579) @@ -1,4 +1,4 @@ -bin/pinball +@(,games,2555) bin/pinball bin/pinball-config include/pinball/AlignVisitor.h include/pinball/AllegroVisitor.h @@ -122,16 +122,8 @@ lib/pinball/libemilia_pin.a %%DATADIR%%/tux/tiles.png %%DATADIR%%/tux/tiles.png.pcx %%DATADIR%%/tux/up.wav -@dirrm %%DATADIR%%/tux -@dirrm %%DATADIR%%/professor -@dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm lib/pinball -@dirrm include/pinball -@group games -@unexec rmdir "/var/games/pinball/tux" >/dev/null 2>&1 || : -@unexec rmdir "/var/games/pinball/professor" >/dev/null 2>&1 || : -@unexec rmdir "/var/games/pinball" >/dev/null 2>&1 || : -/var/games/pinball/professor/highscores -/var/games/pinball/tux/highscores -@group +@sample(,games,664) /var/games/pinball/professor/highscores.sample +@sample(,games,664) /var/games/pinball/tux/highscores.sample +@dir(,games,775) /var/games/pinball/tux +@dir(,games,775) /var/games/pinball/professor +@dir /var/games/pinball