- drop invalid post-deinstall target
- add pkg-deinstall script and add to SUB_FILES PR: ports/166123 Submitted by: jgh Approved by: maintainer timeout ( 14 days ) Feature safe: yes
This commit is contained in:
parent
df42f1e153
commit
198a862815
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293955
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= qmail-scanner
|
||||
PORTVERSION= 1.25
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail security
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
|
||||
@ -21,6 +21,9 @@ BUILD_DEPENDS= reformime:${PORTSDIR}/mail/maildrop \
|
||||
|
||||
MANUAL_PACKAGE_BUILD= Requires qmail built with non-standard setting
|
||||
|
||||
SUB_FILES= pkg-deinstall
|
||||
SUB_LIST= SPOOLDIR=${SPOOLDIR}
|
||||
|
||||
NO_LATEST_LINK= yes
|
||||
CONFLICTS= qmail-scanner-2.*
|
||||
|
||||
@ -161,11 +164,6 @@ do-install:
|
||||
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${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-scanner1/files/pkg-deinstall.in
Normal file
5
mail/qmail-scanner1/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