summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-02-07 14:57:58 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-02-07 14:57:58 +0000
commit863b8c0aed69bad267fd2296b709d205e7ef2e56 (patch)
tree715a17f96d920d6202c717e1f3c56811b3131388 /sysutils
parentPort for licq 1.1.0 devel 2002-01-28 snapshot (repo-copied from `licq' port). (diff)
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')
-rw-r--r--sysutils/daemontools/Makefile18
-rw-r--r--sysutils/daemontools/distinfo1
-rw-r--r--sysutils/daemontools/pkg-plist2
3 files changed, 20 insertions, 1 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index 72d73f35d95c..69be10b33008 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 6aa538115d84..120ae77c8702 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 058755f009b3..cfc31b19da20 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