svn commit: r404579 - head/games/pinball
Thierry Thomas
thierry at FreeBSD.org
Sun Dec 27 16:04:37 UTC 2015
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
- at dirrm %%DATADIR%%/tux
- at dirrm %%DATADIR%%/professor
- at dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrm lib/pinball
- at dirrm include/pinball
- at group games
- at unexec rmdir "/var/games/pinball/tux" >/dev/null 2>&1 || :
- at unexec rmdir "/var/games/pinball/professor" >/dev/null 2>&1 || :
- at unexec rmdir "/var/games/pinball" >/dev/null 2>&1 || :
-/var/games/pinball/professor/highscores
-/var/games/pinball/tux/highscores
- at group
+ at sample(,games,664) /var/games/pinball/professor/highscores.sample
+ at sample(,games,664) /var/games/pinball/tux/highscores.sample
+ at dir(,games,775) /var/games/pinball/tux
+ at dir(,games,775) /var/games/pinball/professor
+ at dir /var/games/pinball
More information about the svn-ports-all
mailing list