# $Id$ PortSystem 1.0 name enca version 1.9 categories textproc platforms darwin maintainers nomaintainer 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 https://launchpad.net/ubuntu/karmic/+source/enca/1.9-7/+files/ \ http://mirror.linux.org.mt/ubuntu/pool/universe/e/enca/ # http://trific.ath.cx/Ftp/enca/ # the above seems to be broken at present distname ${name}_${version}.orig worksrcdir ${name}-${version} checksums md5 99c762c0f4e560f3e469672e6ad7559d \ sha1 41670cc0e0211cd6ced86a59931ad9c7f013c785 \ rmd160 85f2921b3c96f95eff517c21e308671627a91608 depends_build port:libtool depends_lib port:libiconv configure.args --with-libiconv=${prefix} \ --mandir=${prefix}/share/man configure.cflags-append "-I${prefix}/include" post-configure { # It's too much of a PITA to autoreconf for universal delete ${worksrcpath}/libtool system "ln -s ${prefix}/bin/glibtool ${worksrcpath}/libtool" }