git: bfb1c4a0dfd1 - main - irc/epic4: Update to 3.0

From: Gabriel M. Dutra <dutra_at_FreeBSD.org>
Date: Sat, 07 Sep 2024 21:37:57 UTC
The branch main has been updated by dutra:

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

commit bfb1c4a0dfd18db18a8c71233a73ab87a42e3ba2
Author:     Gabriel M. Dutra <dutra@FreeBSD.org>
AuthorDate: 2024-09-07 21:32:35 +0000
Commit:     Gabriel M. Dutra <dutra@FreeBSD.org>
CommitDate: 2024-09-07 21:36:43 +0000

    irc/epic4: Update to 3.0
    
    changes:
      * Fix configure probes for sockaddr_storage et al on glibc >= 2.39
      * Celebrating 30 years of EPIC with ceremonial 3.0 release
    
    PR:             281303
    Reported by:    epic at dsllsn.net
---
 irc/epic4/Makefile  | 10 +++-------
 irc/epic4/distinfo  |  6 +++---
 irc/epic4/pkg-plist |  2 +-
 3 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile
index 5c812c2e00f0..29ebfff908a6 100644
--- a/irc/epic4/Makefile
+++ b/irc/epic4/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	epic4
-DISTVERSION=	2.10.11
+DISTVERSION=	3.0
 CATEGORIES=	irc
 MASTER_SITES=	https://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
@@ -16,8 +16,8 @@ USES=		ncurses tar:xz
 CONFLICTS=	epic5-0.[0-2]*
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-PLIST_SUB+=	PORTVERSION=${PORTVERSION}
+
+PLIST_SUB+=	DISTVERSION=${DISTVERSION}
 CFLAGS:=	${CFLAGS:C/-O2/-O/g}
 CFLAGS+=	-Wno-pointer-sign
 
@@ -37,12 +37,8 @@ PERL_USES=		perl5
 
 .include <bsd.port.options.mk>
 
-post-extract:
-	@${FIND} ${WRKDIR} -type d -name CVS -delete
-
 post-patch:
 	@${RM} ${WRKDIR}/help/Makefile
-	@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/epic-EPIC4-${DISTVERSION}
diff --git a/irc/epic4/distinfo b/irc/epic4/distinfo
index 8f4e8e5b814e..53d52c7a7e7a 100644
--- a/irc/epic4/distinfo
+++ b/irc/epic4/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1711984112
-SHA256 (epic4-2.10.11.tar.xz) = 622f9a11d86cb6b768d1004872e1931cdcc01e7f10029ecfc42a3945368ed151
-SIZE (epic4-2.10.11.tar.xz) = 585652
+TIMESTAMP = 1725566493
+SHA256 (epic4-3.0.tar.xz) = aba371a67ea9750b69a670ea115cf4be04602bf65ceedede48e083aa98a5aaa5
+SIZE (epic4-3.0.tar.xz) = 587440
 SHA256 (epic4-help-20050315.tar.bz2) = a7b7026ecfc00ab7040ef5e435d72fd347d48fab128722d4e213dba194cd5bbe
 SIZE (epic4-help-20050315.tar.bz2) = 238390
diff --git a/irc/epic4/pkg-plist b/irc/epic4/pkg-plist
index 1fb34f82e389..86fbc92ef142 100644
--- a/irc/epic4/pkg-plist
+++ b/irc/epic4/pkg-plist
@@ -1,5 +1,5 @@
 bin/epic
-bin/epic-EPIC4-%%PORTVERSION%%
+bin/epic-EPIC4-%%DISTVERSION%%
 libexec/wserv4
 share/man/man1/epic.1.gz
 share/epic/help/1_General/1_General