Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= podcastamatic |
8 |
PORTNAME= podcastamatic |
9 |
PORTVERSION= 1.2 |
9 |
PORTVERSION= 1.3 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 1 |
11 |
CATEGORIES= www |
11 |
CATEGORIES= www |
12 |
MASTER_SITES= http://bradley.chicago.il.us/projects/podcastamatic/ |
12 |
MASTER_SITES= http://bradley.chicago.il.us/projects/podcastamatic/ |
Lines 15-21
Link Here
|
15 |
MAINTAINER= lars.eggert@gmx.net |
15 |
MAINTAINER= lars.eggert@gmx.net |
16 |
COMMENT= Automates creation of webpage and RSS feed for a podcast |
16 |
COMMENT= Automates creation of webpage and RSS feed for a podcast |
17 |
|
17 |
|
18 |
RUN_DEPENDS= ${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info |
18 |
RUN_DEPENDS= ${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \ |
|
|
19 |
${SITE_PERL}/MP4/Info.pm:${PORTSDIR}/multimedia/p5-MP4-Info |
19 |
|
20 |
|
20 |
USE_ZIP= yes |
21 |
USE_ZIP= yes |
21 |
USE_PERL5_RUN= yes |
22 |
USE_PERL5_RUN= yes |
Lines 26-44
Link Here
|
26 |
do-patch: |
27 |
do-patch: |
27 |
@${REINPLACE_CMD} -e "s|${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|"\ |
28 |
@${REINPLACE_CMD} -e "s|${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|"\ |
28 |
${WRKSRC}/${PORTNAME}.pl |
29 |
${WRKSRC}/${PORTNAME}.pl |
29 |
@${REINPLACE_CMD} -e "s|podcastamatic.log|/var/log/${PORTNAME}.log|"\ |
30 |
@${REINPLACE_CMD} -e "s|../test/podcastamatic.log|/var/log/${PORTNAME}.log|"\ |
30 |
${WRKSRC}/${PORTNAME}.conf |
31 |
${WRKSRC}/example_${PORTNAME}.conf |
31 |
@${REINPLACE_CMD} -e "s|/projects/podcastamatic|/podcast|"\ |
32 |
@${REINPLACE_CMD} -e "s|/projects/podcastamatic|/podcast|"\ |
32 |
${WRKSRC}/${PORTNAME}.conf |
33 |
${WRKSRC}/example_${PORTNAME}.conf |
33 |
@${REINPLACE_CMD} -e "s|style.css|${PREFIX}/share/${PORTNAME}/style.css|"\ |
34 |
@${REINPLACE_CMD} -e "s|style.css|${PREFIX}/share/${PORTNAME}/style.css|"\ |
34 |
${WRKSRC}/${PORTNAME}.conf |
35 |
${WRKSRC}/example_${PORTNAME}.conf |
35 |
@${REINPLACE_CMD} -e "s|/testpodcast||" ${WRKSRC}/${PORTNAME}.conf |
36 |
@${REINPLACE_CMD} -e "s|/testpodcast||" ${WRKSRC}/example_${PORTNAME}.conf |
36 |
@${REINPLACE_CMD} -e "s|/audio||" ${WRKSRC}/${PORTNAME}.conf |
37 |
@${REINPLACE_CMD} -e "s|/audio||" ${WRKSRC}/example_${PORTNAME}.conf |
37 |
@${REINPLACE_CMD} -e "s|[wW]:|${PREFIX}/www|" ${WRKSRC}/${PORTNAME}.conf |
38 |
@${REINPLACE_CMD} -e "s|[wW]:|${PREFIX}/www|" ${WRKSRC}/example_${PORTNAME}.conf |
38 |
|
39 |
|
39 |
do-install: |
40 |
do-install: |
40 |
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} |
41 |
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} |
41 |
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample |
42 |
@${INSTALL_DATA} ${WRKSRC}/example_${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample |
42 |
test \! -f ${PREFIX}/etc/${PORTNAME}.conf && ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf || true |
43 |
test \! -f ${PREFIX}/etc/${PORTNAME}.conf && ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf || true |
43 |
@${MKDIR} ${PREFIX}/share/${PORTNAME} |
44 |
@${MKDIR} ${PREFIX}/share/${PORTNAME} |
44 |
@${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/${PORTNAME}/ |
45 |
@${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/${PORTNAME}/ |