Lines 17-26
RUN_DEPENDS= p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info \
Link Here
|
17 |
|
17 |
|
18 |
USES= perl5 zip |
18 |
USES= perl5 zip |
19 |
USE_PERL5= run |
19 |
USE_PERL5= run |
20 |
|
20 |
USES+= shebangfix |
|
|
21 |
SHEBANG_FILES= podcastamatic.pl |
21 |
NO_BUILD= yes |
22 |
NO_BUILD= yes |
22 |
|
23 |
|
23 |
NO_STAGE= yes |
24 |
SUB_LIST= PORTNAME="${PORTNAME}" |
|
|
25 |
SUB_FILES= pkg-message |
26 |
|
24 |
do-patch: |
27 |
do-patch: |
25 |
@${REINPLACE_CMD} -e "s|${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|"\ |
28 |
@${REINPLACE_CMD} -e "s|${PORTNAME}.conf|${PREFIX}/etc/${PORTNAME}.conf|"\ |
26 |
${WRKSRC}/${PORTNAME}.pl |
29 |
${WRKSRC}/${PORTNAME}.pl |
Lines 35-52
do-patch:
Link Here
|
35 |
@${REINPLACE_CMD} -e "s|[wW]:|${PREFIX}/www|" ${WRKSRC}/example_${PORTNAME}.conf |
38 |
@${REINPLACE_CMD} -e "s|[wW]:|${PREFIX}/www|" ${WRKSRC}/example_${PORTNAME}.conf |
36 |
|
39 |
|
37 |
do-install: |
40 |
do-install: |
38 |
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} |
41 |
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |
39 |
@${INSTALL_DATA} ${WRKSRC}/example_${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample |
42 |
@${INSTALL_DATA} ${WRKSRC}/example_${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample |
40 |
test \! -f ${PREFIX}/etc/${PORTNAME}.conf && ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf || true |
43 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME} |
41 |
@${MKDIR} ${PREFIX}/share/${PORTNAME} |
44 |
@${INSTALL_DATA} ${WRKSRC}/style.css ${STAGEDIR}${PREFIX}/share/${PORTNAME}/ |
42 |
@${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/${PORTNAME}/ |
|
|
43 |
.if !defined(NOPORTDOCS) |
45 |
.if !defined(NOPORTDOCS) |
44 |
@${MKDIR} ${DOCSDIR} |
46 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
45 |
@${INSTALL_DATA} ${WRKSRC}/readme.html ${DOCSDIR} |
47 |
@${INSTALL_DATA} ${WRKSRC}/readme.html ${STAGEDIR}${DOCSDIR} |
46 |
.endif |
48 |
.endif |
47 |
@${ECHO} |
49 |
|
48 |
@${ECHO} "Edit ${PREFIX}/etc/${PORTNAME}.conf" |
50 |
post-install: |
49 |
@${ECHO} "CSS in ${PREFIX}/share/${PORTNAME}/style.css" |
51 |
@${CAT} ${PKGMESSAGE} |
50 |
@${ECHO} |
|
|
51 |
|
52 |
|
52 |
.include <bsd.port.mk> |
53 |
.include <bsd.port.mk> |