1999-10-25 03:31:14 +00:00
|
|
|
# New ports collection makefile for: tdetect
|
1999-05-03 02:49:35 +00:00
|
|
|
# Date created: Sun Jan 31, 1997
|
|
|
|
# Whom: shipley@dis.org
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1999-05-03 02:49:35 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= tdetect
|
|
|
|
PORTVERSION= 0.2
|
1999-10-25 03:31:14 +00:00
|
|
|
CATEGORIES= net
|
1999-05-03 02:49:35 +00:00
|
|
|
MASTER_SITES= http://sb.123.org/ \
|
|
|
|
http://www.genocide2600.com/~tattooman/unix-loggers/ \
|
|
|
|
http://ftp.ceti.com.pl/pub/scout/progs/Unix/
|
|
|
|
|
|
|
|
MAINTAINER= shipley@dis.org
|
|
|
|
|
1999-10-25 04:03:28 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${PERL} -pi.dist -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h
|
|
|
|
.if ${OSVERSION} > 330002
|
|
|
|
${PERL} -pi.orig -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h
|
|
|
|
.endif
|
|
|
|
|
1999-05-03 02:49:35 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \
|
|
|
|
${ECHO} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \
|
2000-07-05 12:37:06 +00:00
|
|
|
${INSTALL_SCRIPT} -m 750 ${FILESDIR}/tdetect.sh ${PREFIX}/etc/rc.d/tdetect.sh; \
|
1999-11-01 01:07:57 +00:00
|
|
|
${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}; \
|
1999-05-03 02:49:35 +00:00
|
|
|
fi
|
|
|
|
|
1999-10-25 04:03:28 +00:00
|
|
|
.include <bsd.port.post.mk>
|