# $Id: Portfile,v 1.27 2004/01/18 04:54:50 toby Exp $ PortSystem 1.0 name libiconv version 1.9.1 revision 1 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 0c99a05e0c3c153bac1c960f78711155 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}