aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2020-10-22 08:32:06 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2020-10-22 08:32:06 +0000
commite1e714b1ff935d8ad8a3b29690b82bc9c5b00a9b (patch)
tree58f97bfd2d38ce2397a43c610b9c05394ffe90d9 /mail
parent957b9a69a8894ed93aee3206b4ed2229ea7e18e8 (diff)
downloadports-e1e714b1ff935d8ad8a3b29690b82bc9c5b00a9b.tar.gz
ports-e1e714b1ff935d8ad8a3b29690b82bc9c5b00a9b.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/mailagent/Makefile5
-rw-r--r--mail/mailagent/files/pkg-message.in4
-rw-r--r--mail/mailagent/pkg-plist4
3 files changed, 7 insertions, 6 deletions
diff --git a/mail/mailagent/Makefile b/mail/mailagent/Makefile
index 3f9744e800ad..9e53c98f1a02 100644
--- a/mail/mailagent/Makefile
+++ b/mail/mailagent/Makefile
@@ -3,13 +3,16 @@
PORTNAME= mailagent
PORTVERSION= 3.1.78
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://eron.info/
MAINTAINER= ports@FreeBSD.org
COMMENT= Sophisticated automatic mail-processing tool
+LICENSE= ART10
+LICENSE_FILES= ${WRKSRC}/Artistic
+
USES= perl5 tar:bzip2
ORGFILE= ${PREFIX}/etc/mailagent.orgname
diff --git a/mail/mailagent/files/pkg-message.in b/mail/mailagent/files/pkg-message.in
index 0bfbbcf924ec..85a1c459438b 100644
--- a/mail/mailagent/files/pkg-message.in
+++ b/mail/mailagent/files/pkg-message.in
@@ -1,8 +1,6 @@
[
-{ type: install
+{ type: upgrade, maximum_version: 3.1.78_1,
message: <<EOM
-** Upgrade note from a previous version to mailagent-3.1.78_1 or later **
-
In order to make building of this port non-interactive, the build-time
manual configuration of FQDN and the organization name had been removed.
diff --git a/mail/mailagent/pkg-plist b/mail/mailagent/pkg-plist
index a55b1a4e0146..576f5500c79a 100644
--- a/mail/mailagent/pkg-plist
+++ b/mail/mailagent/pkg-plist
@@ -34,8 +34,8 @@ man/man1/edusers.1.gz
man/man1/mailagent.1.gz
man/man1/mailhelp.1.gz
man/man1/package.1.gz
-@exec [ -f %%ORGFILE%% ] || touch %%ORGFILE%% || true
-@unexec [ -s %%ORGFILE%% ] || rm -f %%ORGFILE%% || true
+@postexec [ -f %%ORGFILE%% ] || touch %%ORGFILE%% || true
+@rmempty %%ORGFILE%%
%%EXAMPLESDIR%%/agent/README
%%EXAMPLESDIR%%/agent/daemon
%%EXAMPLESDIR%%/agent/mailfolders