| @@ -1,34 +1,36 @@ | | | @@ -1,34 +1,36 @@ |
1 | # $NetBSD: Makefile,v 1.16 2009/12/11 17:09:51 asau Exp $ | | 1 | # $NetBSD: Makefile,v 1.17 2011/09/29 20:14:46 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= mesch12b | | 3 | DISTNAME= mesch12b |
4 | PKGNAME= meschach-1.2b | | 4 | PKGNAME= meschach-1.2b |
5 | CATEGORIES= math | | 5 | CATEGORIES= math |
6 | MASTER_SITES= http://www.math.uiowa.edu/~dstewart/meschach/ | | 6 | MASTER_SITES= http://www.math.uiowa.edu/~dstewart/meschach/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.math.uiowa.edu/~dstewart/meschach/ | | 9 | HOMEPAGE= http://www.math.uiowa.edu/~dstewart/meschach/ |
10 | COMMENT= Library of C Routines for Matrix Computations | | 10 | COMMENT= Library of C Routines for Matrix Computations |
11 | | | 11 | |
12 | PKG_DESTDIR_SUPPORT= user-destdir | | 12 | PKG_DESTDIR_SUPPORT= user-destdir |
13 | | | 13 | |
14 | WRKSRC= ${WRKDIR} | | 14 | WRKSRC= ${WRKDIR} |
15 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
16 | CONFIGURE_ARGS+= --with-all | | 16 | CONFIGURE_ARGS+= --with-all |
17 | MAKE_FILE= makefile | | 17 | MAKE_FILE= makefile |
18 | USE_BSD_MAKEFILE= yes | | 18 | USE_BSD_MAKEFILE= yes |
19 | | | 19 | |
20 | INSTALLATION_DIRS= include/meschach lib share/meschach/tests | | 20 | INSTALLATION_DIRS= include/meschach lib share/meschach/tests |
21 | | | 21 | |
| | | 22 | BUILDLINK_TRANSFORM+= rm:-Werror |
| | | 23 | |
22 | pre-patch: | | 24 | pre-patch: |
23 | ${CP} ${FILESDIR}/makefile.in ${WRKSRC} | | 25 | ${CP} ${FILESDIR}/makefile.in ${WRKSRC} |
24 | | | 26 | |
25 | post-patch: | | 27 | post-patch: |
26 | ${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${FILESDIR}/makefile.test \ | | 28 | ${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${FILESDIR}/makefile.test \ |
27 | > ${WRKSRC}/Makefile | | 29 | > ${WRKSRC}/Makefile |
28 | | | 30 | |
29 | post-install: | | 31 | post-install: |
30 | cd ${WRKSRC} && ${INSTALL_DATA} err.h machine.h matlab.h \ | | 32 | cd ${WRKSRC} && ${INSTALL_DATA} err.h machine.h matlab.h \ |
31 | matrix.h meminfo.h sparse.h zmatrix.h iter.h matrix2.h \ | | 33 | matrix.h meminfo.h sparse.h zmatrix.h iter.h matrix2.h \ |
32 | oldnames.h sparse2.h zmatrix2.h ${DESTDIR}${PREFIX}/include/meschach/ | | 34 | oldnames.h sparse2.h zmatrix2.h ${DESTDIR}${PREFIX}/include/meschach/ |
33 | cd ${WRKSRC} && ${INSTALL_DATA} torture.c sptort.c ztorture.c \ | | 35 | cd ${WRKSRC} && ${INSTALL_DATA} torture.c sptort.c ztorture.c \ |
34 | memtort.c itertort.c mfuntort.c iotort.c \ | | 36 | memtort.c itertort.c mfuntort.c iotort.c \ |