pkgsrc/sysutils/daemontools/Makefile
schmonz 99b5b3535c This package's installation bears little resemblance to DJB's
instructions. We're not ready to accommodate /package yet, but we
can at least avoid giving bad advice and installing a misleading
rc.d script. Setting up svscan and /service for the first time can
be confusing enough for a new user on its own merits. Bump
PKGREVISION.
2006-01-14 07:00:30 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2006/01/14 07:00:30 schmonz Exp $
DISTNAME= daemontools-0.76
PKGREVISION= 1
CATEGORIES= sysutils
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
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
DJB_SLASHPACKAGE= YES
CMDDIR= ${WRKSRC}/command
INSTALLATION_DIRS= bin man man/man8
SUBST_FILES.djbware+= src/error.h
do-install:
(while read cmd; do \
if ${FILE_CMD} ${CMDDIR}/$$cmd | ${EGREP} "(executable .* script|shell script|text)" >/dev/null 2>&1; then \
${INSTALL_SCRIPT} ${CMDDIR}/$$cmd ${PREFIX}/bin; \
else \
${INSTALL_PROGRAM} ${CMDDIR}/$$cmd ${PREFIX}/bin; \
fi \
done) < ${WRKSRC}/package/commands
post-install:
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"