diff options
author | oliver <oliver@FreeBSD.org> | 2006-01-19 13:20:15 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2006-01-19 13:20:15 +0800 |
commit | ae4447db1b50acf16dcab0ca71663d484ebf6ced (patch) | |
tree | e3d9d59384866e96c69adaae1441cc7f734a62a6 | |
parent | c77eddd9819595affd6e2946775b483ecb359ae0 (diff) | |
download | freebsd-ports-gnome-ae4447db1b50acf16dcab0ca71663d484ebf6ced.tar.gz freebsd-ports-gnome-ae4447db1b50acf16dcab0ca71663d484ebf6ced.tar.zst freebsd-ports-gnome-ae4447db1b50acf16dcab0ca71663d484ebf6ced.zip |
convert to OPTIONS
add 2 options for disabling subtitle and vorbis support
-rw-r--r-- | multimedia/dvdrip/Makefile | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/multimedia/dvdrip/Makefile b/multimedia/dvdrip/Makefile index af047988101b..72e2aba79a41 100644 --- a/multimedia/dvdrip/Makefile +++ b/multimedia/dvdrip/Makefile @@ -15,19 +15,10 @@ DISTNAME= Video-DVDRip-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= This is dvd::rip, a Perl Gtk+ based dvd-ripper -.if !defined(WITHOUT_CLUSTER) -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ - ${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event \ - ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping \ - pstree:${PORTSDIR}/sysutils/pstree -.endif RUN_DEPENDS+= cdrdao:${PORTSDIR}/sysutils/cdrdao \ cdrecord:${PORTSDIR}/sysutils/cdrtools \ convert:${PORTSDIR}/graphics/ImageMagick \ mplayer:${PORTSDIR}/multimedia/mplayer \ - oggenc:${PORTSDIR}/audio/vorbis-tools \ - ogmmerge:${PORTSDIR}/multimedia/ogmtools \ - subtitle2pgm:${PORTSDIR}/multimedia/subtitleripper \ transcode:${PORTSDIR}/multimedia/transcode \ vcdimager:${PORTSDIR}/multimedia/vcdimager \ ${BUILD_DEPENDS} @@ -35,6 +26,10 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk ${SITE_PERL}/${PERL_ARCH}/Gtk/Gdk/Pixbuf.pm:${PORTSDIR}/x11-toolkits/p5-GdkPixbuf \ ${SITE_PERL}/Locale/Messages.pm:${PORTSDIR}/devel/p5-Locale-libintl +OPTIONS= CLUSTER "Enable cluster mode" on \ + SUBTITLE "Enable support for getting subtitles" on \ + VORBIS "OGG/Vorbis audio support" on + PERL_CONFIGURE= yes USE_PERL5= yes @@ -43,6 +38,22 @@ MAN3= Video::DVDRip.3 Video::DVDRip::CPAN::Scanf.3 .include <bsd.port.pre.mk> +.if !defined(WITHOUT_CLUSTER) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ + ${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event \ + ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping \ + pstree:${PORTSDIR}/sysutils/pstree +.endif + +.if !defined(WITHOUT_VORBIS) +RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools \ + ogmmerge:${PORTSDIR}/multimedia/ogmtools +.endif + +.if !defined(WITHOUT_SUBTITLE) +RUN_DEPENDS+= subtitle2pgm:${PORTSDIR}/multimedia/subtitleripper +.endif + .if ${OSVERSION} < 500000 BROKEN= "Broken dependencies" .endif |