aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dvd-slideshow
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-12-30 21:26:14 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-12-30 21:26:14 +0000
commit1b6c4db618351e9c6ce4f4bfd2075d602ecb1cfc (patch)
tree6c750d192c9cc6c231f0433dc6079a75f31c44ad /multimedia/dvd-slideshow
parenteada140a47843867b13d2d657cc0247b42f2ef05 (diff)
downloadports-1b6c4db618351e9c6ce4f4bfd2075d602ecb1cfc.tar.gz
ports-1b6c4db618351e9c6ce4f4bfd2075d602ecb1cfc.zip
Notes
Diffstat (limited to 'multimedia/dvd-slideshow')
-rw-r--r--multimedia/dvd-slideshow/Makefile9
-rw-r--r--multimedia/dvd-slideshow/distinfo5
-rw-r--r--multimedia/dvd-slideshow/files/patch-dvd-slideshow20
3 files changed, 27 insertions, 7 deletions
diff --git a/multimedia/dvd-slideshow/Makefile b/multimedia/dvd-slideshow/Makefile
index 228904225013..a369451acf51 100644
--- a/multimedia/dvd-slideshow/Makefile
+++ b/multimedia/dvd-slideshow/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= dvd-slideshow
-PORTVERSION= 0.7.1
+PORTVERSION= 0.7.2
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= oz@nixil.net
COMMENT= Script that creates a slideshow-style DVD with some simple menus
@@ -46,9 +45,9 @@ MAN1= dvd-slideshow.1 \
DOC_FILES= README.html changelog.html gallery2slideshow.html \
dir2slideshow.html jigl2slideshow.html \
dvd-menu.html dvd-slideshow.html
-PLIST_FILES+= ${DOC_FILES:S,^,%%DOCSDIR%%/,}
+PLIST_FILES+= ${DOC_FILES:S,^,%%DOCSDIR%%/,}
PLIST_FILES+= %%DOCSDIR%%/dvd-slideshowrc
-PLIST_DIRS+= %%DOCSDIR%%
+PLIST_DIRS+= %%DOCSDIR%%
.endif
.include <bsd.port.pre.mk>
@@ -73,7 +72,7 @@ RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools
.endif
-pre-patch:
+post-patch:
.for FILE in dvd-slideshow dvd-menu dir2slideshow gallery2slideshow jigl2slideshow
@${REINPLACE_CMD} -e 's|!/bin/bash|!${PREFIX}/bin/bash|g' ${WRKSRC}/${FILE}
.endfor
diff --git a/multimedia/dvd-slideshow/distinfo b/multimedia/dvd-slideshow/distinfo
index 8444df6dda79..56e2c45f705f 100644
--- a/multimedia/dvd-slideshow/distinfo
+++ b/multimedia/dvd-slideshow/distinfo
@@ -1,2 +1,3 @@
-MD5 (dvd-slideshow_0.7.1.tar.gz) = 34c3455cc8b75f5ea3c199d447a34a9b
-SIZE (dvd-slideshow_0.7.1.tar.gz) = 72132
+MD5 (dvd-slideshow-0.7.2.tar.gz) = bc3b5a691b81ccc94ce0e96b805ef71b
+SHA256 (dvd-slideshow-0.7.2.tar.gz) = e49d2fd3c8e663449948668915cd717855528958a07d4f79ca3cd6d0f2ea62ff
+SIZE (dvd-slideshow-0.7.2.tar.gz) = 85603
diff --git a/multimedia/dvd-slideshow/files/patch-dvd-slideshow b/multimedia/dvd-slideshow/files/patch-dvd-slideshow
new file mode 100644
index 000000000000..de110c2cbaed
--- /dev/null
+++ b/multimedia/dvd-slideshow/files/patch-dvd-slideshow
@@ -0,0 +1,20 @@
+--- dvd-slideshow.orig Fri Dec 30 04:21:02 2005
++++ dvd-slideshow Fri Dec 30 04:25:22 2005
+@@ -2051,7 +2051,7 @@
+ audio_inside_txtfile=0
+ imagefiles=0 ; moviefiles=0 ; audiofiles=0
+ ## let's parse the txtfile:
+-total_lines=`wc -l ${input_txtfile} | awk '{print $1}'`
++total_lines=`wc -l "${input_txtfile}" | awk '{print $1}'`
+ total_lines=$(( $total_lines + 1 ))
+ let line=1
+
+@@ -3813,7 +3813,7 @@
+ audio_1[0]='silence' # no duration needed
+ myecho "[dvd-slideshow] No audio files passed. Using $end_hms silence."
+ audio1_start=0
+- audio1_end="$end_time"
++ audio1_end="5"
+ fi
+
+ ## let's split this audio processing into two loops: one just prepares the