Bug 171195 - [PATCH] games/secretmaryochronicles-music: Makefile changed, OptionsNG
Summary: [PATCH] games/secretmaryochronicles-music: Makefile changed, OptionsNG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-31 02:30 UTC by nemysis
Modified: 2012-08-31 02:50 UTC (History)
1 user (show)

See Also:


Attachments
secretmaryochronicles-music-5.0_1.patch (2.14 KB, patch)
2012-08-31 02:30 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-08-31 02:30:07 UTC
Makefile changed:

Look in ${LOCALBASE}/bin/smc

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

OptionsNG

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

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-31 02:30:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->adamw

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-31 02:36:21 UTC
Author: adamw
Date: Fri Aug 31 01:36:13 2012
New Revision: 303396
URL: http://svn.freebsd.org/changeset/ports/303396

Log:
  Acknowledge PORTDOCS through options.
  Re-sort the plist.
  
  PR:	ports/171195
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/games/secretmaryochronicles-music/Makefile
  head/games/secretmaryochronicles-music/pkg-plist

Modified: head/games/secretmaryochronicles-music/Makefile
==============================================================================
--- head/games/secretmaryochronicles-music/Makefile	Fri Aug 31 01:32:00 2012	(r303395)
+++ head/games/secretmaryochronicles-music/Makefile	Fri Aug 31 01:36:13 2012	(r303396)
@@ -22,6 +22,10 @@ WRKSRC=		${WRKDIR}
 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,10 +36,8 @@ do-install:
 	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}
 	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}

Modified: head/games/secretmaryochronicles-music/pkg-plist
==============================================================================
--- head/games/secretmaryochronicles-music/pkg-plist	Fri Aug 31 01:32:00 2012	(r303395)
+++ head/games/secretmaryochronicles-music/pkg-plist	Fri Aug 31 01:36:13 2012	(r303396)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Adam Weinberger freebsd_committer freebsd_triage 2012-08-31 02:37:06 UTC
State Changed
From-To: open->closed

Thanks for catching and submitting these. 

I've committed most of your suggestions here. A few were non-functional 
changes that made things less legible, so I opted not to commit those. 
As the changes were essentially NOOP, I didn't bump PORTREVISION either.