Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name enca
version 1.4
categories textproc
platforms darwin
maintainers nomaintainer@macports.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