blob: 1c3dcd1fba5c5bf0d5bab9c42e8f50dd62b1ab97 (
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
45
46
47
48
|
# New ports collection makefile for: ldvd9to5
# Date created: 2004-10-03
# Whom: Andreas Fehlner <fehlner@gmx.de>
#
# $FreeBSD$
#
PORTNAME= ldvd9to5
PORTVERSION= 1.12
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://www.gff-clan.net/hdr/ldvd9to5/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= fehlner@gmx.de
COMMENT= Gui, which shall simplify shrinking a DVD-9 to a DVD-5
RUN_DEPENDS= transcode:${PORTSDIR}/multimedia/transcode \
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
mkisofs:${PORTSDIR}/sysutils/cdrtools \
ifo_dump:${PORTSDIR}/multimedia/ogle \
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
mplex:${PORTSDIR}/multimedia/mjpegtools \
buffer:${PORTSDIR}/misc/buffer \
lsdvd:${PORTSDIR}/multimedia/lsdvd \
${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
USE_PERL= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
DATA= INSTALL.de INSTALL.en README.de README.en COPYING
post-patch:
@${REINPLACE_CMD} -e 's|LSDVD=/opt|LSDVD=${LOCALBASE}/share|g' ${WRKSRC}/ldvd9to5.conf
@${REINPLACE_CMD} -e 's|/opt|${LOCALBASE}/share|g' -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/ldvd9to5
do-install:
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${DATADIR}
${MKDIR} ${DATADIR}/modules
${CP} -rv ${WRKSRC}/modules ${DATADIR}
cd ${WRKSRC} && ${INSTALL_DATA} ldvd9to5.conf ${PREFIX}/etc
cd ${WRKSRC} && ${INSTALL_SCRIPT} ldvd9to5 ${PREFIX}/bin
.include <bsd.port.mk>
|