diff options
author | Lars Koeller <lkoeller@FreeBSD.org> | 2004-10-28 20:07:05 +0000 |
---|---|---|
committer | Lars Koeller <lkoeller@FreeBSD.org> | 2004-10-28 20:07:05 +0000 |
commit | 7b6254ce1f7235c3ff1b40699f747a925c044534 (patch) | |
tree | b3492bcb1d13bac1656a0897cd9d1795d3a5979c /audio/rplay/Makefile | |
parent | Introduce sudosh (sudo shell) into the Ports Tree. (diff) |
o) Fix missing installation of sample and initial config files.
Notes
Notes:
svn path=/head/; revision=120422
Diffstat (limited to 'audio/rplay/Makefile')
-rw-r--r-- | audio/rplay/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile index e150a5f923ea..6994628e0cf6 100644 --- a/audio/rplay/Makefile +++ b/audio/rplay/Makefile @@ -7,7 +7,7 @@ PORTNAME= rplay PORTVERSION= 3.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://rplay.doit.org/dist/ @@ -37,6 +37,12 @@ post-install: @${ECHO_MSG} "===> Installing ${PREFIX}/etc/rc.d/rplayd.sh" @${ECHO_MSG} "===> startup file as ${PREFIX}/etc/rc.d/rplayd.sh.sample" @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rplayd.sh ${PREFIX}/etc/rc.d/rplayd.sh.sample + for na in rplay.conf rplay.helpers rplay.servers rplay.hosts; do \ + ${CP} ${WRKSRC}/etc/$$na ${PREFIX}/etc/$$na.sample; \ + if [ ! -f ${PREFIX}/etc/$$na ]; then \ + ${CP} ${WRKSRC}/etc/$$na ${PREFIX}/etc/$$na; \ + fi; \ + done .if !exists(${PREFIX}/etc/rplay.hosts) @${ECHO_CMD} localhost > ${PREFIX}/etc/rplay.hosts .endif |