aboutsummaryrefslogtreecommitdiffstats
path: root/editors/zile/Makefile
blob: f8571b022d3f6c2aa4ef7ebcdf7a2bbe3a9f54cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection Makefile for:    zile
# Date created:     28 September 2000
# Whom:         jasone
#
# $FreeBSD$
#

PORTNAME=   zile
PORTVERSION=    2.3.18
CATEGORIES= editors
MASTER_SITES=   GNU

MAINTAINER= ports@FreeBSD.org
COMMENT=    Small emacs-like text editor

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --without-included-regex

MAN1=       ${PORTNAME}.1
PLIST_FILES=    bin/${PORTNAME} %%DATADIR%%/FAQ %%DATADIR%%/dotzile.sample
PLIST_DIRS= %%DATADIR%%

CPPFLAGS=   -isystem /usr/include/gnu
LDFLAGS=    -lgnuregex

post-patch:
    @${REINPLACE_CMD} -e \
        '/need_charset_alias=/s|true|false|g' ${WRKSRC}/lib/Makefile.in

.include <bsd.port.mk>