diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-29 23:12:39 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-29 23:12:39 +0800 |
commit | d027faa7ae6b0fc473f482b7862324814269ec5a (patch) | |
tree | f6029433fda7e0764ca4792ffd34c13c4ef71440 /audio/abcde/Makefile | |
parent | 6e7f4375f96a35fc2363195c9d8b9139d4ef24fe (diff) | |
download | freebsd-ports-gnome-d027faa7ae6b0fc473f482b7862324814269ec5a.tar.gz freebsd-ports-gnome-d027faa7ae6b0fc473f482b7862324814269ec5a.tar.zst freebsd-ports-gnome-d027faa7ae6b0fc473f482b7862324814269ec5a.zip |
Convert to new options framework
Add shared AAC, DAGRAB, GOGO, MPP and SPEEX descriptions
Diffstat (limited to 'audio/abcde/Makefile')
-rw-r--r-- | audio/abcde/Makefile | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile index f64489880134..1d38a2fe15ed 100644 --- a/audio/abcde/Makefile +++ b/audio/abcde/Makefile @@ -28,56 +28,51 @@ MAN1= abcde.1 cddb-tool.1 PLIST_FILES= bin/abcde bin/cddb-tool etc/abcde.conf.sample -OPTIONS= CDDA2WAV "support cdda2wav to rip CD" Off \ - DAGRAB "support dagrab to rip IDE CD" Off \ - EJECT "enable auto-eject support" Off \ - GOGO "support gogo MP3 encoder" Off \ - FLAC "support FLAC format" Off \ - AAC "support AAC format" Off \ - MPP "support Musepack format" Off \ - NORMALIZE "enable normalize support" Off \ - REPLAYGAIN "support (vorbis|mp3)gain" Off \ - SPEEX "enable Speex support" Off +OPTIONS_DEFINE= CDDA2WAV DAGRAB EJECT GOGO FLAC MPP NORMALIZE REPLAYGAIN SPEEX + +EJECT_DESC?= Enable auto-eject support +NORMALIZE_DESC?= Enable normalize support +REPLAYGAIN_DESC?= Enable (vorbis|mp3)gain support .include <bsd.port.options.mk> -.if defined(WITH_CDDA2WAV) +.if ${PORT_OPTIONS:MCDDA2WAV} USE_CDRTOOLS= yes .endif -.if defined(WITH_DAGRAB) +.if ${PORT_OPTIONS:MDAGRAB} RUN_DEPENDS+= dagrab:${PORTSDIR}/audio/dagrab .endif -.if defined(WITH_EJECT) +.if ${PORT_OPTIONS:MEJECT} RUN_DEPENDS+= eject:${PORTSDIR}/sysutils/eject .endif -.if defined(WITH_FLAC) +.if ${PORT_OPTIONS:MFLAC} RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac .endif -.if defined(WITH_NORMALIZE) +.if ${PORT_OPTIONS:MNORMALIZE} RUN_DEPENDS+= normalize:${PORTSDIR}/audio/normalize .endif -.if defined(WITH_SPEEX) +.if ${PORT_OPTIONS:MSPEEX} RUN_DEPENDS+= speexenc:${PORTSDIR}/audio/speex .endif -.if defined(WITH_GOGO) +.if ${PORT_OPTIONS:MGOGO} RUN_DEPENDS+= gogo:${PORTSDIR}/audio/gogo .endif -.if defined(WITH_AAC) +.if ${PORT_OPTIONS:MAAC} RUN_DEPENDS+= faac:${PORTSDIR}/audio/faac .endif -.if defined(WITH_MPP) +.if ${PORT_OPTIONS:MMPP} RUN_DEPENDS+= mpcenc:${PORTSDIR}/audio/musepack .endif -.if defined(WITH_REPLAYGAIN) +.if ${PORT_OPTIONS:MREPLAYGAIN} RUN_DEPENDS+= mp3gain:${PORTSDIR}/audio/mp3gain \ vorbisgain:${PORTSDIR}/audio/vorbisgain .endif |