Skip to content

Commit

Permalink
editors/gmanedit: undeprecate, cleanup, transfer maintainership.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Mar 30, 2024
1 parent 7d0d35b commit 457835f
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions editors/gmanedit/Makefile
Expand Up @@ -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>

0 comments on commit 457835f

Please sign in to comment.