# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.8 5.10 5.12 5.14 5.16 perl5.setup Locale-gettext 1.05 revision 7 set my_name gettext distname ${my_name}-${perl5.moduleversion} homepage http://search.cpan.org/dist/gettext/ license {Artistic GPL} maintainers l2g openmaintainer platforms darwin description Perl interface to GNU gettext long_description ${description} checksums md5 f3d3f474a1458f37174c410dfef61a46 \ sha1 705f519ad61b4a8c522d8aaf98425e0bd21709f2 \ rmd160 767adfce05b8fe77ddd7d3814951822746cf6e4b if {${perl5.major} != ""} { depends_lib-append port:gettext port:libiconv # The first patch below corrects a typo in the documentation. The last two # correct a bug discovered by the Debian Project; they come from the CPAN RT # ticket tracker (http://rt.cpan.org/Public/Bug/Display.html?id=35680). patch.pre_args -p1 patchfiles patch-Makefile.PL \ patch-cpan-rt-35680-1.diff \ patch-cpan-rt-35680-2.diff # BUILD FIX TODO: clang, build system # doesn't build with clang as of 2011.06.27 # This looks like a bug in this package's build system if {${configure.compiler} == "clang"} { configure.compiler llvm-gcc-4.2 } } livecheck.type regex livecheck.url ${homepage} livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)