diff --git a/multimedia/acidrip/Makefile b/multimedia/acidrip/Makefile index eb32a54b8478..9cbcc2c5d8db 100644 --- a/multimedia/acidrip/Makefile +++ b/multimedia/acidrip/Makefile @@ -1,36 +1,43 @@ PORTNAME= acidrip PORTVERSION= 0.14 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20-%20Your%20two-wheeled%20knife MAINTAINER= ports@FreeBSD.org COMMENT= GTK2::Perl wrapper for MPlayer and MEncoder for ripping DVDs +WWW= https://sourceforge.net/projects/acidrip/ + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +DEPRECATED= Last upstream release was in 2004 +EXPIRATION_DATE= 2024-01-16 BUILD_DEPENDS= lsdvd:multimedia/lsdvd \ mencoder:multimedia/mencoder \ p5-Gtk2>=0:x11-toolkits/p5-Gtk2 RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .if defined(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else DEFAULT_DVD_DEVICE=/dev/acd0 .endif pre-everything:: .if !defined(WITH_DVD_DEVICE) @${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}" @${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default" @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'" .endif post-patch: @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' ${WRKSRC}/AcidRip/acidrip.pm @${RM} ${WRKSRC}/AcidRip/*.bak @${RM} ${WRKSRC}/AcidRip/*.orig .include diff --git a/multimedia/acidrip/files/patch-AcidRip__acidrip.pm b/multimedia/acidrip/files/patch-AcidRip__acidrip.pm index dedde3a11747..827d868755b4 100644 --- a/multimedia/acidrip/files/patch-AcidRip__acidrip.pm +++ b/multimedia/acidrip/files/patch-AcidRip__acidrip.pm @@ -1,33 +1,33 @@ ---- ./AcidRip/acidrip.pm.orig 2004-07-25 10:03:09.000000000 -0400 -+++ ./AcidRip/acidrip.pm 2009-06-23 19:43:28.289154908 -0400 -@@ -218,7 +218,29 @@ +--- AcidRip/acidrip.pm.orig 2004-07-25 14:03:09 UTC ++++ AcidRip/acidrip.pm +@@ -218,7 +218,29 @@ sub get_parameters { $menc{'video'} .= ":pass=$::settings->{'video_pass'}" if $::settings->{'video_passes'} > 1; } if ( $::settings->{'video_codec'} eq 'xvid' ) { - $menc{'video'} = "-ovc xvid -xvidencopts $::settings->{'xvid_options'}:bitrate=$::settings->{'video_bitrate'}"; +#---------------- +#ORIGINAL $menc{'video'} = "-ovc xvid -xvidencopts $::settings->{'xvid_options'}:bitrate=$::settings->{'video_bitrate'}"; + $menc{'video'} = "-ovc xvid -xvidencopts "; + if ( $::settings->{'xvid_options'} eq '' ) + { + # my $msgaa = "AA You have no xvid_options set."; + # message($msgaa); + # print $msgaa . "\n"; + # my $msgbb = "BB You have no xvid_options set."; + # message($msgbb); + # print $msgbb . "\n"; + } + else + { + # my $msgaa = "AA You do have some xvid_options set."; + # message($msgaa); + # print $msgaa . "\n"; + # my $msgbb = "BB You do have some xvid_options set."; + # message($msgbb); + # print $msgbb . "\n"; + $menc{'video'} .= "$::settings->{'xvid_options'}:" ; + } + $menc{'video'} .= "bitrate=$::settings->{'video_bitrate'}"; $menc{'video'} .= ":pass=$::settings->{'video_pass'}" if $::settings->{'video_passes'} > 1; } if ( $::settings->{'video_codec'} eq 'nuv' ) {