git: 5547641a40ba - main - devel/pdcurses: update to 3.9

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Sun, 18 Aug 2024 08:05:01 UTC
The branch main has been updated by rodrigo:

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

commit 5547641a40baf06f24764a9a5365dca2f90d17e0
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-07-31 13:12:42 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-08-18 07:47:54 +0000

    devel/pdcurses: update to 3.9
    
    Full changelog: https://github.com/wmcbrine/PDCurses/releases/tag/3.9
                    https://github.com/wmcbrine/PDCurses/releases/tag/3.8
                    https://github.com/wmcbrine/PDCurses/releases/tag/3.7
                    https://github.com/wmcbrine/PDCurses/releases/tag/3.6
---
 devel/pdcurses/Makefile                | 51 ++++++++++++++++------------------
 devel/pdcurses/distinfo                |  6 ++--
 devel/pdcurses/files/patch-Makefile.in | 35 -----------------------
 devel/pdcurses/pkg-plist               |  4 ---
 4 files changed, 27 insertions(+), 69 deletions(-)

diff --git a/devel/pdcurses/Makefile b/devel/pdcurses/Makefile
index f9c534d4f85f..f01df43a1928 100644
--- a/devel/pdcurses/Makefile
+++ b/devel/pdcurses/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pdcurses
-DISTVERSION=	3.5
+DISTVERSION=	3.9
 CATEGORIES=	devel
 MASTER_SITES=	SF
 DISTNAME=	PDCurses-${PORTVERSION}
@@ -10,39 +10,36 @@ WWW=		http://pdcurses.sourceforge.net/
 
 LICENSE=	PD
 
-CONFLICTS=	pdcurses-the
-
 USES=		xorg
 USE_LDCONFIG=	yes
-USE_XORG=	x11 xext sm ice xt xaw xmu xpm
+USE_XORG=	ice sm x11 xaw xext xmu xpm xt
 GNU_CONFIGURE=	yes
-MAKE_JOBS_UNSAFE=yes
-LLD_UNSAFE=	yes	# Needs linker to provide library search paths.
-
-WRKSRC_SUBDIR=	x11
-
-OPTIONS_DEFINE=	DEBUG LATIN1 NEXTAW XAW3D
-
-DEBUG_CONFIGURE_ENABLE=	debug
 
-LATIN1_DESC=		Latin1 keys support
-LATIN1_CONFIGURE_ENABLE=latin1
+MAKE_ARGS=	bindir=${STAGEDIR}${PREFIX}/bin \
+		includedir=${STAGEDIR}${PREFIX}/include \
+		libdir=${STAGEDIR}${PREFIX}/lib \
+		PDCURSES_SRCDIR=${WRKDIR}/${DISTNAME}
+MAKE_JOBS_UNSAFE=	yes
+LLD_UNSAFE=	yes # Needs linker to provide library search paths.
 
-NEXTAW_DESC=		Link with NeXtaw
-NEXTAW_CONFIGURE_WITH=	nextaw
-NEXTAW_LIB_DEPENDS=	libneXtaw.so:x11-toolkits/neXtaw
+CONFLICTS=	pdcurses-the
 
-XAW3D_DESC=		Link with Xaw3d
-XAW3D_CONFIGURE_WITH=	xaw3d
-XAW3D_LIB_DEPENDS=	libXaw3d.so:x11-toolkits/Xaw3d
+WRKSRC_SUBDIR=	x11
 
-MAKE_ARGS=		libdir=${STAGEDIR}${PREFIX}/lib \
-			bindir=${STAGEDIR}${PREFIX}/bin \
-			includedir=${STAGEDIR}${PREFIX}/include \
-			PDCURSES_SRCDIR=${WRKDIR}/${DISTNAME}
+OPTIONS_DEFINE=	DEBUG LATIN1 NEXTAW XAW3D
 
-post-install:
-	@cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libXCurses.so.2 libXCurses.so
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXCurses.so.2
+LATIN1_DESC=			Latin1 keys support
+NEXTAW_DESC=			Link with NeXtaw
+XAW3D_DESC=			Link with Xaw3d
+DEBUG_CONFIGURE_ENABLE=		debug
+LATIN1_CONFIGURE_ENABLE=	latin1
+NEXTAW_LIB_DEPENDS=		libneXtaw.so:x11-toolkits/neXtaw
+NEXTAW_CONFIGURE_WITH=		nextaw
+XAW3D_LIB_DEPENDS=		libXaw3d.so:x11-toolkits/Xaw3d
+XAW3D_CONFIGURE_WITH=		xaw3d
+
+#post-install:
+#	@cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libXCurses.so.2 libXCurses.so
+#	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXCurses.so.2
 
 .include <bsd.port.mk>
