mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- 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
This commit is contained in:
parent
234db45bce
commit
df42f1e153
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293954
@ -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
|
||||
|
||||
|
5
mail/qmail-scanner/files/pkg-deinstall.in
Normal file
5
mail/qmail-scanner/files/pkg-deinstall.in
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$2" = "DEINSTALL" ]; then
|
||||
echo "If you're not updating this port, you can delete directory %%SPOOLDIR%%"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user