# $Id$ PortSystem 1.0 name recode version 3.6 revision 3 categories textproc license GPL-2+ maintainers nomaintainer platforms darwin description charset conversion program long_description \ This recode program has the purpose of converting files between \ various character sets and usages. When exact transliterations \ are not possible, as it is often the case, the program may get \ rid of the offending characters or fall back on approximations. homepage http://www.gnu.org/software/recode/ master_sites gnu checksums md5 be3f40ad2e93dae5cd5f628264bf1877 \ sha1 2de90cd2ba553bc07d75a29913ea4424dd9e616b \ rmd160 97dcb2544472c9025689452a94bed98ea36374b5 depends_lib port:libtool port:gettext # src/libiconv.c patch from Debian, # http://packages.debian.org/stable/text/recode patchfiles patch-lib_Makefile.in.diff patch-src_libiconv.c.diff \ patch-src-recodext.h.diff pre-configure { xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${worksrcpath} } configure.ldflags-append -liconv configure.args --infodir=${prefix}/share/info \ --mandir=${prefix}/share/man \ --without-included-gettext post-destroot { delete ${destroot}${prefix}/lib/charset.alias delete ${destroot}${prefix}/share/info/dir set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README THANKS \ TODO ${destroot}${docdir} } test.run yes test.target check