# $Id: Portfile,v 1.22 2003/08/05 21:02:45 jkh Exp $ PortSystem 1.0 name libiconv version 1.9.1 categories textproc platforms darwin freebsd maintainers darwinports@opendarwin.org description Character set conversion library long_description A character-set conversion library which implements the \ iconv() API for dealing with unicode and other types of conversion. master_sites ftp://ftp.gnu.org/pub/gnu/${portname}/ \ http://wuarchive.wustl.edu/mirrors/gnu/${portname}/ checksums md5 0c99a05e0c3c153bac1c960f78711155 post-patch { reinplace "s|/doc/libiconv|/share/doc/libiconv|g" \ ${worksrcpath}/man/Makefile.in } pre-destroot { system "install -o root -m 755 -d \ ${destroot}${prefix}/share/doc/libiconv" } set destroot.destdir prefix=${destroot}${prefix}