1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/mail/spamd/pkg-deinstall
Olli Hauer 661cae34a5 - update to version 4.9.1
- always add required entries to /etc/services [1]
- use USER framework (PR ports/152498 was committed)

PR:		[1] ports/157266
Submitted by:	[1] Jimmy Olgeni olgeni@
2011-06-04 21:51:59 +00:00

17 lines
301 B
Makefile

#!/bin/sh
#
# ex:ts=4:sw=4:noet
#-*- mode: makefile; tab-width: 4; -*-
#
# $FreeBSD$
if [ "$2" = "DEINSTALL" ]; then
FILE="/etc/services"
echo "===> Removing spamd entries from ${FILE}"
sed -i '' \
-e "/^spamd-sync.*8025/d" \
-e "/^spamd-cfg.*8026/d" \
-e "/^spamd.*8025/d" \
${FILE}
fi