# $Id: Portfile 88623 2012-01-05 21:43:53Z jmr@macports.org $

PortSystem			1.0
PortGroup			perl5 1.0

perl5.setup			Astro-FITS-CFITSIO 1.06
revision            1
license				{Artistic-1 GPL}
maintainers			nomaintainer
description			Interface to William Pence s cfitsio subroutine library
long_description	${description}

platforms			darwin

checksums			sha1    48f004fd14a57639051f84e2e33c0027a142a86c \
					rmd160  4cf5e9c08e2e0d67d2d8e71bebefd75f613d7ee4

if {${perl5.major} != ""} {
    configure.env		CFITSIO="${prefix}"
    configure.args-append	OPTIMIZE="-O"
    
    depends_lib-append	port:cfitsio
}
