diff options
author | jgh <jgh@FreeBSD.org> | 2012-03-29 08:45:24 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2012-03-29 08:45:24 +0800 |
commit | 6629860e22b507dad71b1eb890be1ba80953e8cf (patch) | |
tree | fbd602e4a7a520acafa553af450dacaf05f24dcc /mail | |
parent | c8203393b277f4e4b6285f384cfe12b0bcab5ae9 (diff) | |
download | freebsd-ports-gnome-6629860e22b507dad71b1eb890be1ba80953e8cf.tar.gz freebsd-ports-gnome-6629860e22b507dad71b1eb890be1ba80953e8cf.tar.zst freebsd-ports-gnome-6629860e22b507dad71b1eb890be1ba80953e8cf.zip |
- 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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/qmail-scanner/Makefile | 9 | ||||
-rw-r--r-- | mail/qmail-scanner/files/pkg-deinstall.in | 5 |
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 |