Added: trunk/dports/science/wcslib/Portfile (0 => 90301)
--- trunk/dports/science/wcslib/Portfile (rev 0)
+++ trunk/dports/science/wcslib/Portfile 2012-03-01 17:27:30 UTC (rev 90301)
@@ -0,0 +1,48 @@
+# $Id$
+
+PortSystem 1.0
+
+name wcslib
+version 4.8.4
+categories science
+license LGPL-3+
+platforms darwin
+maintainers transientskp.org:swinbank
+description Library for handling World Coordinate System in FITS files
+long_description A C library, with a set of Fortran wrappers, that \
+ implements the World Coordinate System (WCS) standard \
+ in FITS (Flexible Image Transport System).
+homepage http://www.atnf.csiro.au/people/mcalabre/WCS/index.html
+master_sites gentoo \
+ ftp://ftp.atnf.csiro.au/pub/software/wcslib/
+use_bzip2 yes
+checksums md5 e11147f58feca75110ffe770c0f53a3b \
+ sha1 66c0be7b71aa66d0db7e68bb75c02e9f406c18c5 \
+ rmd160 23e9e4439eced5427986582ae534241499a7d560
+depends_lib port:cfitsio
+configure.args --disable-fortran
+
+livecheck.type regex
+livecheck.url http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES
+livecheck.regex "WCSLIB version (\\d+\\.\\d+\(\\.\\d+\)?)"
+
+variant gcc44 conflicts gcc45 gcc46 description {Build with GCC 4.4; enables Fortran support} {
+ configure.compiler macports-gcc-4.4
+ depends_lib-append port:gcc44 \
+ port:pgplot
+ configure.args-delete --disable-fortran
+}
+
+variant gcc45 conflicts gcc44 gcc46 description {Build with GCC 4.5; enables Fortran support} {
+ configure.compiler macports-gcc-4.5
+ depends_lib-append port:gcc45 \
+ port:pgplot
+ configure.args-delete --disable-fortran
+}
+
+variant gcc46 conflicts gcc44 gcc45 description {Build with GCC 4.6; enables Fortran support} {
+ configure.compiler macports-gcc-4.6
+ depends_lib-append port:gcc46 \
+ port:pgplot
+ configure.args-delete --disable-fortran
+}
Property changes on: trunk/dports/science/wcslib/Portfile
___________________________________________________________________