diff options
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/p5-Astro-FITS-CFITSIO/Makefile | 28 | ||||
-rw-r--r-- | astro/p5-Astro-FITS-CFITSIO/distinfo | 2 | ||||
-rw-r--r-- | astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL | 13 | ||||
-rw-r--r-- | astro/p5-Astro-FITS-CFITSIO/pkg-descr | 11 | ||||
-rw-r--r-- | astro/p5-Astro-FITS-CFITSIO/pkg-plist | 10 |
6 files changed, 65 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile index 70f74d85a53d..336ec650ef76 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -53,6 +53,7 @@ SUBDIR += p5-Astro-Catalog SUBDIR += p5-Astro-Constants SUBDIR += p5-Astro-DSS + SUBDIR += p5-Astro-FITS-CFITSIO SUBDIR += p5-Astro-FITS-Header SUBDIR += p5-Astro-Hipparcos SUBDIR += p5-Astro-MoonPhase diff --git a/astro/p5-Astro-FITS-CFITSIO/Makefile b/astro/p5-Astro-FITS-CFITSIO/Makefile new file mode 100644 index 000000000000..d145a6463251 --- /dev/null +++ b/astro/p5-Astro-FITS-CFITSIO/Makefile @@ -0,0 +1,28 @@ +# Ports collection makefile for: Astro-FITS-CFITSIO +# Date created: Jan 6, 2010 +# Whom: Wen Heping <wen@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Astro-FITS-CFITSIO +PORTVERSION= 1.05 +CATEGORIES= astro perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= wen@FreeBSD.org +COMMENT= Perl extension for using the cfitsio library + +LIB_DEPENDS= cfitsio.0:${PORTSDIR}/astro/cfitsio + +PERL_CONFIGURE= yes + +MAN3= Astro::FITS::CFITSIO.3 + +.include <bsd.port.pre.mk> + +post-patch: + ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile.PL + +.include <bsd.port.post.mk> diff --git a/astro/p5-Astro-FITS-CFITSIO/distinfo b/astro/p5-Astro-FITS-CFITSIO/distinfo new file mode 100644 index 000000000000..a56050190217 --- /dev/null +++ b/astro/p5-Astro-FITS-CFITSIO/distinfo @@ -0,0 +1,2 @@ +SHA256 (Astro-FITS-CFITSIO-1.05.tar.gz) = bbeb6fd3b17b290842a88a8179c2526abae21fa67172295385a742b51bbfab70 +SIZE (Astro-FITS-CFITSIO-1.05.tar.gz) = 194185 diff --git a/astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL b/astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL new file mode 100644 index 000000000000..de24f47cb1e5 --- /dev/null +++ b/astro/p5-Astro-FITS-CFITSIO/files/patch-Makefile.PL @@ -0,0 +1,13 @@ +--- Makefile.PL.orig 2011-01-05 10:36:07.000000000 +0800 ++++ Makefile.PL 2011-01-05 10:36:27.000000000 +0800 +@@ -8,8 +8,8 @@ + } + else { + warn("CFITSIO environment variable not found, assuming /usr/local/cfitsio\n"); +- $inc = "-I/usr/local/cfitsio"; +- $libs = "-L/usr/local/cfitsio -lcfitsio -lm"; ++ $inc = "-I/usr/local/include"; ++ $libs = "-L/usr/local/lib -lcfitsio -lm"; + } + + # See lib/ExtUtils/MakeMaker.pm for details of how to influence diff --git a/astro/p5-Astro-FITS-CFITSIO/pkg-descr b/astro/p5-Astro-FITS-CFITSIO/pkg-descr new file mode 100644 index 000000000000..85d018ebffb4 --- /dev/null +++ b/astro/p5-Astro-FITS-CFITSIO/pkg-descr @@ -0,0 +1,11 @@ +Astro::FITS::CFITSIO is a perl interface to William Pence's cfitsio +subroutine library. For more information on cfitsio, see +http://heasarc.gsfc.nasa.gov/fitsio. + +This module attempts to provide a wrapper for nearly every cfitsio +routine, while retaining as much cfitsio behavior as possible. As +such, one should be aware that it is still somewhat low-level, in +the sense that handing an array which is not the correct size to a +routine like fits_write_img() may cause SIGSEGVs. + +WWW: http://search.cpan.org/dist/Astro-FITS-CFITSIO/ diff --git a/astro/p5-Astro-FITS-CFITSIO/pkg-plist b/astro/p5-Astro-FITS-CFITSIO/pkg-plist new file mode 100644 index 000000000000..f082e0ef06f2 --- /dev/null +++ b/astro/p5-Astro-FITS-CFITSIO/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Astro/FITS/CFITSIO.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro/FITS/CFITSIO/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro/FITS/CFITSIO/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro/FITS/CFITSIO/CFITSIO.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro/FITS/CFITSIO/CFITSIO.so +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro/FITS/CFITSIO +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro/FITS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Astro +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Astro/FITS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Astro |