1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/sysutils/daemontools/Makefile
Neil Blakey-Milner 38d0ebaebf Add a sample rc file for svscan startup, in partial fulfillment of the
PR.  I'll leave the creation of the directory, whatever it may be, to
the user.

PR:		ports/19191
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@linf.unb.br>
2000-06-22 09:22:15 +00:00

39 lines
899 B
Makefile

# New ports collection makefile for: daemontools
# Date created: 09 June 1998
# Whom: Dom Mitchell <dom@myrddin.demon.co.uk>
#
# $FreeBSD$
#
PORTNAME= daemontools
PORTVERSION= 0.70
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/daemontools/
MAINTAINER= nbm@FreeBSD.org
NO_PACKAGE= Unsure of djb\'s license
ALL_TARGET= it
INSTALL_TARGET= setup check
SAMPLERC= svscan.sh.sample
SERVICEDIR?= /var/service/
post-patch:
@echo "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@echo "${CC} -s" > ${WRKSRC}/conf-ld
@echo "${PREFIX}" > ${WRKSRC}/conf-home
post-build:
@${SED} "s!/usr/local/!${PREFIX}/!;s!/var/service!${SERVICEDIR}!g" \
${FILESDIR}/${SAMPLERC} > ${WRKDIR}/${SAMPLERC}
post-install:
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
${PREFIX}/share/examples/${PORTNAME}
@${INSTALL_DATA} ${WRKDIR}/${SAMPLERC} \
${PREFIX}/share/examples/${PORTNAME}
.include <bsd.port.mk>