git: 457835faabd7 - main - editors/gmanedit: undeprecate, cleanup, transfer maintainership.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 30 Mar 2024 20:33:36 UTC
The branch main has been updated by danfe:

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

commit 457835faabd7607c2eea10846db2d5822fb23b2e
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-03-30 20:32:16 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-03-30 20:32:16 +0000

    editors/gmanedit: undeprecate, cleanup, transfer maintainership.
---
 editors/gmanedit/Makefile | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile
index cd8b830bc5b7..9abaa5050ecc 100644
--- a/editors/gmanedit/Makefile
+++ b/editors/gmanedit/Makefile
@@ -4,35 +4,27 @@ PORTREVISION=	10
 CATEGORIES=	editors gnome
 MASTER_SITES=	SF/${PORTNAME}2/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	bofh@FreeBSD.org
+MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	GNOME manpages editor
 WWW=		https://sourceforge.net/projects/gmanedit2/
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-DEPRECATED=	Upstream last release was in 2008
-EXPIRATION_DATE=	2024-03-31
-
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
-	libfreetype.so:print/freetype2 \
-	libharfbuzz.so:print/harfbuzz
-
-USES=		gettext gmake gnome localbase:ldflags pathfix pkgconfig
-USE_GNOME=	cairo gdkpixbuf2 gtk20
+		libfreetype.so:print/freetype2 \
+		libharfbuzz.so:print/harfbuzz
 
+USES=		gettext gmake gnome pkgconfig
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+USE_GNOME=	cairo gdkpixbuf2 gtk20
 
 LDFLAGS+=	-lz
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-CFLAGS+=	-Wno-error=int-conversion
-.endif
-
 post-patch:
+	@${REINPLACE_CMD} -e '/-DGTK_DISABLE_DEPRECATED/d' \
+		${WRKSRC}/src/Makefile.in
 	@${REINPLACE_CMD} -e '/<argz\.h>/d' ${WRKSRC}/src/callbacks.c
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>