aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/maelstrom/Makefile24
-rw-r--r--games/maelstrom/pkg-plist8
2 files changed, 12 insertions, 20 deletions
diff --git a/games/maelstrom/Makefile b/games/maelstrom/Makefile
index c3da6d9bd723..7d48d1b73b3c 100644
--- a/games/maelstrom/Makefile
+++ b/games/maelstrom/Makefile
@@ -3,7 +3,7 @@
PORTNAME= maelstrom
PORTVERSION= 3.0.6
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= http://slouken.libsdl.org/projects/Maelstrom/src/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
@@ -29,33 +29,17 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
+DOCS_INSTALL_TARGET=install install_gamedocs
+
DESKTOP_ENTRIES="Maelstrom" "" ${PORTNAME} \
"Maelstrom" "Game;ArcadeGame;" ""
-.include <bsd.port.options.mk>
-
post-patch:
- @${REINPLACE_CMD} \
- -e 's|prefix = @prefix@|prefix = $${DESTDIR}@prefix@| ; \
+ @${REINPLACE_CMD} -e 's|@prefix@|$${DESTDIR}@prefix@|; \
s|$$(DESTDIR)$$(bindir)|$$(bindir)|' \
${WRKSRC}/Makefile.in
- @(cd ${WRKSRC} ; ${REINPLACE_CMD} \
- -e 's|@CFLAGS@|@CFLAGS@ -w| ; \
- s|$$(CXXFLAGS)|$$(CXXFLAGS) -w|' \
- Makefile.in maclib/Makefile.in \
- netlogic/Makefile.in screenlib/Makefile.in)
-
-.if ${PORT_OPTIONS:MDOCS}
-INSTALL_TARGET= install install_gamedocs
-.endif
-
post-install:
- ${CHOWN} root:games ${STAGEDIR}${PREFIX}/bin/Maelstrom
- ${CHMOD} 2755 ${STAGEDIR}${PREFIX}/bin/Maelstrom
- ${CHMOD} 664 ${STAGEDIR}${PREFIX}/share/Maelstrom/Maelstrom-Scores
- ${CHOWN} root:games \
- ${STAGEDIR}${PREFIX}/share/Maelstrom/Maelstrom-Scores
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
diff --git a/games/maelstrom/pkg-plist b/games/maelstrom/pkg-plist
index b6c3d160d797..772eb9f51578 100644
--- a/games/maelstrom/pkg-plist
+++ b/games/maelstrom/pkg-plist
@@ -1,5 +1,9 @@
+@group games
+@mode 2755
bin/Maelstrom
bin/Maelstrom-netd
+@mode
+@group
%%DATADIR%%/Images/Maelstrom_Icon#100.cicn
%%DATADIR%%/Images/Maelstrom_Icon#101.cicn
%%DATADIR%%/Images/Maelstrom_Icon#102.cicn
@@ -28,7 +32,11 @@ bin/Maelstrom-netd
%%DATADIR%%/Images/Maelstrom_Titles#999.bmp
%%DATADIR%%/Images/Makefile
%%DATADIR%%/Images/Makefile.in
+@group games
+@mode 644
%%DATADIR%%/Maelstrom-Scores
+@mode
+@group
%%DATADIR%%/Maelstrom_Fonts
%%DATADIR%%/Maelstrom_Sounds
%%DATADIR%%/Maelstrom_Sprites