# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup muniversal 1.0 name libidl set my_name libIDL version 0.8.14 maintainers nomaintainer categories devel gnome platforms darwin set branch [join [lrange [split ${version} .] 0 1] .] description libIDL is a library for creating CORBA IDL files. long_description \ libIDL is a library licensed under the GNU LGPL \ for creating trees of CORBA Interface Definition \ Language (IDL) files, which is a specification \ for defining portable interfaces. libIDL was \ initially written for ORBit (the ORB from the \ GNOME project, and the primary means of libIDL \ distribution). However, the functionality was \ designed to be as reusable and portable as possible. homepage http://andrewtv.org/libIDL/ master_sites gnome:sources/${my_name}/${branch}/ distname ${my_name}-${version} use_bzip2 yes checksums md5 bb8e10a218fac793a52d404d14adedcb \ sha1 abedf091bef0c7e65162111baf068dcb739ffcd3 \ rmd160 a5e22b89559a0f6e6aebc6e95c86faa511b561fc depends_build port:pkgconfig bin:flex:flex bin:bison:bison depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:libiconv \ port:gettext # Required when cross-compiling. if { ${os.arch}=="i386" } { if { ${os.major} >= 10 } { set merger_configure_env(ppc) libIDL_cv_long_long_format=ll } set merger_configure_env(ppc64) libIDL_cv_long_long_format=ll } else { set merger_configure_env(i386) libIDL_cv_long_long_format=ll set merger_configure_env(x86_64) libIDL_cv_long_long_format=ll } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}