summaryrefslogtreecommitdiff
path: root/math/octave/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-11-26 00:01:32 +0000
committertron <tron@pkgsrc.org>1998-11-26 00:01:32 +0000
commit5c38a8ee46299f27a69fd9ba7f46236cd870e9d6 (patch)
tree517559201b698a0fa06eeaa9a7ec8abd3da70e8f /math/octave/Makefile
parent74d8ec8b08c49e32c7ddac14df0a589387d598d3 (diff)
downloadpkgsrc-5c38a8ee46299f27a69fd9ba7f46236cd870e9d6.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/Makefile')
-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}