Sat Jan 17 12:19:21 2009 UTC ()
Simplify.


(joerg)
diff -r1.20 -r1.21 pkgsrc/devel/cfitsio/Makefile

cvs diff -r1.20 -r1.21 pkgsrc/devel/cfitsio/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/cfitsio/Makefile 2009/01/16 19:44:00 1.20
+++ pkgsrc/devel/cfitsio/Makefile 2009/01/17 12:19:21 1.21
@@ -1,38 +1,37 @@ @@ -1,38 +1,37 @@
1# $NetBSD: Makefile,v 1.20 2009/01/16 19:44:00 sketch Exp $ 1# $NetBSD: Makefile,v 1.21 2009/01/17 12:19:21 joerg Exp $
2 2
3DISTNAME= cfitsio3100 3DISTNAME= cfitsio3100
4PKGNAME= cfitsio-3.100 4PKGNAME= cfitsio-3.100
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/ 6MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html 9HOMEPAGE= http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
10COMMENT= FITS (flexible image transport system) file input and output 10COMMENT= FITS (flexible image transport system) file input and output
11 11
12PKG_DESTDIR_SUPPORT= user-destdir 12PKG_DESTDIR_SUPPORT= user-destdir
13 13
14WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//} 14WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//}
15GNU_CONFIGURE= YES 15GNU_CONFIGURE= YES
16USE_LANGUAGES= c # fortran 16USE_LANGUAGES= c # fortran
17USE_LIBTOOL= YES 17USE_LIBTOOL= YES
18 18
19PKGCONFIG_OVERRIDE+= cfitsio.pc.in 19PKGCONFIG_OVERRIDE+= cfitsio.pc.in
20 20
21BUILD_TARGET= all testprog 21BUILD_TARGET= all testprog
22 22
23INSTALLATION_DIRS= include lib lib/pkgconfig 23INSTALLATION_DIRS= include lib lib/pkgconfig share/doc/cfitsio
24 24
25post-build: 25post-build:
26 cd ${WRKSRC}; \ 26 cd ${WRKSRC}; \
27 ./testprog > /dev/null; \ 27 ./testprog > /dev/null; \
28 ${CMP} testprog.fit testprog.std 28 ${CMP} testprog.fit testprog.std
29 29
30do-install: 30do-install:
31 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cfitsio 
32 cd ${WRKSRC}; \ 31 cd ${WRKSRC}; \
33 ${LIBTOOL} ${INSTALL_DATA} libcfitsio.la ${DESTDIR}${PREFIX}/lib; \ 32 ${LIBTOOL} ${INSTALL_DATA} libcfitsio.la ${DESTDIR}${PREFIX}/lib; \
34 ${INSTALL_DATA} fitsio.h fitsio2.h longnam.h drvrsmem.h ${DESTDIR}${PREFIX}/include; \ 33 ${INSTALL_DATA} fitsio.h fitsio2.h longnam.h drvrsmem.h ${DESTDIR}${PREFIX}/include; \
35 ${INSTALL_DATA} cfitsio.pc ${DESTDIR}${PREFIX}/lib/pkgconfig; \ 34 ${INSTALL_DATA} cfitsio.pc ${DESTDIR}${PREFIX}/lib/pkgconfig; \
36 ${INSTALL_DATA} fitsio.doc ${DESTDIR}${PREFIX}/share/doc/cfitsio 35 ${INSTALL_DATA} fitsio.doc ${DESTDIR}${PREFIX}/share/doc/cfitsio
37 36
38.include "../../mk/bsd.pkg.mk" 37.include "../../mk/bsd.pkg.mk"