2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2006/03/04 21:30:04 jlam Exp $
|
2000-12-05 01:06:42 +01:00
|
|
|
|
|
|
|
DISTNAME= mesch12b
|
|
|
|
PKGNAME= meschach-1.2b
|
|
|
|
CATEGORIES= math
|
2001-02-25 22:40:21 +01:00
|
|
|
MASTER_SITES= http://www.math.uiowa.edu/~dstewart/meschach/
|
2000-12-05 01:06:42 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-25 22:40:21 +01:00
|
|
|
HOMEPAGE= http://www.math.uiowa.edu/~dstewart/meschach/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Library of C Routines for Matrix Computations
|
2000-12-05 01:06:42 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2005-10-07 14:32:33 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-02-27 19:42:05 +01:00
|
|
|
CONFIGURE_ARGS+= --with-all
|
2000-12-05 01:06:42 +01:00
|
|
|
MAKEFILE= makefile
|
|
|
|
|
|
|
|
pre-patch:
|
2001-02-25 22:40:21 +01:00
|
|
|
${CP} ${FILESDIR}/makefile.in ${WRKSRC}
|
2000-12-05 01:06:42 +01:00
|
|
|
|
|
|
|
post-patch:
|
2001-04-29 01:59:17 +02:00
|
|
|
${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${FILESDIR}/makefile.test \
|
|
|
|
> ${WRKSRC}/Makefile
|
2000-12-05 01:06:42 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/meschach
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} err.h machine.h matlab.h \
|
|
|
|
matrix.h meminfo.h sparse.h zmatrix.h iter.h matrix2.h \
|
|
|
|
oldnames.h sparse2.h zmatrix2.h ${PREFIX}/include/meschach/
|
2000-12-05 01:06:42 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/meschach
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/meschach/tests
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} torture.c sptort.c ztorture.c \
|
|
|
|
memtort.c itertort.c mfuntort.c iotort.c \
|
|
|
|
${PREFIX}/share/meschach/tests/
|
2000-12-05 01:06:42 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Makefile ${PREFIX}/share/meschach/tests
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README ./DOC/* \
|
|
|
|
${PREFIX}/share/meschach/
|
2000-12-05 01:06:42 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/copyright ${PREFIX}/share/meschach
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} tutadv.c tutorial.c \
|
|
|
|
${PREFIX}/share/meschach/
|
2000-12-05 01:06:42 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|