summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-09-12 20:46:47 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-09-12 20:46:47 +0000
commite4f52fc813ab187b8008e324793a36eea048bbc0 (patch)
treec440ddd1d72ec8b5183e3ea9716c3e75c543f00f /math
parent76c54876d13a78bb228dae97f208668291fc4a86 (diff)
downloadpkgsrc-e4f52fc813ab187b8008e324793a36eea048bbc0.tar.gz
add a few patch files, actually replacements for part of the distfile,
from the authors to fix some bugs in the scicos blocks. Bump PKGREV to produce scilab-2.7nb2
Diffstat (limited to 'math')
-rw-r--r--math/scilab/Makefile25
-rw-r--r--math/scilab/distinfo10
2 files changed, 26 insertions, 9 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 7c63c1b6fc3..aa1fc5b0ff6 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,18 +1,24 @@
-# $NetBSD: Makefile,v 1.41 2003/09/12 20:07:23 grant Exp $
+# $NetBSD: Makefile,v 1.42 2003/09/12 20:46:47 dmcmahill Exp $
#
DISTNAME= ${SCIBASE}.src
PKGNAME= ${SCIBASE}
-PKGREVISION= 1
-SCIBASE= scilab-2.7
-WRKSRC= ${WRKDIR}/${DISTNAME:.src=}
+PKGREVISION= 2
+WRKSRC= ${WRKDIR}/${SCIBASE}
CATEGORIES= math
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} scicos.tar.gz scicos_blocks.tar.gz
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www-rocq.inria.fr/scilab/
COMMENT= High-level scientific math programming environment with graphics
+DIST_SUBDIR= ${SCIBASE}
+SCIBASE= scilab-2.7
+
+SITES_scicos.tar.gz= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/misc/
+SITES_scicos_blocks.tar.gz= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/misc/
+
#needs FPC code not found in older versions of NetBSD
NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \
NetBSD-1.5.*-alpha NetBSD-1.5[A-U]-alpha
@@ -57,10 +63,17 @@ pre-fetch:
${ECHO} "Without fixing this problem ${PKGNAME} will not work." ; ${FALSE} ; fi
.endif
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+post-extract:
+.for f in scicos scicos_blocks
+ @extract_file=${DISTDIR}/${DIST_SUBDIR}/${f}.tar.gz ; export extract_file ; \
+ cd ${WRKSRC}/macros/${f} && ${EXTRACT_CMD}
+.endfor
+
# delete some .orig files that got created by patching
post-install:
- ${RM} -f ${PREFIX}/lib/${PKGNAME}/config/Makeso.incl.in.orig
- ${RM} -f ${PREFIX}/lib/${PKGNAME}/macros/util/scipad.sci.orig
+ ${RM} -f ${PREFIX}/lib/${SCIBASE}/config/Makeso.incl.in.orig
+ ${RM} -f ${PREFIX}/lib/${SCIBASE}/macros/util/scipad.sci.orig
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
USE_GCC2= # defined
diff --git a/math/scilab/distinfo b/math/scilab/distinfo
index cf8cd1684b0..a2fca0f7511 100644
--- a/math/scilab/distinfo
+++ b/math/scilab/distinfo
@@ -1,7 +1,11 @@
-$NetBSD: distinfo,v 1.9 2003/02/24 03:35:29 dmcmahill Exp $
+$NetBSD: distinfo,v 1.10 2003/09/12 20:46:48 dmcmahill Exp $
-SHA1 (scilab-2.7.src.tar.gz) = ce1ab6cb06d938239590e31ac3701ced6f9b3505
-Size (scilab-2.7.src.tar.gz) = 9510676 bytes
+SHA1 (scilab-2.7/scilab-2.7.src.tar.gz) = ce1ab6cb06d938239590e31ac3701ced6f9b3505
+Size (scilab-2.7/scilab-2.7.src.tar.gz) = 9510676 bytes
+SHA1 (scilab-2.7/scicos.tar.gz) = 05ed3013854d8db5fc02651d351f17ee7c5a0dce
+Size (scilab-2.7/scicos.tar.gz) = 82793 bytes
+SHA1 (scilab-2.7/scicos_blocks.tar.gz) = bdf4eef1a47417a8f816ae213fc4e262e2605b79
+Size (scilab-2.7/scicos_blocks.tar.gz) = 3219 bytes
SHA1 (patch-aa) = 93efb013a8651829dcef30b13fa6de085375d76c
SHA1 (patch-ab) = 2a13fc2bf4bd6dc55dc12480acb4f44b8c5ef14f
SHA1 (patch-ac) = 8d8e2352815b4c1ad61545ccb7e430169eae876e