diff --git a/devel/pdcurses/distinfo b/devel/pdcurses/distinfo
index 8879f8b2cd11..c762caac67b1 100644
--- a/devel/pdcurses/distinfo
+++ b/devel/pdcurses/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1518595893
-SHA256 (PDCurses-3.5.tar.gz) = 941544c9c813cd96009f7d0f501e800261cd8e7509b9c7e099bab0df3531dcc8
-SIZE (PDCurses-3.5.tar.gz) = 346361
+TIMESTAMP = 1722427020
+SHA256 (PDCurses-3.9.tar.gz) = 590dbe0f5835f66992df096d3602d0271103f90cf8557a5d124f693c2b40d7ec
+SIZE (PDCurses-3.9.tar.gz) = 363153
diff --git a/devel/pdcurses/files/patch-Makefile.in b/devel/pdcurses/files/patch-Makefile.in
deleted file mode 100644
index 4d65c9596788..000000000000
--- a/devel/pdcurses/files/patch-Makefile.in
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.in.orig	2018-01-08 17:54:16 UTC
-+++ Makefile.in
-@@ -56,17 +56,17 @@ install:
- 	$(INSTALL) -d -m 755 $(bindir)
- 	$(INSTALL) -d -m 755 $(includedir)
- 	$(INSTALL) -d -m 755 $(includedir)/xcurses
--	$(INSTALL) -c -m 644 $(srcdir)/curses.h $(includedir)/xcurses.h
--	$(INSTALL) -c -m 644 $(srcdir)/curses.h $(includedir)/xcurses/curses.h
-+	$(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/curses.h $(includedir)/xcurses.h
-+	$(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/curses.h $(includedir)/xcurses/curses.h
- 	sed -e 's/#include <curses.h>/#include <xcurses.h>/' \
--		< $(srcdir)/panel.h > ./xpanel.h
-+		< $(PDCURSES_SRCDIR)/panel.h > ./xpanel.h
- 	$(INSTALL) -m 644 ./xpanel.h $(includedir)/xpanel.h
--	$(INSTALL) -c -m 644 $(srcdir)/panel.h $(includedir)/xcurses/panel.h
--	$(INSTALL) -c -m 644 $(srcdir)/term.h $(includedir)/xcurses/term.h
-+	$(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/panel.h $(includedir)/xcurses/panel.h
-+	$(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/term.h $(includedir)/xcurses/term.h
- 	$(INSTALL) -c -m 644 $(osdir)/libXCurses.a $(libdir)/libXCurses.a
- 	-$(RANLIB) $(libdir)/libXCurses.a
- 	-$(INSTALL) -c -m 755 $(osdir)/$(SHLPRE)$(SHLFILE)$(SHLPST) \
--		$(libdir)/$(SHLPRE)$(SHLFILE)$(SHLPST)
-+		$(libdir)/$(SHLPRE)$(SHLFILE)$(SHLPST).2
- 	$(INSTALL) -c -m 755 $(osdir)/xcurses-config $(bindir)/xcurses-config
- 
- clean:
-@@ -102,7 +102,7 @@ $(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
- 	-$(RANLIB) $@
- 
- $(SHLPRE)$(SHLFILE)$(SHLPST) : $(SHOFILES)
--	$(LD_RXLIB1) -o $@ $(SHOFILES) $(LD_RXLIB2)
-+	$(LD_RXLIB1) -soname=$(SHLPRE)$(SHLFILE)$(SHLPST).2 -o $@ $(SHOFILES) $(LD_RXLIB2)
- 
- $(LIBOBJS) $(PDCOBJS) $(SHOFILES) : $(PDCURSES_HEADERS)
- $(PDCOBJS) $(PDCSHOBJS) : $(PDCURSES_X11_H)
diff --git a/devel/pdcurses/pkg-plist b/devel/pdcurses/pkg-plist
index 7e201564cd74..379f958d94ce 100644
--- a/devel/pdcurses/pkg-plist
+++ b/devel/pdcurses/pkg-plist
@@ -1,9 +1,5 @@
 bin/xcurses-config
-include/xcurses.h
 include/xcurses/curses.h
 include/xcurses/panel.h
-include/xcurses/term.h
-include/xpanel.h
 lib/libXCurses.a
 lib/libXCurses.so
-lib/libXCurses.so.2