git: 23bd88e6884a - main - devel/libepp-nicbr: Update version 1.18=>1.19

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 04 Nov 2023 19:51:37 UTC
The branch main has been updated by bofh:

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

commit 23bd88e6884aabff65401808ddb08231fdabb617
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-04 19:42:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-04 19:51:17 +0000

    devel/libepp-nicbr: Update version 1.18=>1.19
    
    - Use dist configure
    - Move WWW reference to Makefile
    - Pet portclippy
    - Adopt port
    
    Changelog: https://registro.br/tecnologia/epp-ChangeLog
---
 devel/libepp-nicbr/Makefile                 | 19 ++++++++++--------
 devel/libepp-nicbr/distinfo                 |  6 +++---
 devel/libepp-nicbr/files/patch-configure.ac | 31 -----------------------------
 devel/libepp-nicbr/pkg-descr                |  5 +----
 4 files changed, 15 insertions(+), 46 deletions(-)

diff --git a/devel/libepp-nicbr/Makefile b/devel/libepp-nicbr/Makefile
index 4afb33100f35..365994d2f5d0 100644
--- a/devel/libepp-nicbr/Makefile
+++ b/devel/libepp-nicbr/Makefile
@@ -1,22 +1,25 @@
 PORTNAME=	libepp-nicbr
-PORTVERSION=	1.18
+PORTVERSION=	1.19
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.registro.br/pub/libepp-nicbr/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Partial Extensible Provisioning Protocol to .br domains
-WWW=		https://registro.br/epp/
+WWW=		https://registro.br/epp/ \
+		https://registro.br/epp/rfc-EN.html
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libxerces-c.so:textproc/xerces-c3
 
-USES=		autoreconf libtool ssl
+USES=		libtool pkgconfig ssl
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	ac_cv_header_cppunit_TestRunner_h=no
+
 CONFIGURE_ARGS=	--with-xerces-c=${LOCALBASE} \
-		--with-openssl=${OPENSSLBASE}
+		--with-openssl=${OPENSSLBASE} \
+		--with-readline-includes=${LOCALBASE}/include
+CONFIGURE_ENV=	ac_cv_header_cppunit_TestRunner_h=no
 
 DATADIR=	${PREFIX}/share/${PORTNAME:S/-/_/}
 
@@ -32,8 +35,8 @@ READLINE_CONFIGURE_ENV_OFF=\
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MREADLINE} && !exists(/usr/lib/libreadline.so)
-CONFIGURE_ARGS+=--with-readline-includes=${LOCALBASE}/include
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=unused-but-set-variable
 .endif
 
 .include <bsd.port.mk>
diff --git a/devel/libepp-nicbr/distinfo b/devel/libepp-nicbr/distinfo
index 92f36dced0d9..cb0b4c104ae1 100644
--- a/devel/libepp-nicbr/distinfo
+++ b/devel/libepp-nicbr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637613425
-SHA256 (libepp-nicbr-1.18.tar.gz) = 7d6b9a116b601ee59df0c6181efe5229c4a2da87deba995d86f4f2d32b886477
-SIZE (libepp-nicbr-1.18.tar.gz) = 401806
+TIMESTAMP = 1699125291
+SHA256 (libepp-nicbr-1.19.tar.gz) = c352d80d2575caf7f0cefad4f74d2370f7854c308358b3e7a9e239e971261cb7
+SIZE (libepp-nicbr-1.19.tar.gz) = 405907
diff --git a/devel/libepp-nicbr/files/patch-configure.ac b/devel/libepp-nicbr/files/patch-configure.ac
deleted file mode 100644
index 51d7033e4242..000000000000
--- a/devel/libepp-nicbr/files/patch-configure.ac
+++ /dev/null
@@ -1,31 +0,0 @@
-From 72fa94e12e2c6252d1dec843b15226ba54ee6188 Mon Sep 17 00:00:00 2001
-From: Roger Leigh <rleigh@codelibre.net>
-Date: Sun, 3 Sep 2017 18:54:28 +0100
-Subject: [PATCH 05/13] devel/libepp-nicbr: Patch to correct use of CXXFLAGS in
- configure.ac
-
----
- devel/libepp-nicbr/files/patch-configure.ac | 11 +++++++++++
- 1 file changed, 11 insertions(+)
- create mode 100644 devel/libepp-nicbr/files/patch-configure.ac
-
-diff --git a/devel/libepp-nicbr/files/patch-configure.ac b/devel/libepp-nicbr/files/patch-configure.ac
-new file mode 100644
-index 000000000000..9da8c3a8ef4e
---- /dev/null
-+++ b/devel/libepp-nicbr/files/patch-configure.ac
-@@ -0,0 +1,11 @@
-+--- configure.ac.orig	2017-09-03 17:27:58 UTC
-++++ configure.ac
-+@@ -74,7 +74,7 @@ AC_ARG_WITH([no-secdns-1-0],
-+ )
-+ 
-+ CFLAGS="$CFLAGS -I../include"
-+-CXXFLAGS="${CFLAGS}"
-++CXXFLAGS="${CXXFLAGS} -I../include"
-+ 
-+ #Check for xerves-c library
-+ xercesc_path="/usr/local"
--- 
-2.14.1
-
diff --git a/devel/libepp-nicbr/pkg-descr b/devel/libepp-nicbr/pkg-descr
index 67066ab6357e..5e43770cfecb 100644
--- a/devel/libepp-nicbr/pkg-descr
+++ b/devel/libepp-nicbr/pkg-descr
@@ -8,7 +8,4 @@ attributes of the Domain Object.
 In order to conform to the .BR model, extensions to the EPP Domain Name
 and Contact Mapping were made (draft-neves-epp-brdomain and
 draft-neves-epp-brorg), supported since version 0.2. The documentation
-for these extensions is available at EPP References [1].
-
-[1]
-http://registro.br/epp/rfc-EN.html
+for these extensions is available at EPP References.