View | Details | Raw Unified | Return to bug 83674
Collapse All | Expand All

(-)/usr/ports/www/podcastamatic/Makefile (-1 / +12 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	podcastamatic
8
PORTNAME=	podcastamatic
9
PORTVERSION=	1.2
9
PORTVERSION=	1.2
10
PORTREVISION=	1
10
CATEGORIES=	www
11
CATEGORIES=	www
11
MASTER_SITES=	http://bradley.chicago.il.us/projects/podcastamatic/
12
MASTER_SITES=	http://bradley.chicago.il.us/projects/podcastamatic/
12
DISTNAME=	${PORTNAME}${PORTVERSION:S/./_/}
13
DISTNAME=	${PORTNAME}${PORTVERSION:S/./_/}
Lines 25-34 Link Here
25
do-patch:
26
do-patch:
26
	@${REINPLACE_CMD} -e "s|${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|"\
27
	@${REINPLACE_CMD} -e "s|${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|"\
27
		 ${WRKSRC}/${PORTNAME}.pl
28
		 ${WRKSRC}/${PORTNAME}.pl
29
	@${REINPLACE_CMD} -e "s|podcastamatic.log|/var/log/${PORTNAME}.log|"\
30
		${WRKSRC}/${PORTNAME}.conf
31
	@${REINPLACE_CMD} -e "s|/projects/podcastamatic|/podcast|"\
32
		${WRKSRC}/${PORTNAME}.conf
33
	@${REINPLACE_CMD} -e "s|style.css|${PREFIX}/share/${PORTNAME}/style.css|"\
34
		${WRKSRC}/${PORTNAME}.conf
35
	@${REINPLACE_CMD} -e "s|/testpodcast||" ${WRKSRC}/${PORTNAME}.conf
36
	@${REINPLACE_CMD} -e "s|/audio||" ${WRKSRC}/${PORTNAME}.conf
37
	@${REINPLACE_CMD} -e "s|[wW]:|${PREFIX}/www|" ${WRKSRC}/${PORTNAME}.conf
28
38
29
do-install:
39
do-install:
30
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
40
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
31
	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/
41
	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
42
	test \! -f ${PREFIX}/etc/${PORTNAME}.conf && ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf || true
32
	@${MKDIR} ${PREFIX}/share/${PORTNAME}
43
	@${MKDIR} ${PREFIX}/share/${PORTNAME}
33
	@${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/${PORTNAME}/
44
	@${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/${PORTNAME}/
34
.if !defined(NOPORTDOCS)
45
.if !defined(NOPORTDOCS)
(-)/usr/ports/www/podcastamatic/pkg-plist (-1 / +2 lines)
Lines 1-5 Link Here
1
@unexec cmp %D/etc/podcastamatic.conf.sample %D/etc/podcastamatic.conf && rm %D/etc/podcastamatic.conf || true
1
bin/podcastamatic
2
bin/podcastamatic
2
etc/podcastamatic.conf
3
etc/podcastamatic.conf.sample
3
%%PORTDOCS%%%%DOCSDIR%%/readme.html
4
%%PORTDOCS%%%%DOCSDIR%%/readme.html
4
%%DATADIR%%/style.css
5
%%DATADIR%%/style.css
5
@dirrm %%DATADIR%%
6
@dirrm %%DATADIR%%

Return to bug 83674