aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dvdrip
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-01-19 05:20:15 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-01-19 05:20:15 +0000
commit8e2cf8b4533cd6c09bf96c905602cdc94cb1f4ff (patch)
tree139757e3d8b6bd4a427d33d0b748b69ee5bb1ddc /multimedia/dvdrip
parente34831d2b9665a0fbfe45bc6f6ba220edaa548e7 (diff)
downloadports-8e2cf8b4533cd6c09bf96c905602cdc94cb1f4ff.tar.gz
ports-8e2cf8b4533cd6c09bf96c905602cdc94cb1f4ff.zip
Notes
Diffstat (limited to 'multimedia/dvdrip')
-rw-r--r--multimedia/dvdrip/Makefile29
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