1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00
freebsd-ports/editors/zile/Makefile
Martin Wilke 3622b21264 - Update to 2.2.43
PR:		116924
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-10-05 21:53:47 +00:00

44 lines
966 B
Makefile

# New ports collection Makefile for: zile
# Date created: 28 September 2000
# Whom: jasone
#
# $FreeBSD$
#
PORTNAME= zile
PORTVERSION= 2.2.43
CATEGORIES= editors
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Small emacs-like text editor
USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LIBS="-lgnuregex"
MAN1= zile.1
INFO= zile
PLIST_FILES= bin/zile %%DATADIR%%/AUTODOC %%DATADIR%%/FAQ %%DATADIR%%/HELP \
%%DATADIR%%/TUTORIAL %%DATADIR%%/dotzile.sample
PLIST_DIRS= %%DATADIR%%
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 502010
GNU_REGEX_H= gnu/regex.h
.else
GNU_REGEX_H= gnuregex.h
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|<regex\.h>|<${GNU_REGEX_H}>|g ; \
s|_regex_h|_${GNU_REGEX_H:S/\//_/g:S/./_/g}|g ; \
s|-pedantic||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|<regex\.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/src/search.c
.include <bsd.port.post.mk>