diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-25 21:40:21 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-25 21:40:21 +0000 |
commit | 1896f777b37140d5aa8d8d58cdba69bc061fe44a (patch) | |
tree | 209036d51602b86c4181422f77c04e224f793a95 /math/meschach | |
parent | 49669bc2688701cd40c0e4662a2271b732897a42 (diff) | |
download | pkgsrc-1896f777b37140d5aa8d8d58cdba69bc061fe44a.tar.gz |
Update the homepage. General face-lift.
Diffstat (limited to 'math/meschach')
-rw-r--r-- | math/meschach/Makefile | 43 | ||||
-rw-r--r-- | math/meschach/files/makefile.test | 4 | ||||
-rw-r--r-- | math/meschach/files/patch-sum | 4 | ||||
-rw-r--r-- | math/meschach/patches/patch-ab | 31 |
4 files changed, 42 insertions, 40 deletions
diff --git a/math/meschach/Makefile b/math/meschach/Makefile index 83e4db4a07a..e0ec7eda6d1 100644 --- a/math/meschach/Makefile +++ b/math/meschach/Makefile @@ -1,43 +1,52 @@ -# $NetBSD: Makefile,v 1.2 2001/02/17 18:22:28 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2001/02/25 21:40:21 jtb Exp $ DISTNAME= mesch12b PKGNAME= meschach-1.2b CATEGORIES= math -MASTER_SITES= ftp://ftpmaths.anu.edu.au/pub/meschach/ +MASTER_SITES= http://www.math.uiowa.edu/~dstewart/meschach/ MAINTAINER= jtb@netbsd.org -HOMEPAGE= ftp://ftpmaths.anu.edu/pub/meschach/meschach.html +HOMEPAGE= http://www.math.uiowa.edu/~dstewart/meschach/ COMMENT= Library of C Routines for Matrix Computations WRKSRC= ${WRKDIR}/${DISTNAME} -GNU_CONFIGURE= YES +GNU_CONFIGURE= #defined WRKSRC= ${WRKDIR} MAKEFILE= makefile -USE_LIBTOOL= YES +USE_LIBTOOL= #defined CONFIGURE_ARGS+= "--with-all" pre-patch: - @${CP} ${FILESDIR}/makefile.in ${WRKSRC} + ${CP} ${FILESDIR}/makefile.in ${WRKSRC} post-patch: - @${SED} -e 's:%%PREFIX%%:'${PREFIX}':g' < ${FILESDIR}/makefile.test \ - > ${WRKSRC}/Makefile + ${SED} -e 's:@PREFIX@:'${PREFIX}':g' < \ + ${FILESDIR}/makefile.test > ${WRKSRC}/Makefile post-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/meschach - @for i in err.h machine.h matlab.h matrix.h meminfo.h sparse.h \ - zmatrix.h iter.h matrix2.h oldnames.h sparse2.h zmatrix2.h ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/include/meschach ; done + @for f in err.h machine.h matlab.h matrix.h meminfo.h sparse.h \ + zmatrix.h iter.h matrix2.h oldnames.h sparse2.h zmatrix2.h; do \ + i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/include/meschach/"; \ + ${ECHO} $$i; $$i; \ + done ${INSTALL_DATA_DIR} ${PREFIX}/share/meschach ${INSTALL_DATA_DIR} ${PREFIX}/share/meschach/tests - @for t in torture.c sptort.c ztorture.c memtort.c itertort.c \ - mfuntort.c iotort.c ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$t ${PREFIX}/share/meschach/tests ; done + @for f in torture.c sptort.c ztorture.c memtort.c itertort.c \ + mfuntort.c iotort.c; do \ + i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/meschach/tests/"; \ + ${ECHO} $$i; $$i; \ + done ${INSTALL_DATA} ${WRKSRC}/Makefile ${PREFIX}/share/meschach/tests - ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/DOC/* ${PREFIX}/share/meschach + @for f in ${WRKSRC}/README ${WRKSRC}/DOC/*; do \ + i="${INSTALL_DATA} $$f ${PREFIX}/share/meschach/"; \ + ${ECHO} $$i; $$i; \ + done ${INSTALL_DATA} ${WRKSRC}/copyright ${PREFIX}/share/meschach - @for e in tutadv.c tutorial.c ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$e ${PREFIX}/share/meschach ; done + @for f in tutadv.c tutorial.c ; do \ + i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/meschach/"; \ + ${ECHO} $$i; $$i; \ + done .include "../../mk/bsd.pkg.mk" diff --git a/math/meschach/files/makefile.test b/math/meschach/files/makefile.test index 73e4ea2ed7c..2a9924ccb95 100644 --- a/math/meschach/files/makefile.test +++ b/math/meschach/files/makefile.test @@ -1,6 +1,6 @@ -LIBS = -L%%PREFIX%%/lib -lmeschach -lm +LIBS = -Wl,-R@PREFIX@/lib -L@PREFIX@/lib -lmeschach -lm -CFLAGS = -I%%PREFIX%%/include -O2 -ansi +CFLAGS += -I@PREFIX@/include -O2 -ansi TORTURE = torture sptort ztorture memtort itertort mfuntort iotort diff --git a/math/meschach/files/patch-sum b/math/meschach/files/patch-sum index 12f8ef45575..de4700351e4 100644 --- a/math/meschach/files/patch-sum +++ b/math/meschach/files/patch-sum @@ -1,7 +1,7 @@ -$NetBSD: patch-sum,v 1.1.1.1 2000/12/05 00:06:46 jtb Exp $ +$NetBSD: patch-sum,v 1.2 2001/02/25 21:40:22 jtb Exp $ MD5 (patch-aa) = 0757d096829045cc9f31a7b4d04ede12 -MD5 (patch-ab) = e485a0e4bf155b034574ff7d8a5a56b2 +MD5 (patch-ab) = 65112f5ee49b8f3e10010ccc78f6c506 MD5 (patch-ac) = ec6c5fa67a871486788c6bf0947dcd4b MD5 (patch-ad) = 4fe5b068b95ebc6ba977e31ccbc4f670 MD5 (patch-ae) = 0ea40cc87eece572a59e065f97c6bb63 diff --git a/math/meschach/patches/patch-ab b/math/meschach/patches/patch-ab index e74fdc97380..4675347697d 100644 --- a/math/meschach/patches/patch-ab +++ b/math/meschach/patches/patch-ab @@ -1,25 +1,18 @@ -$NetBSD: patch-ab,v 1.1.1.1 2000/12/05 00:06:46 jtb Exp $ +$NetBSD: patch-ab,v 1.2 2001/02/25 21:40:23 jtb Exp $ ---- machine.h.in.orig Mon Nov 20 03:33:32 2000 +--- machine.h.in.orig Sun Feb 25 21:22:48 2001 +++ machine.h.in -@@ -208,13 +208,13 @@ +@@ -211,11 +211,13 @@ #endif /* for non-ANSI systems */ --#ifndef HUGE_VAL --#define HUGE_VAL HUGE --#else --#ifndef HUGE --#define HUGE HUGE_VAL --#endif --#endif -+/* #ifndef HUGE_VAL */ -+/* #define HUGE_VAL HUGE */ -+/* #else */ -+/* #ifndef HUGE */ -+/* #define HUGE HUGE_VAL */ -+/* #endif */ -+/* #endif */ - ++#ifndef ANSI_C + #ifndef HUGE_VAL + #define HUGE_VAL HUGE + #else + #ifndef HUGE + #define HUGE HUGE_VAL ++#endif + #endif + #endif - #ifdef ANSI_C |