541cf69201
to the tree. There's still a small bit of work to do including adding conflicts for the existing DHCP ports (which should have been conflicting with each other already) and add a 41-devel port so people can use the headers and libraries.
23 lines
341 B
Bash
23 lines
341 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
[ $# != 2 ] && exit 1
|
|
[ -z "${PKG_PREFIX}" ] && exit 1
|
|
[ -n "${BATCH}" ] && exit 0
|
|
|
|
case $2 in
|
|
DEINSTALL)
|
|
if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then
|
|
${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceuninstall
|
|
fi
|
|
;;
|
|
POST-DEINSTALL)
|
|
;;
|
|
*)
|
|
echo "usage: $0 <PKG_NAME> {DEINSTALL|POST-DEINSTALL}" >&2
|
|
exit 1
|
|
;;
|
|
esac
|