svn commit: r552948 - in head/mail/mailagent: . files

Baptiste Daroussin bapt at FreeBSD.org
Thu Oct 22 08:32:07 UTC 2020


Author: bapt
Date: Thu Oct 22 08:32:06 2020
New Revision: 552948
URL: https://svnweb.freebsd.org/changeset/ports/552948

Log:
  Use @rmempty
  
  While here:
  - Document license
  - Modify the message to only show up for users upgrading from a version
    lower then 3.1.78_1 as it was meant to be
  - replace @exec by @postexec

Modified:
  head/mail/mailagent/Makefile
  head/mail/mailagent/files/pkg-message.in
  head/mail/mailagent/pkg-plist

Modified: head/mail/mailagent/Makefile
==============================================================================
--- head/mail/mailagent/Makefile	Thu Oct 22 08:30:28 2020	(r552947)
+++ head/mail/mailagent/Makefile	Thu Oct 22 08:32:06 2020	(r552948)
@@ -3,12 +3,15 @@
 
 PORTNAME=		mailagent
 PORTVERSION=		3.1.78
-PORTREVISION=		2
+PORTREVISION=		3
 CATEGORIES=		mail
 MASTER_SITES=		http://eron.info/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Sophisticated automatic mail-processing tool
+
+LICENSE=	ART10
+LICENSE_FILES=	${WRKSRC}/Artistic
 
 USES=		perl5 tar:bzip2
 

Modified: head/mail/mailagent/files/pkg-message.in
==============================================================================
--- head/mail/mailagent/files/pkg-message.in	Thu Oct 22 08:30:28 2020	(r552947)
+++ head/mail/mailagent/files/pkg-message.in	Thu Oct 22 08:32:06 2020	(r552948)
@@ -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.
 

Modified: head/mail/mailagent/pkg-plist
==============================================================================
--- head/mail/mailagent/pkg-plist	Thu Oct 22 08:30:28 2020	(r552947)
+++ head/mail/mailagent/pkg-plist	Thu Oct 22 08:32:06 2020	(r552948)
@@ -34,8 +34,8 @@ man/man1/edusers.1.gz
 man/man1/mailagent.1.gz
 man/man1/mailhelp.1.gz
 man/man1/package.1.gz
- at exec [ -f %%ORGFILE%% ] || touch %%ORGFILE%% || true
- at unexec [ -s %%ORGFILE%% ] || rm -f %%ORGFILE%% || true
+ at postexec [ -f %%ORGFILE%% ] || touch %%ORGFILE%% || true
+ at rmempty %%ORGFILE%%
 %%EXAMPLESDIR%%/agent/README
 %%EXAMPLESDIR%%/agent/daemon
 %%EXAMPLESDIR%%/agent/mailfolders


More information about the svn-ports-head mailing list