diff options
author | tron <tron@pkgsrc.org> | 2000-07-31 16:47:04 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-07-31 16:47:04 +0000 |
commit | 52fbae8befbfbb1c177e4cb96646fb447fb32883 (patch) | |
tree | bb00cefe0c2de2adbc332a77bdf1cfa5d5e5db8b /devel/cfitsio | |
parent | 4b1ef6c2c679576dbd9e6a12bec13b8404cd7832 (diff) | |
download | pkgsrc-52fbae8befbfbb1c177e4cb96646fb447fb32883.tar.gz |
Import new "cfitsio" package based on contribution by Jens Schmalzing
in PR pkg/10599:
FITS (flexible image transport system) file input and output
Diffstat (limited to 'devel/cfitsio')
-rw-r--r-- | devel/cfitsio/Makefile | 29 | ||||
-rw-r--r-- | devel/cfitsio/files/md5 | 3 | ||||
-rw-r--r-- | devel/cfitsio/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/cfitsio/patches/patch-aa | 42 | ||||
-rw-r--r-- | devel/cfitsio/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/cfitsio/pkg/DESCR | 4 | ||||
-rw-r--r-- | devel/cfitsio/pkg/PLIST | 21 |
7 files changed, 103 insertions, 0 deletions
diff --git a/devel/cfitsio/Makefile b/devel/cfitsio/Makefile new file mode 100644 index 00000000000..0766919df6e --- /dev/null +++ b/devel/cfitsio/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/07/31 16:47:04 tron Exp $ + +DISTNAME= cfitsio2037 +PKGNAME= cfitsio-2.0.37 +CATEGORIES= cfitsio +MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/ + +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://fits.nrao.edu/FITS.html + +GNU_CONFIGURE= YES +USE_LIBTOOL= YES + +ALL_TARGET= all testprog +WRKSRC= ${WRKDIR}/${PKGNAME:C/-.*//} + +post-build: + cd ${WRKSRC}; \ + testprog | diff - testprog.out; \ + cmp testprog.fit testprog.std + +do-install: + ${MKDIR} ${PREFIX}/share/doc/cfitsio + cd ${WRKSRC}; \ + ${LIBTOOL} ${INSTALL_DATA} libcfitsio.la ${PREFIX}/lib; \ + ${INSTALL_DATA} *.h ${PREFIX}/include; \ + ${INSTALL_DATA} fitsio.doc ${PREFIX}/share/doc/cfitsio + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/cfitsio/files/md5 b/devel/cfitsio/files/md5 new file mode 100644 index 00000000000..34ed1bd60b4 --- /dev/null +++ b/devel/cfitsio/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/07/31 16:47:04 tron Exp $ + +MD5 (cfitsio2037.tar.gz) = 1e5569f227feb0b54c1528cf53268f55 diff --git a/devel/cfitsio/files/patch-sum b/devel/cfitsio/files/patch-sum new file mode 100644 index 00000000000..ea6c9381d3b --- /dev/null +++ b/devel/cfitsio/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/07/31 16:47:04 tron Exp $ + +MD5 (patch-aa) = 22342e15003c9a260c3f45fe44bcf2b1 diff --git a/devel/cfitsio/patches/patch-aa b/devel/cfitsio/patches/patch-aa new file mode 100644 index 00000000000..aed1a6402e6 --- /dev/null +++ b/devel/cfitsio/patches/patch-aa @@ -0,0 +1,42 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/07/31 16:47:04 tron Exp $ + +--- Makefile.in.orig Fri Feb 4 04:11:21 2000 ++++ Makefile.in Mon Jul 31 18:38:07 2000 +@@ -21,11 +21,11 @@ + + SHELL = /bin/sh + RANLIB = @RANLIB@ +-CC = @CC@ ++CC = ${LIBTOOL} @CC@ + CFLAGS = @CFLAGS@ + FC = @FC@ + LDFLAGS = $(CFLAGS) +-DEFS = @DEFS@ ++DEFS = @DEFS@ -Dunix + LIBS = @LIBS@ + FLEX = flex + BISON = bison +@@ -72,11 +72,10 @@ + all-nofitsio: + ${MAKE} stand_alone "FITSIO_SRC=" + +-stand_alone: libcfitsio.a ++stand_alone: libcfitsio.la + +-libcfitsio.a: ${OBJECTS} +- ar rv libcfitsio.a ${OBJECTS}; \ +- ${RANLIB} libcfitsio.a; ++libcfitsio.la: ${OBJECTS} ++ ${LIBTOOL} --mode=link @CC@ -o $@ ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib -version-info 2:0 + + install: libcfitsio.a + /bin/mv libcfitsio.a ${FTOOLS_LIB} +@@ -86,7 +85,7 @@ + ${CC} $(CFLAGS) $(DEFS) -o smem smem.o -L. -lcfitsio -lm + + testprog: testprog.o libcfitsio.a ${OBJECTS} +- ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o -L. -lcfitsio -lm ${LIBS} ++ ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o libcfitsio.la -lm ${LIBS} + + fitscopy: fitscopy.o libcfitsio.a ${OBJECTS} + ${CC} $(CFLAGS) $(DEFS) -o fitscopy fitscopy.o -L. -lcfitsio -lm ${LIBS} diff --git a/devel/cfitsio/pkg/COMMENT b/devel/cfitsio/pkg/COMMENT new file mode 100644 index 00000000000..62a9617cadb --- /dev/null +++ b/devel/cfitsio/pkg/COMMENT @@ -0,0 +1 @@ +FITS (flexible image transport system) file input and output diff --git a/devel/cfitsio/pkg/DESCR b/devel/cfitsio/pkg/DESCR new file mode 100644 index 00000000000..d888d8a040b --- /dev/null +++ b/devel/cfitsio/pkg/DESCR @@ -0,0 +1,4 @@ +CFITSIO is a library of C routines for reading and writing +FITS format data files. A set of Fortran-callable wrapper +routines are also included for the convenience of Fortran +programmers. diff --git a/devel/cfitsio/pkg/PLIST b/devel/cfitsio/pkg/PLIST new file mode 100644 index 00000000000..6a907ae51c8 --- /dev/null +++ b/devel/cfitsio/pkg/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/07/31 16:47:04 tron Exp $ +lib/libcfitsio.a +lib/libcfitsio.la +lib/libcfitsio.so.2.0 +include/cfortran.h +include/eval_tab.h +include/eval_defs.h +include/drvrsmem.h +include/compress.h +include/f77_wrap.h +include/fitsio.h +include/fitsio2.h +include/grparser.h +include/group.h +include/imcompress.h +include/region.h +include/pctype.h +include/longnam.h +include/ricecomp.h +share/doc/cfitsio/fitsio.doc +@dirrm share/doc/cfitsio |