ports/171195: [PATCH] games/secretmaryochronicles-music: Makefile changed, OptionsNG

nemysis nemysis at gmx.ch
Fri Aug 31 01:30:07 UTC 2012


>Number:         171195
>Category:       ports
>Synopsis:       [PATCH] games/secretmaryochronicles-music: Makefile changed, OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 31 01:30:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Makefile changed:

Look in ${LOCALBASE}/bin/smc

RUN_DEPENDS=<->${LOCALBASE}/bin/smc:${PORTSDIR}/games/secretmaryochronicles

OptionsNG

Port maintainer (adamw at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- secretmaryochronicles-music-5.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/secretmaryochronicles-music/Makefile ./Makefile
--- /usr/ports/games/secretmaryochronicles-music/Makefile	2011-04-04 17:24:26.000000000 +0200
+++ ./Makefile	2012-08-31 02:47:49.000000000 +0200
@@ -7,14 +7,15 @@
 
 PORTNAME=	secretmaryochronicles-music
 PORTVERSION=	5.0
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/smclone/Addon%20-%20Music/${PORTVERSION}
-DISTNAME=	SMC_Music_${PORTVERSION}_high
+DISTNAME=	SMC_Music_${DISTVERSION}_high
 
 MAINTAINER=	adamw at FreeBSD.org
 COMMENT=	Background music for Secret Maryo Chronicles
 
-RUN_DEPENDS=	smc:${PORTSDIR}/games/secretmaryochronicles
+RUN_DEPENDS=	${LOCALBASE}/bin/smc:${PORTSDIR}/games/secretmaryochronicles
 
 USE_ZIP=	yes
 
@@ -22,6 +23,10 @@
 DATADIR=	${PREFIX}/share/smc
 NO_BUILD=	yes
 
+PORTDOCS=	Addon_-_Music_Readme.txt
+
+.include <bsd.port.options.mk>
+
 post-patch:
 # The pointyhat build system doesn't like spaces in $PORTDOCS,
 # so this makes it happier
@@ -32,14 +37,12 @@
 	cd ${WRKSRC}/data && \
 		${FIND} music | ${CPIO} -pdmvu ${DATADIR}
 
-.if !defined(NOPORTDOCS)
-PORTDOCS=	Addon_-_Music_Readme.txt
-
 post-install:
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
+.  for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
-.endfor
+.  endfor
 .endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/secretmaryochronicles-music/pkg-plist ./pkg-plist
--- /usr/ports/games/secretmaryochronicles-music/pkg-plist	2011-04-04 17:24:26.000000000 +0200
+++ ./pkg-plist	2012-08-31 03:10:41.000000000 +0200
@@ -1,9 +1,9 @@
+%%DATADIR%%/music/game/bossbattle_1.ogg
+%%DATADIR%%/music/game/bossbattle_1.txt
 %%DATADIR%%/music/game/bossbattle_3.ogg
 %%DATADIR%%/music/game/bossbattle_3.txt
 %%DATADIR%%/music/game/courseclear.ogg
 %%DATADIR%%/music/game/courseclear.txt
-%%DATADIR%%/music/game/bossbattle_1.ogg
-%%DATADIR%%/music/game/bossbattle_1.txt
 %%DATADIR%%/music/game/lost_1.ogg
 %%DATADIR%%/music/game/lost_1.txt
 %%DATADIR%%/music/game/menu.ogg
@@ -48,3 +48,5 @@
 @dirrm %%DATADIR%%/music/overworld
 @dirrm %%DATADIR%%/music/land
 @dirrm %%DATADIR%%/music/game
+ at dirrm %%DATADIR%%/music
+ at dirrmtry %%DATADIR%%
--- secretmaryochronicles-music-5.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list