From 6629860e22b507dad71b1eb890be1ba80953e8cf Mon Sep 17 00:00:00 2001 From: jgh Date: Thu, 29 Mar 2012 00:45:24 +0000 Subject: - drop invalid post-deinstall target - add pkg-deinstall script and add to SUB_FILES PR: ports/166122 Submitted by: jgh Approved by: maintainer timeout ( 14 days ) Feature safe: yes --- mail/qmail-scanner/Makefile | 9 ++------- mail/qmail-scanner/files/pkg-deinstall.in | 5 +++++ 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 mail/qmail-scanner/files/pkg-deinstall.in (limited to 'mail') 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 -- cgit