aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2015-02-28 04:09:25 +0800
committersbruno <sbruno@FreeBSD.org>2015-02-28 04:09:25 +0800
commite175f658a6fcb66ca2080b5d0e57452601e67e5f (patch)
treee129d763b8652fe3bd28760510a341caf858cf00 /audio
parent31a64422c5760f57b1731b0d493aababd1027a1b (diff)
downloadfreebsd-ports-gnome-e175f658a6fcb66ca2080b5d0e57452601e67e5f.tar.gz
freebsd-ports-gnome-e175f658a6fcb66ca2080b5d0e57452601e67e5f.tar.zst
freebsd-ports-gnome-e175f658a6fcb66ca2080b5d0e57452601e67e5f.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>
Diffstat (limited to 'audio')
-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