diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2006-08-12 13:02:41 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2006-08-12 13:02:41 +0000 |
commit | a0a19e5533d374152bfca09c2470c3eb43a2de32 (patch) | |
tree | 1739db28d843d98a54ba946513cc17b8b05c2028 /audio/linux-shoutcast/Makefile | |
parent | 3bcd0f2ec1a8ae0d3ae8e29f17ad1f94086b1957 (diff) | |
download | ports-a0a19e5533d374152bfca09c2470c3eb43a2de32.tar.gz ports-a0a19e5533d374152bfca09c2470c3eb43a2de32.zip |
Notes
Diffstat (limited to 'audio/linux-shoutcast/Makefile')
-rw-r--r-- | audio/linux-shoutcast/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/audio/linux-shoutcast/Makefile b/audio/linux-shoutcast/Makefile index e00ce88b9d49..d47d402e6dde 100644 --- a/audio/linux-shoutcast/Makefile +++ b/audio/linux-shoutcast/Makefile @@ -26,7 +26,7 @@ PORTDOCS= README.TXT WRKSRC= ${WRKDIR} post-patch: - ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ + @${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ -e 's|=sc_serv.log|=/var/log/sc_serv.log|' \ -e 's|=sc_w3c.log|=/var/log/sc_w3c.log|' \ -e 's|ScreenLog=1|ScreenLog=0|' \ @@ -36,19 +36,19 @@ post-patch: ${WRKSRC}/sc_serv.conf do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sc_serv ${PREFIX}/sbin - ${MKDIR} ${PREFIX}/etc/shoutcast - ${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${PREFIX}/etc/shoutcast/sc_serv.conf.sample - @[ -f ${PREFIX}/etc/shoutcast/sc_serv.conf ] || \ - ${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${PREFIX}/etc/shoutcast/sc_serv.conf + @${INSTALL_PROGRAM} ${WRKSRC}/sc_serv ${TARGETDIR}/sbin + @${MKDIR} ${TARGETDIR}/etc/shoutcast + @${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${TARGETDIR}/etc/shoutcast/sc_serv.conf.sample + @[ -f ${TARGETDIR}/etc/shoutcast/sc_serv.conf ] || \ + ${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${TARGETDIR}/etc/shoutcast/sc_serv.conf .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR} + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR} .endif post-install: - ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - ${BRANDELF} -t Linux ${PREFIX}/sbin/sc_serv + @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${BRANDELF} -t Linux ${TARGETDIR}/sbin/sc_serv .include <bsd.port.mk> |