Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2014 20:17:54 +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: r372411 - head/games/megamario
Message-ID:  <201411102017.sAAKHsUw059101@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Mon Nov 10 20:17:54 2014
New Revision: 372411
URL: https://svnweb.freebsd.org/changeset/ports/372411
QAT: https://qat.redports.org/buildarchive/r372411/

Log:
  - Bump PORTREVISION for pkg-plist change
  - Change DOCS, add help and screens, remove from DATADIR

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

Modified: head/games/megamario/Makefile
==============================================================================
--- head/games/megamario/Makefile	Mon Nov 10 19:33:36 2014	(r372410)
+++ head/games/megamario/Makefile	Mon Nov 10 20:17:54 2014	(r372411)
@@ -3,7 +3,7 @@
 
 PORTNAME=	megamario
 PORTVERSION=	1.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	SF/mmario/Mega%20Mario%20Full%20Game/Mega%20Mario%20v${PORTVERSION}%20%28Full%20Game%2C%20high%20Quality%20music%29/
 DISTNAME=	MegaMario_v${PORTVERSION}_full
@@ -26,7 +26,19 @@ ALL_TARGET=	${PORTNAME}
 pre-extract:
 		@${MKDIR} ${WRKDIR}/${DISTNAME}
 
-PORTDOCS=	CONTROLS.txt fixes_v1.7.txt readme.txt
+PORTDOCS=	*
+
+DOCSRCDIR1=	${WRKSRC}
+DOC_FILES1=	CONTROLS.txt fixes_v1.7.txt readme.txt
+
+DOCSRCDIR2=	${WRKSRC}/help
+DOCSDIR2=	${DOCSDIR}/help
+DOC_FILES2=	*
+
+DOCSRCDIR3=	${WRKSRC}/screens
+DOCSDIR3=	${DOCSDIR}/screens
+DOC_FILES3=	*
+
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
@@ -41,14 +53,18 @@ post-patch:
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.for d in help mp3music screens
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
-.endfor
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} mp3music ${STAGEDIR}${DATADIR})
+
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
 
+
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR3}
+	${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
 
 .include <bsd.port.mk>

Modified: head/games/megamario/pkg-plist
==============================================================================
--- head/games/megamario/pkg-plist	Mon Nov 10 19:33:36 2014	(r372410)
+++ head/games/megamario/pkg-plist	Mon Nov 10 20:17:54 2014	(r372411)
@@ -236,9 +236,6 @@ share/applications/megamario.desktop
 %%DATADIR%%/gfx/tiles/pipes/up/3.png
 %%DATADIR%%/gfx/tiles/pipes/up/4.png
 %%DATADIR%%/gfx/tiles/smallcastle.png
-%%DATADIR%%/help/editor.doc
-%%DATADIR%%/help/editor_FAQ.png
-%%DATADIR%%/help/editor_Roehren.png
 %%DATADIR%%/levels/1/1
 %%DATADIR%%/levels/1/main
 %%DATADIR%%/levels/1/text
@@ -321,12 +318,6 @@ share/applications/megamario.desktop
 %%DATADIR%%/mp3music/orig.mp3
 %%DATADIR%%/mp3music/star2.mp3
 %%DATADIR%%/save.sav
-%%DATADIR%%/screens/1.png
-%%DATADIR%%/screens/2.png
-%%DATADIR%%/screens/3.png
-%%DATADIR%%/screens/4.png
-%%DATADIR%%/screens/5.png
-%%DATADIR%%/screens/6.gif
 %%DATADIR%%/sfx/1-up.wav
 %%DATADIR%%/sfx/bowserfall.wav
 %%DATADIR%%/sfx/cannon.wav



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