aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2015-02-27 20:09:25 +0000
committerSean Bruno <sbruno@FreeBSD.org>2015-02-27 20:09:25 +0000
commit5af2109bf472b6d939c798afa679f932b26e7801 (patch)
treee129d763b8652fe3bd28760510a341caf858cf00
parent32f2e44036777f3ebe50c59bed1cd42fa8325587 (diff)
downloadports-5af2109bf472b6d939c798afa679f932b26e7801.tar.gz
ports-5af2109bf472b6d939c798afa679f932b26e7801.zip
- Remove bash dependency and change the two scripts that are invoking bash to sh.
- Actually install the two scripts in the package. bug. - Install these two scripts when the CONFIG BUILDER option is set. - Bump portrevision. Submitted by: Mike Brown <mike@skew.org>
Notes
Notes: svn path=/head/; revision=380119
-rw-r--r--audio/shoutcast/Makefile9
-rw-r--r--audio/shoutcast/pkg-plist2
2 files changed, 6 insertions, 5 deletions
diff --git a/audio/shoutcast/Makefile b/audio/shoutcast/Makefile
index 6018202db94f..5e53b571b400 100644
--- a/audio/shoutcast/Makefile
+++ b/audio/shoutcast/Makefile
@@ -3,7 +3,7 @@
PORTNAME= shoutcast
PORTVERSION= 2.4.2.167
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio net
MASTER_SITES= http://download.nullsoft.com/shoutcast/tools/
DISTNAME= sc_serv2_bsd-latest
@@ -11,13 +11,12 @@ DISTNAME= sc_serv2_bsd-latest
MAINTAINER= sbruno@FreeBSD.org
COMMENT= SHOUTcast Distributed Network Audio Server
-RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
-
RESTRICTED= redistribution of software is not permitted
IA32_BINARY_PORT= yes
USES= dos2unix shebangfix
DOS2UNIX_REGEX= .*\.(conf|css|html|js|txt|xml)
+bash_CMD= ${SH}
SHEBANG_FILES= builder.sh setup.sh
USE_RC_SUBR= shoutcast
@@ -84,8 +83,6 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sc_serv ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_SCRIPT} ${WRKSRC}/builder.sh ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${ETCDIR}
${MKDIR} ${STAGEDIR}${SHOUTCASTLDIR}
${MKDIR} ${STAGEDIR}${SHOUTCASTDIR}
@@ -151,6 +148,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/config_builder/config_builder.txt ${STAGEDIR}${WWWDIR}/config_builder/config_builder.txt
${INSTALL_DATA} ${WRKSRC}/config_builder/config_builder.js ${STAGEDIR}${WWWDIR}/config_builder/config_builder.js
${INSTALL_DATA} ${WRKSRC}/config_builder/config_builder.css ${STAGEDIR}${WWWDIR}/config_builder/config_builder.css
+ ${INSTALL_DATA} ${WRKSRC}/builder.sh ${STAGEDIR}${WWWDIR}/config_builder/builder.sh
+ ${INSTALL_DATA} ${WRKSRC}/setup.sh ${STAGEDIR}${WWWDIR}/config_builder/setup.sh
.endif
.include <bsd.port.mk>
diff --git a/audio/shoutcast/pkg-plist b/audio/shoutcast/pkg-plist
index 9c8ee967935a..0b82b901052e 100644
--- a/audio/shoutcast/pkg-plist
+++ b/audio/shoutcast/pkg-plist
@@ -53,6 +53,8 @@ sbin/sc_serv
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/config_builder.txt
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/config_builder.js
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/config_builder.css
+%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/builder.sh
+%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/setup.sh
@dirrmtry %%ETCDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs/res