pkgsrc/devel/cfitsio/Makefile
wiz 84cad0b5e5 Update to 3.280:
Version 3.28 - 12 May 2011

   - added an enhancement to the tiled-image compression method when compressing
     floating-point image using the standard (lossy) quantization method.  In
     cases where an image tile cannot be quantized,  The floating-point pixel values
     will be losslessly compressed with gzip before writing them to the tile-
     compressed file.  Previously, the uncompressed pixel values would have
     been written to the file, which obviously requires more disk space.

   - made significant internal changes to the structure of the tile compression
     and uncompression routines in imcompress.c to make them more modular and
     easier to maintain.

   - modified configure.in and configure to force it to build a Universal
     binary on Mac OS X.

   - modified the ffiter function in putcol.c to properly clean up allocated
     memory if an error occurs.

   - in quantize.c, when searching for the min and max values in a float array,
     initialize the max value to -FLT_MAX instead of FLT_MIN (and similarly
     for double array).
2011-08-06 15:44:20 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2011/08/06 15:44:20 wiz Exp $
DISTNAME= cfitsio3280
PKGNAME= cfitsio-3.280
CATEGORIES= devel
MASTER_SITES= http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
COMMENT= FITS (flexible image transport system) file input and output
# similar; no copyright claim.
LICENSE= isc
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//}
GNU_CONFIGURE= YES
USE_LANGUAGES= c # fortran
USE_LIBTOOL= YES
MAKE_JOBS_SAFE= NO
PKGCONFIG_OVERRIDE+= cfitsio.pc.in
BUILD_TARGET= all testprog
INSTALLATION_DIRS= include lib lib/pkgconfig share/doc/cfitsio
post-build:
cd ${WRKSRC}; \
./testprog > /dev/null; \
${CMP} testprog.fit testprog.std
do-install:
cd ${WRKSRC}; \
${LIBTOOL} --mode=install ${INSTALL_DATA} libcfitsio.la ${DESTDIR}${PREFIX}/lib; \
${INSTALL_DATA} fitsio.h fitsio2.h longnam.h drvrsmem.h ${DESTDIR}${PREFIX}/include; \
${INSTALL_DATA} cfitsio.pc ${DESTDIR}${PREFIX}/lib/pkgconfig; \
${INSTALL_DATA} fitsio.doc ${DESTDIR}${PREFIX}/share/doc/cfitsio
.include "../../mk/bsd.pkg.mk"