aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/acidrip/Makefile
blob: 81384e7fc7777093cd343137968f15797c8d00dd (plain) (blame)
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
# New ports collection makefile for:    acidrip
# Date created:     2004-03-31
# Whom:         michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   acidrip
PORTVERSION=    0.14
PORTREVISION=   5
CATEGORIES= multimedia
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    GTK2::Perl wrapper for MPlayer and MEncoder for ripping DVD's

BUILD_DEPENDS=  lsdvd:${PORTSDIR}/multimedia/lsdvd \
        mencoder:${PORTSDIR}/multimedia/mencoder \
        ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
MAN1=       acidrip.1

.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

.include <bsd.port.mk>
d>-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+1 * Update to 0.8ahze2008-04-174-27/+13 * The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 formarcus2008-03-243-17/+22 * Presenting GNOME 2.20.1 and all related works for FreeBSD. The officialmarcus2007-10-252-8/+4 * - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1 * Do not override ntfs file systems with ntfs-3g. While FreeBSD does supportmarcus2007-04-152-2/+11 * * Correct the default mount options for vfat file systemsmarcus2007-04-133-7/+8 * * Update to 0.6marcus2007-04-127-210/+24 * Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOMEmarcus2007-03-198-96/+247 * - Fix typopav2006-12-211-1/+1 * Fix gnome-mount on 64-bit platforms. This corrects a crash seen whenmarcus2006-12-033-1/+32 * Add USE_GETTEXT.mezz2006-11-051-0/+1