moved audio/freeswitch-music to options ng
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
Responsible Changed From-To: freebsd-ports-bugs->jgh I'll take it.
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
State Changed From-To: open->closed Committed, with minor changes. Thanks!
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"