editors/zile: Update to 2.6.4

- Switch to DISTVERSION
- Use vala build
- Add DOCS option
- Makefile cleanup, remove unneeded clang fix and reeinplacements
- Take maintainership

ChangeLog: http://git.savannah.gnu.org/cgit/zile.git/tree/NEWS
This commit is contained in:
Nuno Teixeira 2025-03-16 11:51:52 +00:00
parent 9fb661f6f4
commit 9de124e78f
2 changed files with 14 additions and 31 deletions

View file

@ -1,48 +1,31 @@
PORTNAME= zile
PORTVERSION= 2.6.2
PORTREVISION= 1
DISTVERSION= 2.6.4
CATEGORIES= editors
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Small emacs-like text editor
WWW= https://www.gnu.org/software/zile/
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/bin/help2man:misc/help2man
LIB_DEPENDS= libgc.so:devel/boehm-gc \
libgee-0.8.so:devel/libgee \
libgnuregex.so.6:devel/libgnuregex
LIB_DEPENDS= libgee-0.8.so:devel/libgee \
libgnuregex.so:devel/libgnuregex
USES= compiler:c++11-lang gmake gnome localbase:ldflags \
ncurses perl5 pkgconfig
USES= compiler:c++11-lang gmake gnome localbase:ldflags ncurses perl5 \
pkgconfig vala:build
USE_GNOME= glib20
USE_PERL5= build
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --without-included-regex
LDFLAGS+= -lgnuregex
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz \
%%DOCSDIR%%/AUTHORS \
%%DOCSDIR%%/dotzile.sample \
%%DOCSDIR%%/FAQ \
%%DOCSDIR%%/NEWS
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
PORTDOCS= AUTHORS FAQ NEWS dotzile.sample
.include <bsd.port.pre.mk>
OPTIONS_DEFINE= DOCS
.if ${COMPILER_TYPE} == clang
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch:
@${REINPLACE_CMD} -e \
'/need_charset_alias=/s|true|false|g' ${WRKSRC}/lib/Makefile.in
@${REINPLACE_CMD} -e \
's|@pkgdatadir@|${DOCSDIR}|' ${WRKSRC}/doc/man-extras
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1641551721
SHA256 (zile-2.6.2.tar.gz) = 77eb7daff3c98bdc88daa1ac040dccca72b81dc32fc3166e079dd7a63e42c741
SIZE (zile-2.6.2.tar.gz) = 1152751
TIMESTAMP = 1742122880
SHA256 (zile-2.6.4.tar.gz) = d5d44b85cb490643d0707e1a2186f3a32998c2f6eabaa9481479b65caeee57c0
SIZE (zile-2.6.4.tar.gz) = 1330917