aboutsummaryrefslogtreecommitdiffstats
path: root/editors/zile/Makefile
blob: 279ee2cb6be62a301cd9e97735422baf267051e8 (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
33
# New ports collection Makefile for:    zile
# Date created:     28 September 2000
# Whom:         jasone
#
# $FreeBSD$
#

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

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

USE_GMAKE=  yes
USE_PERL5_BUILD=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-extra.el
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>