diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-03-31 19:56:19 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-03-31 19:56:19 +0000 |
commit | da92dce43f7f4b5c90b2b1d3d0315d6e5672640a (patch) | |
tree | 5e6a7de8fba27c0f1467e3dc9c9deec27ddc12ac /audio/shoutcast | |
parent | d52e405574443d85e84f0d5eeed878aaca7accb2 (diff) | |
download | ports-da92dce43f7f4b5c90b2b1d3d0315d6e5672640a.tar.gz ports-da92dce43f7f4b5c90b2b1d3d0315d6e5672640a.zip |
Notes
Diffstat (limited to 'audio/shoutcast')
-rw-r--r-- | audio/shoutcast/Makefile | 10 | ||||
-rw-r--r-- | audio/shoutcast/pkg-install | 7 |
2 files changed, 6 insertions, 11 deletions
diff --git a/audio/shoutcast/Makefile b/audio/shoutcast/Makefile index 50e472f9c30a..4f70aa0d13ad 100644 --- a/audio/shoutcast/Makefile +++ b/audio/shoutcast/Makefile @@ -41,11 +41,11 @@ post-patch: ${WRKSRC}/sc_serv.conf do-install: - @${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 + @${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 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR} diff --git a/audio/shoutcast/pkg-install b/audio/shoutcast/pkg-install index 75387ad52143..2b6c96b93a64 100644 --- a/audio/shoutcast/pkg-install +++ b/audio/shoutcast/pkg-install @@ -8,12 +8,7 @@ SC_GROUP=shoutcast SC_USER=shoutcast SC_SHELL=/bin/sh SC_HOME=/nonexistent - -if [ -n "${DESTDIR}" ] ; then - PW="/usr/sbin/chroot ${DESTDIR} /usr/sbin/pw" -else - PW="/usr/sbin/pw" -fi +PW="/usr/sbin/pw" if ! ${PW} show group ${SC_GROUP} -q >/dev/null; then gid=210 |