summaryrefslogtreecommitdiff
path: root/sysutils/daemontools/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-04-09 22:36:56 +0000
committerschmonz <schmonz@pkgsrc.org>2005-04-09 22:36:56 +0000
commit6b25bba79076e807ecfcef07316cf15a668d90ba (patch)
tree7f4b032a9a6049847f7bc7720b18abbd1e74ab1b /sysutils/daemontools/Makefile
parent99de4bd210017535dfcdef81f17dd424df94cbaf (diff)
downloadpkgsrc-6b25bba79076e807ecfcef07316cf15a668d90ba.tar.gz
Standardize handling of additional distfiles (such as externally
supplied manual pages) across djbware.
Diffstat (limited to 'sysutils/daemontools/Makefile')
-rw-r--r--sysutils/daemontools/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index d295c9ba0f6..de13d257a41 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.20 2005/03/24 21:13:01 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2005/04/09 22:36:56 schmonz Exp $
DISTNAME= daemontools-0.76
CATEGORIES= sysutils
-MASTER_SITES= http://cr.yp.to/daemontools/ \
- ftp://cr.yp.to/daemontools/ \
- http://smarden.org/pape/djb/manpages/
-DISTFILES= ${DISTNAME}.tar.gz \
- ${DISTNAME}-man.tar.gz
+MASTER_SITES= http://cr.yp.to/daemontools/ ftp://cr.yp.to/daemontools/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/daemontools.html
COMMENT= Service monitoring and logging utilities by djb
+MANPAGES= ${DISTNAME}-man-20020131.tar.gz
+SITES_${MANPAGES}= http://smarden.org/pape/djb/manpages/
+
DJB_RESTRICTED= YES
PKG_INSTALLATION_TYPES= overwrite pkgviews
@@ -54,7 +54,9 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/${SAMPLERC} \
${PREFIX}/share/examples/daemontools
${INSTALL_DATA_DIR} ${SERVICEDIR}
- cd ${WRKDIR}/${PKGBASE}-man && ${INSTALL_MAN} *.8 ${PREFIX}/man/man8
+ cd ${WRKDIR}/*-man; for i in 8; do \
+ for j in *.$$i; do ${INSTALL_MAN} $$j ${PREFIX}/man/man$$i; done \
+ done
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"