Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2014 11:53:20 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344089 - head/games/maelstrom
Message-ID:  <201402131153.s1DBrKK5040051@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Thu Feb 13 11:53:20 2014
New Revision: 344089
URL: http://svnweb.freebsd.org/changeset/ports/344089
QAT: https://qat.redports.org/buildarchive/r344089/

Log:
  - Bump PORTREVISION
  - Simplify DOCS installation handling
  - Simplify REINPLACE, don't silence warnings
  - Use proper permission settings in pkg-plist
  
  PR:		ports/186711
  Submitted by:	amdmi3@

Modified:
  head/games/maelstrom/Makefile
  head/games/maelstrom/pkg-plist

Modified: head/games/maelstrom/Makefile
==============================================================================
--- head/games/maelstrom/Makefile	Thu Feb 13 11:48:14 2014	(r344088)
+++ head/games/maelstrom/Makefile	Thu Feb 13 11:53:20 2014	(r344089)
@@ -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/
 

Modified: head/games/maelstrom/pkg-plist
==============================================================================
--- head/games/maelstrom/pkg-plist	Thu Feb 13 11:48:14 2014	(r344088)
+++ head/games/maelstrom/pkg-plist	Thu Feb 13 11:53:20 2014	(r344089)
@@ -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



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