Bug 170317 - update for audio/freeswitch-music
Summary: update for audio/freeswitch-music
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: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-01 22:50 UTC by RIchard Neese
Modified: 2012-08-17 02:10 UTC (History)
0 users

See Also:


Attachments
freeswitch-music.diff (1.13 KB, patch)
2012-08-01 22:55 UTC, RIchard Neese
no flags Details | Diff
freeswitch-music.diff (1.13 KB, patch)
2012-08-01 23:01 UTC, RIchard Neese
no flags Details | Diff
fs-music.diff (4.55 KB, patch)
2012-08-16 23:47 UTC, RIchard Neese
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description RIchard Neese 2012-08-01 22:50:01 UTC
moved audio/freeswitch-music to options ng
Comment 1 RIchard Neese 2012-08-01 22:55:18 UTC
On 8/1/2012 5:50 PM, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/170317'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=170317
>
>> Category:       ports
>> Responsible:    freebsd-ports-bugs
>> Synopsis:       update for audio/freeswitch-music
>> Arrival-Date:   Wed Aug 01 21:50:01 UTC 2012
Comment 2 Jason Helfman freebsd_committer freebsd_triage 2012-08-01 23:01:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 3 RIchard Neese 2012-08-01 23:01:16 UTC
On 8/1/2012 5:50 PM, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/170317'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=170317
>
>> Category:       ports
>> Responsible:    freebsd-ports-bugs
>> Synopsis:       update for audio/freeswitch-music
>> Arrival-Date:   Wed Aug 01 21:50:01 UTC 2012
Comment 4 RIchard Neese 2012-08-16 23:47:28 UTC
On 8/1/2012 5:50 PM, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/170317'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=170317
>
>> Category:       ports
>> Responsible:    freebsd-ports-bugs
>> Synopsis:       update for audio/freeswitch-music
>> Arrival-Date:   Wed Aug 01 21:50:01 UTC 2012
update diff
Comment 5 Jason Helfman freebsd_committer freebsd_triage 2012-08-17 02:09:54 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-08-17 02:09:55 UTC
Author: jgh
Date: Fri Aug 17 01:09:40 2012
New Revision: 302662
URL: http://svn.freebsd.org/changeset/ports/302662

Log:
  - adopt optionsNG
  
  PR:	170317
  Submitted by:	maintainer, r.neese@gmail.com

Modified:
  head/audio/freeswitch-music/Makefile   (contents, props changed)
  head/audio/freeswitch-music/pkg-plist   (contents, props changed)

Modified: head/audio/freeswitch-music/Makefile
==============================================================================
--- head/audio/freeswitch-music/Makefile	Thu Aug 16 22:10:58 2012	(r302661)
+++ head/audio/freeswitch-music/Makefile	Fri Aug 17 01:09:40 2012	(r302662)
@@ -24,35 +24,40 @@ SHAREOWN=	${USERS}
 SHAREGRP=	${SHAREOWN}
 LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
 
-OPTIONS=	8K           "Install 8000Hz Music" on \
-		16K          "Install 16000Hz Music" on \
-		32K          "Install 32000Hz Music" on \
-		48K          "Install 48000Hz Music" on
+OPTIONS_DEFINE=	8K 16K 32K 48K
+
+8K_DESC=	8000Hz Music
+16K_DESC=	16000Hz Music
+32K_DESC=	32000Hz Music
+48K_DESC=	48000Hz Music
+
+OPTIONS_DEFAULT=	8K 16K
+NO_OPTIONS_SORT=	yes
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_8K)
+.if ${PORT_OPTIONS:M8K}
 DISTFILES+=	freeswitch-sounds-music-8000-${DISTVERSION}${EXTRACT_SUFX}
 .endif
 
-.if defined(WITH_16K)
+.if ${PORT_OPTIONS:M16K}
 DISTFILES+=	freeswitch-sounds-music-16000-${DISTVERSION}${EXTRACT_SUFX}
 .endif
 
-.if defined(WITH_32K)
+.if ${PORT_OPTIONS:M32K}
 DISTFILES+=	freeswitch-sounds-music-32000-${DISTVERSION}${EXTRACT_SUFX}
 .endif
 
-.if defined(WITH_48K)
+.if ${PORT_OPTIONS:M48K}
 DISTFILES+=	freeswitch-sounds-music-48000-${DISTVERSION}${EXTRACT_SUFX}
 .endif
 
-.for i in 8K 16K 32K 48K
-.  if !defined(WITH_${i})
-PLIST_SUB+=	WITH_${i}="@comment "
-.  else
-PLIST_SUB+=	WITH_${i}=""
-.  endif
+.for opt in ${ALL_OPTIONS}
+.if $(PORT_OPTIONS:M${opt})
+PLIST_SUB+=	${opt}=""
+.else
+PLIST_SUB+=	${opt}="@comment "
+.endif
 .endfor
 
 do-install:

