pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/scilab add a few patch files, actually replacemen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4b1a71aad4b
branches:  trunk
changeset: 461221:e4b1a71aad4b
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Fri Sep 12 20:46:47 2003 +0000

description:
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:

 math/scilab/Makefile |  25 +++++++++++++++++++------
 math/scilab/distinfo |  10 +++++++---
 2 files changed, 26 insertions(+), 9 deletions(-)

diffs (70 lines):

diff -r 32888816b91e -r e4b1a71aad4b math/scilab/Makefile
--- a/math/scilab/Makefile      Fri Sep 12 20:10:17 2003 +0000
+++ b/math/scilab/Makefile      Fri Sep 12 20:46:47 2003 +0000
@@ -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@localhost
 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 @@
                ${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 -r 32888816b91e -r e4b1a71aad4b math/scilab/distinfo
--- a/math/scilab/distinfo      Fri Sep 12 20:10:17 2003 +0000
+++ b/math/scilab/distinfo      Fri Sep 12 20:46:47 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index