summaryrefslogtreecommitdiffstats
path: root/net/cflowd/Makefile
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2001-03-25 10:37:36 +0000
committerandreas <andreas@FreeBSD.org>2001-03-25 10:37:36 +0000
commit09ea5062344adbfadf24ea9cef0134956da06c2d (patch)
tree492cc6e7fccd47fc1e2965dbe5c7cc5cec01cc07 /net/cflowd/Makefile
parentea07eae9237fb4941fa6410c119fd416222895a1 (diff)
downloadFreeBSD-ports-09ea5062344adbfadf24ea9cef0134956da06c2d.zip
FreeBSD-ports-09ea5062344adbfadf24ea9cef0134956da06c2d.tar.gz
Add a start stop script to the port which starts up services
delayed so that every service has a chance to come up properly before the next one begins Additionally provide graceful delayed shutdown of services by using killall -15. Install startup script as .sample file, since cflowd (and flowscan) are not easy ports. You should read the docu properly.
Diffstat (limited to 'net/cflowd/Makefile')
-rw-r--r--net/cflowd/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/cflowd/Makefile b/net/cflowd/Makefile
index 05b5484..311e903 100644
--- a/net/cflowd/Makefile
+++ b/net/cflowd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cflowd
PORTVERSION= 2-1-b1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -37,4 +37,8 @@ pre-everything:
@${ECHO} "make CFLOWD_FLOWSCAN_PATCH=yes"
.endif
+post-install:
+ ${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
+ ${PREFIX}/etc/rc.d/cflowd.sh.sample
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud