freebsd-ports/multimedia/dvdrip/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00

69 lines
2.1 KiB
Makefile

# Created by: Michael Nottebrock <michaelnottebrock@gmx.net>
# $FreeBSD$
PORTNAME= dvdrip
PORTVERSION= 0.98.11
PORTREVISION= 11
CATEGORIES= multimedia
MASTER_SITES= CPAN http://www.exit1.org/dvdrip/dist/
MASTER_SITE_SUBDIR= CPAN:JRED
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl Gtk+ based dvd-ripper
LICENSE= ART10 GPLv1 # (ART10 or GPLv1) and CC-BY-SA-2.5
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
p5-AnyEvent>=0:devel/p5-AnyEvent \
p5-Event-ExecFlow>=0:devel/p5-Event-ExecFlow \
p5-Gtk2-Ex-FormFactory>=0:x11-toolkits/p5-Gtk2-Ex-FormFactory \
p5-Event-RPC>=0:devel/p5-Event-RPC \
p5-Locale-libintl>=0:devel/p5-Locale-libintl
RUN_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
p5-AnyEvent>=0:devel/p5-AnyEvent \
p5-Event-ExecFlow>=0:devel/p5-Event-ExecFlow \
p5-Gtk2-Ex-FormFactory>=0:x11-toolkits/p5-Gtk2-Ex-FormFactory \
p5-Event-RPC>=0:devel/p5-Event-RPC \
p5-Locale-libintl>=0:devel/p5-Locale-libintl \
cdrdao:sysutils/cdrdao \
convert:graphics/ImageMagick6 \
mplayer:multimedia/mplayer \
pstree:sysutils/pstree \
transcode:multimedia/transcode \
vcdimager:multimedia/vcdimager \
${LOCALBASE}/sbin/fping:net/fping \
cdrecord:sysutils/cdrtools
USES= gettext perl5 shebangfix
SHEBANG_FILES= bin/dvdrip*
USE_PERL5= configure patch
CONFIGURE_ENV= SKIP_UNPACK_REQUIRED_MODULES=1
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= VORBIS SUBTITLE RAR
OPTIONS_DEFAULT= VORBIS SUBTITLE
RAR_DESC= Support RAR-compressed vobsub subtitles
SUBTITLE_DESC= Enable support for getting subtitles
RAR_RUN_DEPENDS= rar:archivers/rar
SUBTITLE_RUN_DEPENDS= subtitle2pgm:multimedia/subtitleripper
VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools \
ogmmerge:multimedia/ogmtools
post-patch:
@${PERL} -pi -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#' \
${WRKSRC}/lib/Video/DVDRip/Cluster/Master.pm \
${WRKSRC}/lib/Video/DVDRip/Depend.pm
@${FIND} ${WRKSRC} -name \*.orig -delete
post-install:
.for f in dvdrip-progress dvdrip-splitpipe
@${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/${f}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
@${CHMOD} u-w ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
.include <bsd.port.mk>