mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
661cae34a5
- 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@
17 lines
301 B
Makefile
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
|