Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (34 sloc) 1.358 kB
# $NetBSD: Makefile,v 1.34 2011/09/14 17:43:32 hans 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
LICENSE= public-domain
MANPAGES= ${DISTNAME}-man-20020131.tar.gz
SITES.${MANPAGES}= http://smarden.org/pape/djb/manpages/
DJB_RESTRICTED= no
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
DJB_SLASHPACKAGE= YES
CMDDIR= ${WRKSRC}/command
INSTALLATION_DIRS= bin man ${PKGMANDIR}/man8
SUBST_FILES.djbware+= src/error.h
MAKE_ENV+= PKGSRC_SHELL=${TOOLS_PLATFORM.sh}
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 ${DESTDIR}${PREFIX}/bin; \
else \
${INSTALL_PROGRAM} ${CMDDIR}/$$cmd ${DESTDIR}${PREFIX}/bin; \
fi \
done) < ${WRKSRC}/package/commands
cd ${WRKDIR}/*-man; for i in 8; do \
for j in *.$$i; do ${INSTALL_MAN} $$j ${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; done \
done
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.