diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-31 19:19:32 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-31 19:19:32 +0800 |
commit | 68b530317704ed344f567080786046479ed054fb (patch) | |
tree | 93fe9eebc56e2451ba426603948adb8749cb38e9 /multimedia | |
parent | aedee365f6b7833ae31d4b673dcd979c369e4ac2 (diff) | |
download | freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.tar.gz freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.tar.zst freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.zip |
Convert to new options framework
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/dvdrip/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/multimedia/dvdrip/Makefile b/multimedia/dvdrip/Makefile index f242410fecc7..27119ff96fd1 100644 --- a/multimedia/dvdrip/Makefile +++ b/multimedia/dvdrip/Makefile @@ -32,8 +32,9 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gt ${SITE_PERL}/Event/RPC.pm:${PORTSDIR}/devel/p5-Event-RPC \ ${SITE_PERL}/Locale/Messages.pm:${PORTSDIR}/devel/p5-Locale-libintl -OPTIONS= SUBTITLE "Enable support for getting subtitles" on \ - VORBIS "OGG/Vorbis audio support" on +OPTIONS_DEFINE= VORBIS SUBTITLE +OPTIONS_DEFAULT= VORBIS SUBTITLE +SUBTITLE_DESC= Enable support for getting subtitles PERL_CONFIGURE= yes CONFIGURE_ENV= SKIP_UNPACK_REQUIRED_MODULES=1 @@ -43,14 +44,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= dvdrip.1 dvdrip-progress.1 dvdrip-splitpipe.1 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_VORBIS) +.if ${PORT_OPTIONS:MVORBIS} RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools \ ogmmerge:${PORTSDIR}/multimedia/ogmtools .endif -.if !defined(WITHOUT_SUBTITLE) +.if ${PORT_OPTIONS:MSUBTITLE} RUN_DEPENDS+= subtitle2pgm:${PORTSDIR}/multimedia/subtitleripper .endif @@ -73,4 +74,4 @@ post-install: @cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \ 's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |