git: 02c314673b9d - main - textproc/ansifilter: Update version 2.18=>2.19

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 29 Mar 2023 22:23:28 UTC
The branch main has been updated by bofh:

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

commit 02c314673b9d3bec8f84bfa19fef1bd0706f233e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-29 21:00:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-29 22:23:07 +0000

    textproc/ansifilter: Update version 2.18=>2.19
    
    - Make use of OPTIONSNG
    - Pet portclippy
    
    Changelog: http://www.andre-simon.de/doku/ansifilter/en/changelog.php
---
 textproc/ansifilter/Makefile | 15 +++++----------
 textproc/ansifilter/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/textproc/ansifilter/Makefile b/textproc/ansifilter/Makefile
index 71ac16480fe1..921fd6de3c1e 100644
--- a/textproc/ansifilter/Makefile
+++ b/textproc/ansifilter/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ansifilter
-PORTVERSION=	2.18
+PORTVERSION=	2.19
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.andre-simon.de/zip/
 
@@ -14,24 +14,19 @@ USES=		compiler:c++11-lib gmake tar:bzip2
 
 MAKEFILE=	makefile
 
-PORTDOCS=	ChangeLog.adoc README.adoc
 PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PORTDOCS=	ChangeLog.adoc README.adoc
 
 OPTIONS_DEFINE=		DOCS QT5
 
 QT5_USES=		qmake:norecursive qt:5
 QT5_USE=		QT=gui,widgets
 QT5_ALL_TARGET=		all all-gui
-QT5_PLIST_FILES=	bin/${PORTNAME}-gui
 QT5_DESKTOP_ENTRIES=	"ANSIFilter" "" "" "${PORTNAME}-gui" \
 			"TextTools;Utility;Qt;" ""
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MQT5}
-CONFIGURE_WRKSRC=	${WRKSRC}/src/qt-gui
-QMAKE_SOURCE_PATH=	${CONFIGURE_WRKSRC}/${PORTNAME}-gui.pro
-.endif
+QT5_PLIST_FILES=	bin/${PORTNAME}-gui
+QT5_VARS=	CONFIGURE_WRKSRC=${WRKSRC}/src/qt-gui \
+	QMAKE_SOURCE_PATH=${CONFIGURE_WRKSRC}/${PORTNAME}-gui.pro
 
 post-patch:
 	@${REINPLACE_CMD} -e \
diff --git a/textproc/ansifilter/distinfo b/textproc/ansifilter/distinfo
index d44f4930a070..59062318c901 100644
--- a/textproc/ansifilter/distinfo
+++ b/textproc/ansifilter/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612994262
-SHA256 (ansifilter-2.18.tar.bz2) = 66cf017d36a43d5f6ae20609ce3b58647494ee6c0e41fc682c598bffce7d7d39
-SIZE (ansifilter-2.18.tar.bz2) = 436432
+TIMESTAMP = 1680108989
+SHA256 (ansifilter-2.19.tar.bz2) = f9c27b1883914a1b1d4965f4c49b2be502e2a9fc9dd3f61123abeae989c354bc
+SIZE (ansifilter-2.19.tar.bz2) = 439141