1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/editors/zile/Makefile
Carlos J. Puga Medina 5d46c38bbc Bump PORTREVISION due upgrade of devel/boehm-gc to 7.6.2
Approved by:	portmgr (antoine)
2018-01-08 15:20:57 +00:00

40 lines
926 B
Makefile

# Created by: Jason Evans <jasone@FreeBSD.org>
# $FreeBSD$
PORTNAME= zile
PORTVERSION= 2.4.14
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= GNU
MAINTAINER= culot@FreeBSD.org
COMMENT= Small emacs-like text editor
LICENSE= GPLv3
LIB_DEPENDS= libgc.so:devel/boehm-gc
BUILD_DEPENDS= ${LOCALBASE}/bin/help2man:misc/help2man
USES= gmake ncurses perl5 pkgconfig compiler:c++11-lang
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-included-regex
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
%%DOCSDIR%%/AUTHORS \
%%DOCSDIR%%/FAQ \
%%DOCSDIR%%/NEWS \
%%DOCSDIR%%/dotzile.sample
CPPFLAGS+= -I${LOCALBASE}/include -isystem /usr/include/gnu
LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex
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.mk>