aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-12-11 03:15:03 +0800
committerflz <flz@FreeBSD.org>2005-12-11 03:15:03 +0800
commita2b22711d863340abce32cece432f3feb1df27d4 (patch)
treec6a8e5327df329f061678d59336feac417b99fa6 /www
parenta550e91124ed0d643b3ee54e153bd6ca1f032838 (diff)
downloadfreebsd-ports-gnome-a2b22711d863340abce32cece432f3feb1df27d4.tar.gz
freebsd-ports-gnome-a2b22711d863340abce32cece432f3feb1df27d4.tar.zst
freebsd-ports-gnome-a2b22711d863340abce32cece432f3feb1df27d4.zip
- Update to 1.3.
PR: ports/90207 Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/podcastamatic/Makefile21
-rw-r--r--www/podcastamatic/distinfo5
-rw-r--r--www/podcastamatic/pkg-plist1
3 files changed, 15 insertions, 12 deletions
diff --git a/www/podcastamatic/Makefile b/www/podcastamatic/Makefile
index 71a14d178d96..24bfa3381633 100644
--- a/www/podcastamatic/Makefile
+++ b/www/podcastamatic/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= podcastamatic
-PORTVERSION= 1.2
+PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://bradley.chicago.il.us/projects/podcastamatic/
@@ -15,7 +15,8 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
MAINTAINER= lars.eggert@gmx.net
COMMENT= Automates creation of webpage and RSS feed for a podcast
-RUN_DEPENDS= ${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info
+RUN_DEPENDS= ${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \
+ ${SITE_PERL}/MP4/Info.pm:${PORTSDIR}/multimedia/p5-MP4-Info
USE_ZIP= yes
USE_PERL5_RUN= yes
@@ -26,19 +27,19 @@ NO_BUILD= yes
do-patch:
@${REINPLACE_CMD} -e "s|${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|"\
${WRKSRC}/${PORTNAME}.pl
- @${REINPLACE_CMD} -e "s|podcastamatic.log|/var/log/${PORTNAME}.log|"\
- ${WRKSRC}/${PORTNAME}.conf
+ @${REINPLACE_CMD} -e "s|../test/podcastamatic.log|/var/log/${PORTNAME}.log|"\
+ ${WRKSRC}/example_${PORTNAME}.conf
@${REINPLACE_CMD} -e "s|/projects/podcastamatic|/podcast|"\
- ${WRKSRC}/${PORTNAME}.conf
+ ${WRKSRC}/example_${PORTNAME}.conf
@${REINPLACE_CMD} -e "s|style.css|${PREFIX}/share/${PORTNAME}/style.css|"\
- ${WRKSRC}/${PORTNAME}.conf
- @${REINPLACE_CMD} -e "s|/testpodcast||" ${WRKSRC}/${PORTNAME}.conf
- @${REINPLACE_CMD} -e "s|/audio||" ${WRKSRC}/${PORTNAME}.conf
- @${REINPLACE_CMD} -e "s|[wW]:|${PREFIX}/www|" ${WRKSRC}/${PORTNAME}.conf
+ ${WRKSRC}/example_${PORTNAME}.conf
+ @${REINPLACE_CMD} -e "s|/testpodcast||" ${WRKSRC}/example_${PORTNAME}.conf
+ @${REINPLACE_CMD} -e "s|/audio||" ${WRKSRC}/example_${PORTNAME}.conf
+ @${REINPLACE_CMD} -e "s|[wW]:|${PREFIX}/www|" ${WRKSRC}/example_${PORTNAME}.conf
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
+ @${INSTALL_DATA} ${WRKSRC}/example_${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
test \! -f ${PREFIX}/etc/${PORTNAME}.conf && ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf || true
@${MKDIR} ${PREFIX}/share/${PORTNAME}
@${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/${PORTNAME}/
diff --git a/www/podcastamatic/distinfo b/www/podcastamatic/distinfo
index 5f63ce510760..851973e4d80f 100644
--- a/www/podcastamatic/distinfo
+++ b/www/podcastamatic/distinfo
@@ -1,2 +1,3 @@
-MD5 (podcastamatic1_2.zip) = 3014e2f50a809161f4ed799fd29eab00
-SIZE (podcastamatic1_2.zip) = 18891
+MD5 (podcastamatic1_3.zip) = bbfec2d4e8d7ffa4529d141f583adc1c
+SHA256 (podcastamatic1_3.zip) = fa2334b95b126dca8cfd6a86662bc2568e13e6fbc16e4ed64f59935962107ae5
+SIZE (podcastamatic1_3.zip) = 20801
diff --git a/www/podcastamatic/pkg-plist b/www/podcastamatic/pkg-plist
index b93cbd943dfb..c4d411de9aac 100644
--- a/www/podcastamatic/pkg-plist
+++ b/www/podcastamatic/pkg-plist
@@ -1,6 +1,7 @@
@unexec cmp %D/etc/podcastamatic.conf.sample %D/etc/podcastamatic.conf && rm %D/etc/podcastamatic.conf || true
bin/podcastamatic
etc/podcastamatic.conf.sample
+@exec [ -f %B/podcastamatic.conf ] || cp %F %B/podcastamatic.conf
%%PORTDOCS%%%%DOCSDIR%%/readme.html
%%DATADIR%%/style.css
@dirrm %%DATADIR%%