# $Id: Portfile,v 1.28 2004/03/28 02:17:39 mij Exp $ PortSystem 1.0 name libiconv version 1.9.2 categories textproc platforms darwin freebsd maintainers mij@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 gnu checksums md5 6bc300365053c815b10b800a21e0bc7e post-patch { reinplace "s|@\mandir@|$\(prefix)/share/man|g" \ ${worksrcpath}/Makefile.in reinplace "s|@\mandir@|$\(prefix)/share/man|g" \ ${worksrcpath}/man/Makefile.in reinplace "s|$\(datadir)/doc/${portname}|$\(prefix)/share/doc/${portname}|g" \ ${worksrcpath}/man/Makefile.in } configure.args --enable-static pre-destroot { system "install -m 755 -d \ ${destroot}${prefix}/share/doc/${portname}" } destroot.destdir prefix=${destroot}${prefix}