blob: b7b601961fe8d6e56d948309bfeb7b4793cb7b82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.12 2004/12/03 15:14:54 wiz Exp $
DISTNAME= cfitsio2500
PKGNAME= cfitsio-2.500
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
COMMENT= FITS (flexible image transport system) file input and output
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//}
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
BUILD_TARGET= all testprog
post-build:
cd ${WRKSRC}; \
./testprog | diff - testprog.out; \
cmp testprog.fit testprog.std
do-install:
${INSTALL_DATA_DIR} ${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"
|