# $Id: Portfile,v 1.2 2005/04/21 15:57:47 jberry Exp $

PortSystem 1.0

name		vigor
version		0.016
categories	editors
platforms	darwin
maintainers	mww@opendarwin.org
description	vigor is a vi clone that comes with a personal assistant
long_description	Vigor (pronouced like Igor, Dr. Frankensteins \
			assistant), the popular Unix editor vi with the \
			addition of the Vigor Assistant, has arrived.

homepage	http://vigor.sourceforge.net/
master_sites	sourceforge
checksums	md5 5bd9a2e50581817f4a5f0e7a0f0d1a52
patchfiles	patch-configure.diff

depends_lib	port:tcl \
		port:tk

worksrcdir	${worksrcdir}/build

configure.env	ADDCPPFLAGS='-I${prefix}/include/' \
		ADDLDFLAGS='-L${prefix}/lib -L${prefix}/lib/tk8.4'
configure.args	--host=powerpc-apple-darwin \
		--enable-tknvi
#configure.env	CFLAGS='-I${prefix}/include' \
#		LDFLAGS='-L${prefix}/lib/tk8.4 -L${prefix}/lib'

build.env	${configure.env}

destroot.destdir	prefix=${destroot}${prefix}
