# $Id: Portfile,v 1.1 2004/05/12 20:31:21 mww Exp $

PortSystem 1.0

name		enca
version		1.4
categories	textproc
platforms	darwin
maintainers	mww@opendarwin.org
description	character set analyser
long_description	Enca is an Extremely Naive Charset Analyser. It \
			detects character set and encoding of text files and \
			can also convert them to other encodings.

homepage	http://trific.ath.cx/software/enca/
master_sites	http://trific.ath.cx/Ftp/enca/
checksums	md5 5c97deb1910fa15cef9e867797143db4
use_bzip2	yes

depends_lib	bin:iconv:libiconv

configure.args	--with-libiconv=${prefix}
configure.env	CFLAGS=-I${prefix}/include \
		CPPFLAGS=-I${prefix}/include \
		LDFLAGS=-L${prefix}/lib
