aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/smokeping/files/pkg-deinstall.in
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2010-02-15 12:53:24 +0000
committerLars Thegler <lth@FreeBSD.org>2010-02-15 12:53:24 +0000
commit58af4c38fb0bae5d9255d4ecebf0c374eb4854ea (patch)
tree6a8b211953ada02091c9455e4204adcce2155f30 /net-mgmt/smokeping/files/pkg-deinstall.in
parentd60f8b3931f07ab579f68c45c72074cddadfc5e8 (diff)
downloadports-58af4c38fb0bae5d9255d4ecebf0c374eb4854ea.tar.gz
ports-58af4c38fb0bae5d9255d4ecebf0c374eb4854ea.zip
by switching to using $USERS & $GROUPS pkg-install is no longer required
pkg-deinstall only needs to handle the removal of the .pid file use @stopdaemon to stop smoking instead of invoking smokeping stop manually by pkg-deinstall use bsd.port.options.mk use SUB_FILES to update pkg-message PR: ports/143182 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=249882
Diffstat (limited to 'net-mgmt/smokeping/files/pkg-deinstall.in')
-rw-r--r--net-mgmt/smokeping/files/pkg-deinstall.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-mgmt/smokeping/files/pkg-deinstall.in b/net-mgmt/smokeping/files/pkg-deinstall.in
new file mode 100644
index 000000000000..e2604e6cb88e
--- /dev/null
+++ b/net-mgmt/smokeping/files/pkg-deinstall.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $FreeBSD: /tmp/pcvs/ports/net-mgmt/smokeping/files/pkg-deinstall.in,v 1.1 2010-02-15 12:53:24 lth Exp $
+#
+
+if [ -f ${PKG_PREFIX}/var/smokeping/smokeping.pid ]; then
+rm ${PKG_PREFIX}/var/smokeping/smokeping.pid
+fi
+