summaryrefslogtreecommitdiff
path: root/multimedia/dvdrip/Makefile
blob: aa6108c87fe5ec212071c481f20f2a1018ca8ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $NetBSD: Makefile,v 1.54 2012/10/03 21:56:49 wiz Exp $
#

DISTNAME=	dvdrip-0.98.11
PKGREVISION=	3
CATEGORIES=	multimedia x11 sysutils
MASTER_SITES=	http://www.exit1.org/dvdrip/dist/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.exit1.org/dvdrip/
COMMENT=	Graphical frontend for DVD ripping

DEPENDS+=	lsdvd>=0.16nb3:../../multimedia/lsdvd
DEPENDS+=	mplayer>=0.90:../../multimedia/mplayer
DEPENDS+=	ogmtools-[0-9]*:../../multimedia/ogmtools
DEPENDS+=	transcode>=1.0.5nb1:../../multimedia/transcode
DEPENDS+=	xine-ui>=0.9.15:../../multimedia/xine-ui
DEPENDS+=	xvid4conf>=1.12:../../multimedia/xvid4conf
DEPENDS+=	fping>=2.2:../../net/fping
DEPENDS+=	p5-gtk2>=1.121:../../x11/p5-gtk2
DEPENDS+=	p5-Locale-libintl>=1.16:../../misc/p5-Locale-libintl
DEPENDS+=	p5-Event>=1.06:../../devel/p5-Event
DEPENDS+=	p5-Gtk2-Ex-FormFactory>=0.65:../../x11/p5-Gtk2-Ex-FormFactory
DEPENDS+=	p5-Event-ExecFlow>=0.62:../../devel/p5-Event-ExecFlow
DEPENDS+=	p5-Event-RPC>=0.89:../../devel/p5-Event-RPC
DEPENDS+=	p5-AnyEvent>=1.02:../../devel/p5-AnyEvent
DEPENDS+=	ImageMagick-[0-9]*:../../graphics/ImageMagick
# uses programs only (mplex)
DEPENDS+=	mjpegtools-[0-9]*:../../multimedia/mjpegtools

PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../mk/bsd.prefs.mk"

BUILDLINK_API_DEPENDS.perl+=	perl>=5.6.0

USE_LANGUAGES=		c
USE_PKGLOCALEDIR=	YES
USE_TOOLS+=		perl
MAKE_ENV+=		SKIP_UNPACK_REQUIRED_MODULES=1
MAKE_JOBS_SAFE=		no

PERL5_PACKLIST= auto/Video/DVDRip/.packlist

SUBST_CLASSES+=		fping
SUBST_STAGE.fping=	post-patch
SUBST_FILES.fping+=	lib/Video/DVDRip/Cluster/Master.pm
SUBST_SED.fping=	-e "s|/usr/sbin|${PREFIX}/sbin|g"
SUBST_MESSAGE.fping=	Fixing hardcoded path.

# Currently the only option is the i386 rar binary
.if !empty(MACHINE_ARCH:Mi386)
.include "options.mk"
.endif
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"