1998-06-16 07:47:03 +00:00
|
|
|
# New ports collection makefile for: daemontools
|
|
|
|
# Date created: 09 June 1998
|
|
|
|
# Whom: Dom Mitchell <dom@myrddin.demon.co.uk>
|
|
|
|
#
|
1999-08-31 02:00:46 +00:00
|
|
|
# $FreeBSD$
|
1998-06-16 07:47:03 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:09:11 +00:00
|
|
|
PORTNAME= daemontools
|
2000-04-27 21:43:43 +00:00
|
|
|
PORTVERSION= 0.70
|
1998-06-16 07:47:03 +00:00
|
|
|
CATEGORIES= sysutils
|
2000-04-27 21:43:43 +00:00
|
|
|
MASTER_SITES= http://cr.yp.to/daemontools/
|
1998-06-16 07:47:03 +00:00
|
|
|
|
2000-04-27 21:43:43 +00:00
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
1998-06-16 07:47:03 +00:00
|
|
|
|
2000-04-27 21:43:43 +00:00
|
|
|
NO_PACKAGE= Unsure of djb\'s license
|
1998-06-16 07:47:03 +00:00
|
|
|
|
2000-04-27 21:43:43 +00:00
|
|
|
ALL_TARGET= it
|
|
|
|
INSTALL_TARGET= setup check
|
1998-06-16 07:47:03 +00:00
|
|
|
|
2000-06-22 09:22:15 +00:00
|
|
|
SAMPLERC= svscan.sh.sample
|
|
|
|
SERVICEDIR?= /var/service/
|
|
|
|
|
2000-04-27 21:43:43 +00:00
|
|
|
post-patch:
|
|
|
|
@echo "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
|
|
|
@echo "${CC} -s" > ${WRKSRC}/conf-ld
|
|
|
|
@echo "${PREFIX}" > ${WRKSRC}/conf-home
|
1998-06-16 07:47:03 +00:00
|
|
|
|
2000-06-22 09:22:15 +00:00
|
|
|
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}
|
|
|
|
|
1998-06-16 07:47:03 +00:00
|
|
|
.include <bsd.port.mk>
|