# New ports collection makefile for:	ile
# Date created:		25 Jun 1997
# Whom:			jmz
#
# $FreeBSD: ports/misc/lile/Makefile,v 1.12 2005/02/14 16:32:39 jmz Exp $
#

PORTNAME=	ile
PORTVERSION=	2.0
PORTREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	ftp://ftp.inria.fr/archives/system/user/
DISTNAME=	lile-2.0
EXTRACT_SUFX=	.tar.z

MAINTAINER=	jmz@FreeBSD.org
COMMENT=	An Input Line Editor that wraps itself around programs

MAN1=		ile.1
PLIST_FILES=	bin/ile

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=		"Does not compile on FreeBSD >= 5.x"
.endif

do-configure:
	@(cd ${WRKSRC}; ${MV} Makefile Makefile.old; \
	${SED} -e s:/usr/local:${PREFIX}: <Makefile.old > Makefile; \
	${ECHO_CMD} all: ile >> Makefile; ${ECHO_CMD} CC=cc ${CFLAGS} >> Makefile)

.include <bsd.port.post.mk>
