aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ldvd
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-20 15:06:37 +0800
committerpav <pav@FreeBSD.org>2004-10-20 15:06:37 +0800
commit403ba7253dcc3a0c805e90fa68bd93928015760f (patch)
tree7ef5055437869c8fc7d0ae86ecb34361ae09f6dd /multimedia/ldvd
parent07f5143216ff984b18d3d17f32bf23587f1046a2 (diff)
downloadfreebsd-ports-gnome-403ba7253dcc3a0c805e90fa68bd93928015760f.tar.gz
freebsd-ports-gnome-403ba7253dcc3a0c805e90fa68bd93928015760f.tar.zst
freebsd-ports-gnome-403ba7253dcc3a0c805e90fa68bd93928015760f.zip
Add LDVD9to5, a Gui, which shall simplify shrinking a DVD-9 to a DVD-5.
PR: ports/72833 Submitted by: Andreas Fehlner <fehlner@gmx.de>
Diffstat (limited to 'multimedia/ldvd')
-rw-r--r--multimedia/ldvd/Makefile47
-rw-r--r--multimedia/ldvd/distinfo2
-rw-r--r--multimedia/ldvd/pkg-descr8
-rw-r--r--multimedia/ldvd/pkg-plist12
4 files changed, 69 insertions, 0 deletions
diff --git a/multimedia/ldvd/Makefile b/multimedia/ldvd/Makefile
new file mode 100644
index 000000000000..f34e930a079b
--- /dev/null
+++ b/multimedia/ldvd/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: ldvd9to5
+# Date created: 2004-10-03
+# Whom: Andreas Fehlner <fehlner@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ldvd9to5
+PORTVERSION= 1.12
+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}|g' ${WRKSRC}/ldvd9to5.conf
+ @${REINPLACE_CMD} -e 's|/opt|${LOCALBASE}|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>
diff --git a/multimedia/ldvd/distinfo b/multimedia/ldvd/distinfo
new file mode 100644
index 000000000000..18d76c78a5ef
--- /dev/null
+++ b/multimedia/ldvd/distinfo
@@ -0,0 +1,2 @@
+MD5 (ldvd9to5-v1.12.tgz) = 0847b41ea7a33c411022240809287b9f
+SIZE (ldvd9to5-v1.12.tgz) = 34959
diff --git a/multimedia/ldvd/pkg-descr b/multimedia/ldvd/pkg-descr
new file mode 100644
index 000000000000..de1d1fdfa0d3
--- /dev/null
+++ b/multimedia/ldvd/pkg-descr
@@ -0,0 +1,8 @@
+LDVD9to5 is only a Gui, which shall simplify shrinking a DVD-9 to a
+DVD-5.
+
+WWW: http://ldvd9to6.gff-clan.net
+
+
+Andreas Fehlner
+-fehlner@gmx.de
diff --git a/multimedia/ldvd/pkg-plist b/multimedia/ldvd/pkg-plist
new file mode 100644
index 000000000000..6fcf86dbfe90
--- /dev/null
+++ b/multimedia/ldvd/pkg-plist
@@ -0,0 +1,12 @@
+bin/ldvd9to5
+etc/ldvd9to5.conf
+%%DATADIR%%/INSTALL.de
+%%DATADIR%%/INSTALL.en
+%%DATADIR%%/README.de
+%%DATADIR%%/README.en
+%%DATADIR%%/COPYING
+%%DATADIR%%/modules/extract.pm
+%%DATADIR%%/modules/info.pm
+%%DATADIR%%/modules/util.pm
+@dirrm %%DATADIR%%/modules
+@dirrm %%DATADIR%%