1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

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
This commit is contained in:
Peter Pentchev 2003-01-17 15:06:24 +00:00
parent f2fd682bde
commit ba40505c14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73356
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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