# $Id: Portfile,v 1.1 2005/10/27 20:49:43 mww Exp $

PortSystem 1.0

name			ex-vi
version			050325
categories		editors
platforms		darwin
maintainers		mww@opendarwin.org
description		the traditional ex/vi editor
long_description	${description}

homepage		http://ex-vi.sourceforge.net/
master_sites	sourceforge
distname		ex-${version}
checksums		md5 e668595254233e4d96811083a3e4e2f3
use_bzip2		yes
patchfiles		patch-Makefile

use_configure	no

build.target
build.args		CFLAGS="-I. -I${prefix}/include" LDFLAGS="-L${prefix}/lib" \
				PREFIX=${prefix}

destroot.args	PREFIX=${prefix} INSTALL=/usr/bin/install

platform darwin 8 { build.args-append	CC=/usr/bin/gcc-4.0 }

