aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2003-01-17 23:06:24 +0800
committerroam <roam@FreeBSD.org>2003-01-17 23:06:24 +0800
commit3fa438687bbff7e6c5786262a705df1c6c087afd (patch)
tree6b24a8f22510bc2669b8f98af5998a14bb0a048a /sysutils
parentd97db68ed54a4bb111a61f21aeeb79a047cf688d (diff)
downloadfreebsd-ports-gnome-3fa438687bbff7e6c5786262a705df1c6c087afd.tar.gz
freebsd-ports-gnome-3fa438687bbff7e6c5786262a705df1c6c087afd.tar.zst
freebsd-ports-gnome-3fa438687bbff7e6c5786262a705df1c6c087afd.zip
Install the sample startup script directly to etc/rc.d/, instead of
putting it into the examples directory, where next to nobody found it. Requested by: Dan Langille <dan@langille.org>, Antoine Beaupre <anarcat@anarcat.ath.cx> - both months ago
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/daemontools/Makefile7
-rw-r--r--sysutils/daemontools/pkg-plist3
2 files changed, 3 insertions, 7 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index 69be10b33008..4728a0a7e817 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= daemontools
PORTVERSION= 0.76
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/daemontools/ \
ftp://cr.yp.to/daemontools/
@@ -54,10 +54,7 @@ do-install:
done) < ${WRKSRC}/../package/commands
post-install:
- @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
- ${PREFIX}/share/examples/${PORTNAME}
- @${INSTALL_DATA} ${WRKDIR}/${SAMPLERC} \
- ${PREFIX}/share/examples/${PORTNAME}
+ @${INSTALL_SCRIPT} ${WRKDIR}/${SAMPLERC} ${PREFIX}/etc/rc.d/
.if !defined(WITHOUT_MAN)
@${INSTALL_MAN} ${WRKDIR}/daemontools-man/*.8 ${PREFIX}/man/man8/
.endif
diff --git a/sysutils/daemontools/pkg-plist b/sysutils/daemontools/pkg-plist
index cfc31b19da20..dd5e640decb6 100644
--- a/sysutils/daemontools/pkg-plist
+++ b/sysutils/daemontools/pkg-plist
@@ -15,5 +15,4 @@ bin/envuidgid
bin/envdir
bin/setlock
bin/readproctitle
-share/examples/daemontools/svscan.sh.sample
-@dirrm share/examples/daemontools
+etc/rc.d/svscan.sh.sample