1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/editors/zile/Makefile
2012-02-21 12:43:46 +00:00

41 lines
902 B
Makefile

# New ports collection Makefile for: zile
# Date created: 28 September 2000
# Whom: jasone
#
# $FreeBSD$
#
PORTNAME= zile
PORTVERSION= 2.4.6
CATEGORIES= editors
MASTER_SITES= GNU
MAINTAINER= culot@FreeBSD.org
COMMENT= Small emacs-like text editor
LIB_DEPENDS= gc:${PORTSDIR}/devel/boehm-gc
USE_GMAKE= yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-included-regex
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME} \
%%DOCSDIR%%/AUTHORS \
%%DOCSDIR%%/FAQ \
%%DOCSDIR%%/NEWS \
%%DOCSDIR%%/dotzile.sample
PLIST_DIRS= %%DOCSDIR%%
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@/dotzile-extra.el|${DOCSDIR}/dotzile.sample|' ${WRKSRC}/doc/zile.1.in
.include <bsd.port.mk>