seems to work ok on amd64. some feedback/tests on other architectures welcome.

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/octave/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile    9 Feb 2009 20:48:23 -0000       1.41
+++ Makefile    13 Apr 2009 15:40:04 -0000
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.41 2009/02/09 20:48:23 naddy Exp $
+# $OpenBSD: Makefile,v 1.40 2008/11/04 22:41:59 steven Exp $
 
 # vax:   no IEEE arithmetic
 # sparc: fPIC version of libgcc.a needed but not available
@@ -6,9 +6,8 @@
 
 COMMENT=       high-level language for numerical computations
 
-VERSION=       3.0.3
+VERSION=       3.0.5
 DISTNAME=      octave-${VERSION}
-PKGNAME=       ${DISTNAME}p0
 CATEGORIES=    math
 
 SHARED_LIBS=   cruft           5.0 \
@@ -27,9 +26,9 @@
 
 WANTLIB=       c g2c m ncurses readline stdc++ z
 
-MASTER_SITES=  ftp://ftp.octave.org/pub/octave/bleeding-edge/ \
-               ftp://neacm.fe.up.pt/pub/octave/bleeding-edge/ \
-               ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/
+MASTER_SITES=  ftp://ftp.octave.org/pub/octave/ \
+               ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/ \
+               ftp://neacm.fe.up.pt/pub/octave/
 
 BUILD_DEPENDS= ::devel/desktop-file-utils
 RUN_DEPENDS=   ::devel/gmake \
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/octave/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- distinfo    4 Nov 2008 22:41:59 -0000       1.12
+++ distinfo    13 Apr 2009 15:40:04 -0000
@@ -1,5 +1,5 @@
-MD5 (octave-3.0.3.tar.gz) = axEGXJ29PJdD0jTC94X7ew==
-RMD160 (octave-3.0.3.tar.gz) = s0nhKlZsk/FmwRNuNdVk1zWxoec=
-SHA1 (octave-3.0.3.tar.gz) = htGXS1lHRA7Uobv+Av4pJUjAFOE=
-SHA256 (octave-3.0.3.tar.gz) = +wk+Jn5bllb3Z4lqM9Zk5e6SHiiJikgVQr202zH3YE4=
-SIZE (octave-3.0.3.tar.gz) = 11760168
+MD5 (octave-3.0.5.tar.gz) = uIMF9+CTq3hIfYbYUzIINQ==
+RMD160 (octave-3.0.5.tar.gz) = n7ocv1mfHS1NycfrufGd2AflFhI=
+SHA1 (octave-3.0.5.tar.gz) = NTM7pLSAdCiATKCLj3xQ9LUf/Uc=
+SHA256 (octave-3.0.5.tar.gz) = iu9TYl/s8fluUnlhdjFEqlOgm8zHUTUYPMhX9oeSXqU=
+SIZE (octave-3.0.5.tar.gz) = 11745101
Index: patches/patch-scripts_pkg_pkg_m
===================================================================
RCS file: /cvs/ports/math/octave/patches/patch-scripts_pkg_pkg_m,v
retrieving revision 1.4
diff -u -r1.4 patch-scripts_pkg_pkg_m
--- patches/patch-scripts_pkg_pkg_m     5 Oct 2008 16:22:04 -0000       1.4
+++ patches/patch-scripts_pkg_pkg_m     13 Apr 2009 15:40:04 -0000
@@ -1,12 +1,12 @@
 $OpenBSD: patch-scripts_pkg_pkg_m,v 1.4 2008/10/05 16:22:04 steven Exp $
