diff options
author | roam <roam@FreeBSD.org> | 2002-02-07 14:57:58 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2002-02-07 14:57:58 +0000 |
commit | 54e17de507979a6ce585de01d39cedb3c3533e5d (patch) | |
tree | 8e973e0788aba79d8cb9dc4c3a7fd10c4ea591f0 /sysutils/daemontools | |
parent | 82fd11b09af5078b899c1958b8476453ca094a15 (diff) | |
download | FreeBSD-ports-54e17de507979a6ce585de01d39cedb3c3533e5d.zip FreeBSD-ports-54e17de507979a6ce585de01d39cedb3c3533e5d.tar.gz |
Install Gerritt Pape's manual pages unless WITHOUT_MAN is defined.
Properly remove the sample svscan.sh script at deinstall time.
Diffstat (limited to 'sysutils/daemontools')
-rw-r--r-- | sysutils/daemontools/Makefile | 18 | ||||
-rw-r--r-- | sysutils/daemontools/distinfo | 1 | ||||
-rw-r--r-- | sysutils/daemontools/pkg-plist | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile index 72d73f3..69be10b 100644 --- a/sysutils/daemontools/Makefile +++ b/sysutils/daemontools/Makefile @@ -7,10 +7,23 @@ PORTNAME= daemontools PORTVERSION= 0.76 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://cr.yp.to/daemontools/ \ ftp://cr.yp.to/daemontools/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + +.if !defined(WITHOUT_MAN) +MANDATE= -20010714 +MASTER_SITES+= http://smarden.org/pape/djb/manpages/:1 +DISTFILES+= ${DISTNAME}-man${MANDATE}.tar.gz:1 + +MAN8= envdir.8 envuidgid.8 fghack.8 multilog.8 pgrphack.8 \ + readproctitle.8 setlock.8 setuidgid.8 softlimit.8 \ + supervise.8 svc.8 svok.8 svscan.8 svscanboot.8 svstat.8 \ + tai64n.8 tai64nlocal.8 +MANCOMPRESSED= no +.endif MAINTAINER= roam@FreeBSD.org @@ -45,5 +58,8 @@ post-install: ${PREFIX}/share/examples/${PORTNAME} @${INSTALL_DATA} ${WRKDIR}/${SAMPLERC} \ ${PREFIX}/share/examples/${PORTNAME} +.if !defined(WITHOUT_MAN) + @${INSTALL_MAN} ${WRKDIR}/daemontools-man/*.8 ${PREFIX}/man/man8/ +.endif .include <bsd.port.mk> diff --git a/sysutils/daemontools/distinfo b/sysutils/daemontools/distinfo index 6aa5381..120ae77 100644 --- a/sysutils/daemontools/distinfo +++ b/sysutils/daemontools/distinfo @@ -1 +1,2 @@ MD5 (daemontools-0.76.tar.gz) = 1871af2453d6e464034968a0fbcb2bfc +MD5 (daemontools-0.76-man-20010714.tar.gz) = 7f8105a2d6f3f7f9482dbdb6f4c78d1f diff --git a/sysutils/daemontools/pkg-plist b/sysutils/daemontools/pkg-plist index 058755f..cfc31b1 100644 --- a/sysutils/daemontools/pkg-plist +++ b/sysutils/daemontools/pkg-plist @@ -15,3 +15,5 @@ bin/envuidgid bin/envdir bin/setlock bin/readproctitle +share/examples/daemontools/svscan.sh.sample +@dirrm share/examples/daemontools |