summaryrefslogtreecommitdiff
path: root/math/octave
diff options
context:
space:
mode:
authortron <tron>1998-11-26 00:01:32 +0000
committertron <tron>1998-11-26 00:01:32 +0000
commitbc24354ad8f420963b5e261d47d247be18e3db2c (patch)
tree517559201b698a0fa06eeaa9a7ec8abd3da70e8f /math/octave
parentb264f3f87b2f1d736f2431364c571a9a60f070c9 (diff)
downloadpkgsrc-bc24354ad8f420963b5e261d47d247be18e3db2c.tar.gz
Remove unnecessary FreeBSD remainders, make sure ncurses gets found and
force usage of "f2c" if "g77" (egcs) is present.
Diffstat (limited to 'math/octave')
-rw-r--r--math/octave/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index b8c8a833373..ceba687becd 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.2 1998/11/25 23:56:53 tron Exp $
+# $NetBSD: Makefile,v 1.3 1998/11/26 00:01:32 tron Exp $
# FreeBSD Id: Makefile,v 1.18 1998/09/27 20:10:45 steve Exp
-#
DISTNAME= octave-2.0.13
CATEGORIES= math
@@ -13,24 +12,26 @@ MASTER_SITES= ftp://ftp.che.wisc.edu/pub/octave/ \
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.che.wisc.edu/octave/
-BUILD_DEPENDS+= makeinfo:../../devel/gtexinfo
BUILD_DEPENDS+= tex:../../print/teTeX
BUILD_DEPENDS+= dvips:../../print/teTeX
DEPENDS+= ncurses-1.9.9g:../../devel/ncurses
DEPENDS+= f2c-19980516p1:../../lang/f2c
DEPENDS+= gnuplot-3.5:../../graphics/gnuplot
-BROKEN_ELF= build
-
-HAS_CONFIGURE= yes
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
-USE_GMAKE= yes
-CONFIGURE_ENV= PATH="${PATH}"
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS+= --with-f2c
+CONFIGURE_ENV+= CPPFLAGS=-I${WRKDIR}/include
+LDFLAGS+= -L${PREFIX}/lib
INFO_FILES= liboctave.info octave.info
LIBOCTAVE_INFO= liboctave.info liboctave.info-1 liboctave.info-2 liboctave.info-3
+post-extract:
+ ${MKDIR} ${WRKDIR}/include
+ ${LN} -s ${PREFIX}/include/ncurses.h ${WRKDIR}/include
+
post-install:
${MKDIR} ${PREFIX}/share/octave/2.0.13/doc
.for file in ${LIBOCTAVE_INFO}