aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-03-29 00:45:24 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-03-29 00:45:24 +0000
commitdf42f1e1537a58a23296db859e9883e927ef5e7b (patch)
tree40ff2263ed31b14b7dd1c024a7115c6828161052 /mail
parent234db45bce18570d2335950d907f73d5ea892595 (diff)
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail-scanner/Makefile9
-rw-r--r--mail/qmail-scanner/files/pkg-deinstall.in5
2 files changed, 7 insertions, 7 deletions
diff --git a/mail/qmail-scanner/Makefile b/mail/qmail-scanner/Makefile
index 96af0a5e3637..bce0819c858a 100644
--- a/mail/qmail-scanner/Makefile
+++ b/mail/qmail-scanner/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qmail-scanner
PORTVERSION= 2.01
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= mail security
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
@@ -60,7 +60,7 @@ OPTIONS= TNEF "Mark Simpson's Patch (Recommended)" on \
NORMALIZE "Decode encoded headers per MIME Base64" off \
CWRAPPER "use C wrapper (no suid perl script needed)" on
-SUB_FILES= pkg-install pkg-message
+SUB_FILES= pkg-deinstall pkg-install pkg-message
SUB_LIST+= QS_USER=${QS_USER} \
QS_ID=${QS_ID} \
SPOOLDIR=${SPOOLDIR}
@@ -264,11 +264,6 @@ do-install:
@${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
-post-deinstall:
- @${ECHO_MSG}
- @${ECHO_MSG} "If you're not updating this port, you can delete directory '${SPOOLDIR}'."
- @${ECHO_MSG} ""
-
test:
@${WRKSRC}/contrib/test_installation.sh -doit
diff --git a/mail/qmail-scanner/files/pkg-deinstall.in b/mail/qmail-scanner/files/pkg-deinstall.in
new file mode 100644
index 000000000000..b5be2efd41d8
--- /dev/null
+++ b/mail/qmail-scanner/files/pkg-deinstall.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "$2" = "DEINSTALL" ]; then
+ echo "If you're not updating this port, you can delete directory %%SPOOLDIR%%"
+fi