---- scripts/pkg/pkg.m.orig     Fri Aug  1 08:50:56 2008
-+++ scripts/pkg/pkg.m  Wed Oct  1 22:13:29 2008
+--- scripts/pkg/pkg.m.orig     Wed Feb 18 07:57:46 2009
++++ scripts/pkg/pkg.m  Mon Apr 13 16:20:41 2009
 @@ -1242,7 +1242,7 @@ function configure_make (desc, packdir, verbose)   
      ## make
      if (exist (fullfile (src, "Makefile"), "file"))
        [status, output] = shell (strcat ("export INSTALLDIR=\"", desc.dir,
--                                       "\"; make -C ", src));
-+                                       "\"; gmake -C ", src));
+-                                       "\"; make -C '", src, "'"));
++                                       "\"; gmake -C '", src, "'"));
        if (status != 0)
        rm_rf (desc.dir);
        error ("'make' returned the following error: %s", output);
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/octave/pkg/PLIST,v
retrieving revision 1.15
diff -u -r1.15 PLIST
--- pkg/PLIST   4 Nov 2008 22:41:59 -0000       1.15
+++ pkg/PLIST   13 Apr 2009 15:40:08 -0000
@@ -158,6 +158,7 @@
 include/octave-${VERSION}/octave/lo-utils.h
 include/octave-${VERSION}/octave/load-path.h
 include/octave-${VERSION}/octave/load-save.h
+include/octave-${VERSION}/octave/ls-ascii-helper.h
 include/octave-${VERSION}/octave/ls-hdf5.h
 include/octave-${VERSION}/octave/ls-mat-ascii.h
 include/octave-${VERSION}/octave/ls-mat4.h
@@ -1839,6 +1840,7 @@
 share/doc/octave/interpreter/doc_002dpow2.html
 share/doc/octave/interpreter/doc_002dppplot.html
 share/doc/octave/interpreter/doc_002dppval.html
+share/doc/octave/interpreter/doc_002dprctile.html
 share/doc/octave/interpreter/doc_002dprepad.html
 share/doc/octave/interpreter/doc_002dprimes.html
 share/doc/octave/interpreter/doc_002dprint.html
@@ -1874,6 +1876,7 @@
 share/doc/octave/interpreter/doc_002dquad.html
 share/doc/octave/interpreter/doc_002dquad_005foptions.html
 share/doc/octave/interpreter/doc_002dquadl.html
+share/doc/octave/interpreter/doc_002dquantile.html
 share/doc/octave/interpreter/doc_002dquaternion.html
 share/doc/octave/interpreter/doc_002dquit.html
 share/doc/octave/interpreter/doc_002dquiver.html
@@ -1911,6 +1914,7 @@
 share/doc/octave/interpreter/doc_002drepmat.html
 share/doc/octave/interpreter/doc_002dreshape.html
 share/doc/octave/interpreter/doc_002dresidue.html
+share/doc/octave/interpreter/doc_002dresize.html
 share/doc/octave/interpreter/doc_002drethrow.html
 share/doc/octave/interpreter/doc_002drgb2hsv.html
 share/doc/octave/interpreter/doc_002drgb2ind.html
@@ -3101,6 +3105,7 @@
 share/octave/${VERSION}/m/startup/octaverc
 share/octave/${VERSION}/m/statistics/
 share/octave/${VERSION}/m/statistics/base/
+share/octave/${VERSION}/m/statistics/base/__quantile__.m
 share/octave/${VERSION}/m/statistics/base/center.m
 share/octave/${VERSION}/m/statistics/base/cloglog.m
 share/octave/${VERSION}/m/statistics/base/cor.m
@@ -3120,8 +3125,10 @@
 share/octave/${VERSION}/m/statistics/base/moment.m
 share/octave/${VERSION}/m/statistics/base/ols.m
 share/octave/${VERSION}/m/statistics/base/ppplot.m
+share/octave/${VERSION}/m/statistics/base/prctile.m
 share/octave/${VERSION}/m/statistics/base/probit.m
 share/octave/${VERSION}/m/statistics/base/qqplot.m
+share/octave/${VERSION}/m/statistics/base/quantile.m
 share/octave/${VERSION}/m/statistics/base/range.m
 share/octave/${VERSION}/m/statistics/base/ranks.m
 share/octave/${VERSION}/m/statistics/base/run_count.m

Reply via email to