Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2015 16:04:36 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404579 - head/games/pinball
Message-ID:  <201512271604.tBRG4aGs004744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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