1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

editors/gmanedit: undeprecate, cleanup, transfer maintainership.

This commit is contained in:
Alexey Dokuchaev 2024-03-30 20:32:16 +00:00
parent 7d0d35bf34
commit 457835faab

View File

@ -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>