summaryrefslogtreecommitdiff
path: root/math/octave-current/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-09-19 18:09:16 +0000
committerdrochner <drochner@pkgsrc.org>2007-09-19 18:09:16 +0000
commit3098dd4141660e85d74d9825c02c7e06faf2c5d6 (patch)
tree6074ab5a4380387b5a0880a5e308ae58e17bbcc8 /math/octave-current/Makefile
parent4f1f97a906d357875f00e29c333e6fa379c1dc3d (diff)
downloadpkgsrc-3098dd4141660e85d74d9825c02c7e06faf2c5d6.tar.gz
update to 2.9.14 (pre-release for 3.0)
too many changes to list here pkgsrc changes: -add use of pcre and qhull to options, and include both in the default configuration -play dirty tricks to make sure GNU sed is used as sed -- there is something in the "mkf77def" script which doesn't work with NetBSD sed
Diffstat (limited to 'math/octave-current/Makefile')
-rw-r--r--math/octave-current/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/math/octave-current/Makefile b/math/octave-current/Makefile
index d8d48d7587b..7c48ba71491 100644
--- a/math/octave-current/Makefile
+++ b/math/octave-current/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.60 2007/01/07 12:25:54 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2007/09/19 18:09:16 drochner Exp $
DISTNAME= octave-${OCTAVE_VER}
PKGNAME= octave-current-${OCTAVE_VER}
-PKGREVISION= 2
CATEGORIES= math
MASTER_SITES= ftp://ftp.che.wisc.edu/pub/octave/bleeding-edge/ \
ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave/bleeding-edge/ \
@@ -18,7 +17,7 @@ BUILD_DEPENDS+= bison>=1.875:../../devel/bison
BUILD_DEPENDS+= gperf>=2.7:../../devel/gperf
DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
-OCTAVE_VER= 2.9.4
+OCTAVE_VER= 2.9.14
CONFLICTS+= octave-2.*
.if (${MACHINE_ARCH} == "arm32")
@@ -27,8 +26,9 @@ BROKEN= Internal compiler error occurs on arm32 (even with gcc-2.95.3)
USE_GNU_READLINE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= gmake makeinfo perl
+USE_TOOLS+= gmake makeinfo perl gsed
GNU_CONFIGURE= yes
+USE_DIRS+= xdg-1.1
GCC_REQD+= 3.0
USE_LANGUAGES= c c++ fortran
@@ -40,6 +40,9 @@ CONFIGURE_ARGS+= --enable-dl
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= --disable-shared
+# trick pkgsrc into real gsed, needed for "mkf77def"
+TOOLS_PLATFORM.gsed= #empty
+
.include "options.mk"
GNU_PLATFORM_DIR!= ${.CURDIR}/../../mk/gnu-config/config.sub ${MACHINE_GNU_PLATFORM}
@@ -49,8 +52,6 @@ INFO_FILES= # PLIST
OCTAVE_DOC= faq/Octave-FAQ.ps interpreter/octave.ps \
liboctave/liboctave.ps refcard/refcard-a4.ps \
refcard/refcard-legal.ps refcard/refcard-letter.ps
-OCTAVE_HTML= faq/Octave-FAQ_*.html interpreter/octave_*.html \
- liboctave/liboctave_*.html
UNWRAP_FILES+= mkoctfile octave-bug src/oct-conf.h
@@ -70,6 +71,7 @@ post-build:
-e 's@^:[ \t]*\$${SED=.*@: \$$\{SED="${SED}"\}@g' \
${WRKSRC}/mkoctfile.bak > ${WRKSRC}/mkoctfile
${CHMOD} a+x ${WRKSRC}/mkoctfile
+ (cd ${WRKSRC}/doc/interpreter && ${GMAKE} octave.ps)
post-install:
cd ${WRKSRC}/doc/liboctave; \
@@ -81,10 +83,6 @@ post-install:
.for f in ${OCTAVE_DOC}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/octave/${OCTAVE_VER}/doc
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/octave
-.for f in ${OCTAVE_HTML}
- ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/html/octave
-.endfor
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"