git: a3c7e5d6699a - main - textproc/modlogan: convert unexec to preunexec

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Thu, 11 Sep 2025 08:47:20 UTC
The branch main has been updated by netchild:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3c7e5d6699abb3dcdfee9081a122e4c9321589e

commit a3c7e5d6699abb3dcdfee9081a122e4c9321589e
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2025-08-29 08:37:33 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2025-09-11 08:42:12 +0000

    textproc/modlogan: convert unexec to preunexec
---
 textproc/modlogan/Makefile  | 2 +-
 textproc/modlogan/pkg-plist | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/textproc/modlogan/Makefile b/textproc/modlogan/Makefile
index 8f161fdd2e16..acbf99a94c69 100644
--- a/textproc/modlogan/Makefile
+++ b/textproc/modlogan/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	modlogan
 PORTVERSION=	0.8.13
-PORTREVISION=	19
+PORTREVISION=	20
 CATEGORIES=	textproc www
 MASTER_SITES=	http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/
 
diff --git a/textproc/modlogan/pkg-plist b/textproc/modlogan/pkg-plist
index 83d1af02b4d7..e2061b68cc95 100644
--- a/textproc/modlogan/pkg-plist
+++ b/textproc/modlogan/pkg-plist
@@ -10,11 +10,11 @@ etc/modlogan/match.os.conf
 etc/modlogan/match.searchengines.conf
 etc/modlogan/match.ua.conf
 etc/modlogan/match.useragents.conf
-@unexec if cmp -s %D/etc/modlogan/modlogan.conf %D/etc/modlogan/modlogan.conf-dist; then rm -f %D/etc/modlogan/modlogan.conf; fi
+@preunexec if cmp -s %D/etc/modlogan/modlogan.conf %D/etc/modlogan/modlogan.conf-dist; then rm -f %D/etc/modlogan/modlogan.conf; fi
 etc/modlogan/modlogan.conf-dist
-@unexec if cmp -s %D/etc/modlogan/modlogan.css %D/etc/modlogan/modlogan.css-dist; then rm -f %D/etc/modlogan/modlogan.css; fi
+@preunexec if cmp -s %D/etc/modlogan/modlogan.css %D/etc/modlogan/modlogan.css-dist; then rm -f %D/etc/modlogan/modlogan.css; fi
 etc/modlogan/modlogan.css-dist
-@unexec if cmp -s %D/etc/modlogan/modlogan.def.conf %D/etc/modlogan/modlogan.def.conf-dist; then rm -f %D/etc/modlogan/modlogan.def.conf; fi
+@preunexec if cmp -s %D/etc/modlogan/modlogan.def.conf %D/etc/modlogan/modlogan.def.conf-dist; then rm -f %D/etc/modlogan/modlogan.def.conf; fi
 etc/modlogan/modlogan.def.conf-dist
 lib/libmla_input_bsdftpd.a
 lib/libmla_input_bsdftpd.so