aboutsummaryrefslogtreecommitdiff
path: root/net/tdetect/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-03 02:49:35 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-03 02:49:35 +0000
commitf61a972ad17fae709a3d09d5b8943bf062a3b46b (patch)
treed836ec303ec95a48bccbed8b6d9b26cf4ea42187 /net/tdetect/Makefile
parentfc76415ee83814ac16229608041ab0879d3fc542 (diff)
downloadports-f61a972ad17fae709a3d09d5b8943bf062a3b46b.tar.gz
ports-f61a972ad17fae709a3d09d5b8943bf062a3b46b.zip
Notes
Diffstat (limited to 'net/tdetect/Makefile')
-rw-r--r--net/tdetect/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile
new file mode 100644
index 000000000000..3652fee5f5a1
--- /dev/null
+++ b/net/tdetect/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: oneko
+# Ports collection makefile for: tdetect
+# Version required: 0.2
+# Date created: Sun Jan 31, 1997
+# Whom: shipley@dis.org
+#
+# $Id$
+#
+
+DISTNAME= tdetect-0.2
+PKGNAME= tdetect-0.2.1
+CATEGORIES= net
+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
+
+#WRKSRC= ${WRKDIR}/tdetect-0.2
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect
+
+post-install:
+ strip ${PREFIX}/sbin/tdetect
+ @if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \
+ ${ECHO} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \
+ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/tdetect.sh; \
+ ${ECHO} "ethernetdev=ed0" > ${PREFIX}/etc/rc.d/tdetect.sh; \
+ ${ECHO} "[ -x ${PREFIX}/sbin/tdetect ] && ${PREFIX}/sbin/tdetect \$ethernetdev && echo -n ' tdetect'" >> ${PREFIX}/etc/rc.d/tdetect.sh; \
+ chmod 750 ${PREFIX}/etc/rc.d/tdetect.sh; \
+ ${ECHO} "IMPORTANT ${PREFIX}/etc/rc.d/tdetect.sh and set ethernetdev to the name of the ethernetdev you wish to monitor"; \
+ fi
+
+.include <bsd.port.mk>