# $Id: Portfile,v 1.15 2003/03/10 01:00:27 mij Exp $ PortSystem 1.0 name gettext version 0.10.40 revision 1 categories devel maintainers eric@opendarwin.org description GNU gettext package homepage http://www.gnu.org/software/gettext/ platforms darwin long_description This is the GNU gettext package. It is interesting for \ authors or maintainers of other packages or programs \ which they want to see internationalized. As one \ step the handling of messages in different languages \ should be implemented. For this task GNU gettext \ provides the needed tools and library functions. master_sites ftp://ftp.gnu.org/pub/gnu/${portname}/ \ http://wuarchive.wustl.edu/mirrors/gnu/${portname}/ checksums md5 6a17767b47ffb45b4866cec9fb0a39b0 depends_lib lib:libiconv.2:libiconv lib:libdl.1:dlcompat patchfiles patch-configure patch-ltmain.sh configure.env CPPFLAGS="-no-cpp-precomp" LDFLAGS="-fno-common" configure.args --with-libiconv-prefix=${prefix} --with-included-gettext post-patch { reinplace "s|(prefix)/doc|(prefix)/share/doc|g" \ ${worksrcpath}/doc/Makefile.am reinplace "s|(prefix)/doc|(prefix)/share/doc|g" \ ${worksrcpath}/doc/Makefile.in reinplace "s|(prefix)/doc|(prefix)/share/doc|g" \ ${worksrcpath}/man/Makefile.am reinplace "s|(prefix)/doc|(prefix)/share/doc|g" \ ${worksrcpath}/man/Makefile.in }