diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-12-27 15:44:55 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-12-27 15:44:55 +0000 |
commit | e33a65e92051c438038e9a5c63a56e717a8468a2 (patch) | |
tree | 1c30f88b85d449338e1c4683c45ca164583077b6 /sysutils/daemontools/Makefile | |
parent | 9da1342e0f0f87e2739b846004021736c4c8dcbd (diff) | |
download | pkgsrc-e33a65e92051c438038e9a5c63a56e717a8468a2.tar.gz |
Added daemontools-0.7:
Daemontools is a small set of /very/ useful utilities, from Dan
Bernstein. They are mainly used for controlling processes, and
maintaining logfiles.
Submitted by Tomasz Luchowski <zuntum@eik.pl> in PR 11674.
Diffstat (limited to 'sysutils/daemontools/Makefile')
-rw-r--r-- | sysutils/daemontools/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile new file mode 100644 index 00000000000..9559014392e --- /dev/null +++ b/sysutils/daemontools/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/27 15:44:55 hubertf Exp $ +# FreeBSD Id: ports/sysutils/daemontools/Makefile,v 1.8 2000/12/03 05:16:41 steve Exp + +DISTNAME= daemontools-0.70 +CATEGORIES= sysutils +MASTER_SITES= http://cr.yp.to/daemontools/ \ + ftp://cr.yp.to/daemontools/ \ + http://zuntum.eik.pl/pkgsrc/distfiles/ + +PATCH_SITES= http://www.fefe.de/daemontools/ +PATCHFILES= daemontools-0.70-man.diff.bz2 +PATCH_DIST_STRIP= -p1 + +MAINTAINER= zuntum@eik.pl +HOMEPAGE= http://cr.yp.to/daemontools.html + +ALL_TARGET= it +INSTALL_TARGET= setup check +SAMPLERC= svscan.sh.sample +SERVICEDIR?= /var/spool/service + +PLIST_SUBST+= SERVICEDIR=${SERVICEDIR} +DEINSTALL_FILE= ${WRKDIR}/.DEINSTALL + +post-patch: + @${ECHO} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + @${ECHO} "${CC} -s" > ${WRKSRC}/conf-ld + @${ECHO} "${PREFIX}" > ${WRKSRC}/conf-home + +post-build: + @${SED} \ + -e "s!/usr/local/!${PREFIX}/!" \ + -e "s!/var/service!${SERVICEDIR}!g" \ + ${FILESDIR}/${SAMPLERC} > ${WRKDIR}/${SAMPLERC} + @${SED} \ + -e "s!/var/service!${SERVICEDIR}!g" \ + ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/daemontools + ${INSTALL_DATA} ${WRKDIR}/${SAMPLERC} ${PREFIX}/share/examples/daemontools + ${INSTALL_DATA_DIR} ${SERVICEDIR} + +.include "../../mk/bsd.pkg.mk" |