1999-10-25 05:31:14 +02:00
|
|
|
# New ports collection makefile for: tdetect
|
1999-05-03 04:49:35 +02:00
|
|
|
# Date created: Sun Jan 31, 1997
|
|
|
|
# Whom: shipley@dis.org
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1999-05-03 04:49:35 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= tdetect
|
|
|
|
PORTVERSION= 0.2
|
1999-10-25 05:31:14 +02:00
|
|
|
CATEGORIES= net
|
2005-10-13 07:25:36 +02:00
|
|
|
MASTER_SITES= # disappeared
|
1999-05-03 04:49:35 +02:00
|
|
|
|
2008-09-03 05:42:43 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Utility for detecting traceroutes and reporting them via syslog
|
1999-05-03 04:49:35 +02:00
|
|
|
|
1999-10-25 06:03:28 +02:00
|
|
|
pre-configure:
|
2002-11-04 06:46:38 +01:00
|
|
|
${REINPLACE_CMD} -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h
|
|
|
|
${REINPLACE_CMD} -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h
|
1999-10-25 06:03:28 +02:00
|
|
|
|
1999-05-03 04:49:35 +02: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 14:37:06 +02:00
|
|
|
${INSTALL_SCRIPT} -m 750 ${FILESDIR}/tdetect.sh ${PREFIX}/etc/rc.d/tdetect.sh; \
|
1999-11-01 02:07:57 +01:00
|
|
|
${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}; \
|
1999-05-03 04:49:35 +02:00
|
|
|
fi
|
|
|
|
|
2006-06-23 07:28:33 +02:00
|
|
|
.include <bsd.port.mk>
|