Modified: head/audio/freeswitch-music/pkg-plist
==============================================================================
--- head/audio/freeswitch-music/pkg-plist	Thu Aug 16 22:10:58 2012	(r302661)
+++ head/audio/freeswitch-music/pkg-plist	Fri Aug 17 01:09:40 2012	(r302662)
@@ -1,24 +1,24 @@
 %%DATADIR%%/sounds/.freeswitch-music
-%%WITH_8K%%%%DATADIR%%/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
-%%WITH_8K%%%%DATADIR%%/sounds/music/8000/ponce-preludio-in-e-major.wav
-%%WITH_8K%%%%DATADIR%%/sounds/music/8000/suite-espanola-op-47-leyenda.wav
-%%WITH_8K%%%%DATADIR%%/sounds/music/8000/danza-espanola-op-37-h-142-xii-arabesca.wav
-%%WITH_16K%%%%DATADIR%%/sounds/music/16000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
-%%WITH_16K%%%%DATADIR%%/sounds/music/16000/ponce-preludio-in-e-major.wav
-%%WITH_16K%%%%DATADIR%%/sounds/music/16000/suite-espanola-op-47-leyenda.wav
-%%WITH_16K%%%%DATADIR%%/sounds/music/16000/danza-espanola-op-37-h-142-xii-arabesca.wav
-%%WITH_16K%%%%DATADIR%%/sounds/music/32000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
-%%WITH_32K%%%%DATADIR%%/sounds/music/32000/ponce-preludio-in-e-major.wav
-%%WITH_32K%%%%DATADIR%%/sounds/music/32000/suite-espanola-op-47-leyenda.wav
-%%WITH_32K%%%%DATADIR%%/sounds/music/32000/danza-espanola-op-37-h-142-xii-arabesca.wav
-%%WITH_48K%%%%DATADIR%%/sounds/music/48000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
-%%WITH_48K%%%%DATADIR%%/sounds/music/48000/ponce-preludio-in-e-major.wav
-%%WITH_48K%%%%DATADIR%%/sounds/music/48000/suite-espanola-op-47-leyenda.wav
-%%WITH_48K%%%%DATADIR%%/sounds/music/48000/danza-espanola-op-37-h-142-xii-arabesca.wav
-%%WITH_8K%%@dirrm %%DATADIR%%/sounds/music/8000
-%%WITH_16K%%@dirrm %%DATADIR%%/sounds/music/16000
-%%WITH_32K%%@dirrm %%DATADIR%%/sounds/music/32000
-%%WITH_48K%%@dirrm %%DATADIR%%/sounds/music/48000
+%%8K%%%%DATADIR%%/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
+%%8K%%%%DATADIR%%/sounds/music/8000/ponce-preludio-in-e-major.wav
+%%8K%%%%DATADIR%%/sounds/music/8000/suite-espanola-op-47-leyenda.wav
+%%8K%%%%DATADIR%%/sounds/music/8000/danza-espanola-op-37-h-142-xii-arabesca.wav
+%%16K%%%%DATADIR%%/sounds/music/16000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
+%%16K%%%%DATADIR%%/sounds/music/16000/ponce-preludio-in-e-major.wav
+%%16K%%%%DATADIR%%/sounds/music/16000/suite-espanola-op-47-leyenda.wav
+%%16K%%%%DATADIR%%/sounds/music/16000/danza-espanola-op-37-h-142-xii-arabesca.wav
+%%32K%%%%DATADIR%%/sounds/music/32000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
+%%32K%%%%DATADIR%%/sounds/music/32000/ponce-preludio-in-e-major.wav
+%%32K%%%%DATADIR%%/sounds/music/32000/suite-espanola-op-47-leyenda.wav
+%%32K%%%%DATADIR%%/sounds/music/32000/danza-espanola-op-37-h-142-xii-arabesca.wav
+%%48K%%%%DATADIR%%/sounds/music/48000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
+%%48K%%%%DATADIR%%/sounds/music/48000/ponce-preludio-in-e-major.wav
+%%48K%%%%DATADIR%%/sounds/music/48000/suite-espanola-op-47-leyenda.wav
+%%48K%%%%DATADIR%%/sounds/music/48000/danza-espanola-op-37-h-142-xii-arabesca.wav
+%%8K%%@dirrm %%DATADIR%%/sounds/music/8000
+%%16K%%@dirrm %%DATADIR%%/sounds/music/16000
+%%32K%%@dirrm %%DATADIR%%/sounds/music/32000
+%%48K%%@dirrm %%DATADIR%%/sounds/music/48000
 @dirrm %%DATADIR%%/sounds/music
 @dirrmtry %%DATADIR%%/sounds
 @dirrmtry %%DATADIR%%
_______________________________________________
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"