blob: 1553914cd1253861d0d092e56112de861e5c035d (
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
34
35
36
37
38
39
40
41
|
# New ports collection Makefile for: zile
# Date created: 28 September 2000
# Whom: jasone
#
# $FreeBSD$
#
PORTNAME= zile
PORTVERSION= 2.4.1
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_ENV= LDFLAGS="${LDFLAGS}"
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|/usr/local/share/zile/dotzile-extra.el|${DOCSDIR}/dotzile.sample|' ${WRKSRC}/doc/zile.1
.include <bsd.port.mk>
|