1995-05-02 07:18:21 +00:00
|
|
|
# New ports collection makefile for: octave
|
1997-08-13 17:11:18 +00:00
|
|
|
# Version required: 2.0.9
|
1997-06-28 02:32:52 +00:00
|
|
|
# Date created: 28 June 1997
|
1997-01-20 22:13:57 +00:00
|
|
|
# Whom: chuckr@freebsd.org
|
1995-05-02 07:18:21 +00:00
|
|
|
#
|
1998-02-16 11:59:34 +00:00
|
|
|
# $Id: Makefile,v 1.11 1997/10/15 23:20:44 max Exp $
|
1995-05-02 07:18:21 +00:00
|
|
|
#
|
|
|
|
|
1997-08-13 17:11:18 +00:00
|
|
|
DISTNAME= octave-2.0.9
|
1997-10-15 23:20:44 +00:00
|
|
|
CATEGORIES= math
|
1997-01-20 22:13:57 +00:00
|
|
|
MASTER_SITES= ftp://ftp.che.wisc.edu/pub/octave/
|
1995-05-02 07:18:21 +00:00
|
|
|
|
1997-01-20 22:13:57 +00:00
|
|
|
MAINTAINER= chuckr@FreeBSD.ORG
|
1995-05-02 07:18:21 +00:00
|
|
|
|
1995-10-04 10:18:56 +00:00
|
|
|
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
|
1995-05-02 07:18:21 +00:00
|
|
|
|
1998-02-16 11:59:34 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= "installs libreadline shared library"
|
|
|
|
|
1995-05-02 07:18:21 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1997-10-15 23:20:44 +00:00
|
|
|
CONFIGURE_ENV= ${SETENV} "INSTALL_DATA=$(INSTALL_DATA)" "INSTALL_PROGRAM=$(INSTALL_SCRIPT)"
|
1997-01-20 22:13:57 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --exec-prefix=${PREFIX} --with-f2c --enable-info --enable-shared --host=i386-unknown-freebsd
|
1995-05-02 07:18:21 +00:00
|
|
|
USE_GMAKE= yes
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= octave.1
|
1995-05-02 07:18:21 +00:00
|
|
|
|
1997-01-20 22:13:57 +00:00
|
|
|
post-configure:
|
1997-08-13 17:11:18 +00:00
|
|
|
(cd $(WRKDIR)/octave-2.0.9/scripts; ./configure)
|
1997-01-20 22:13:57 +00:00
|
|
|
|
|
|
|
OCTAVE-INFO= octave.info octave.info-1 octave.info-10 octave.info-11 octave.info-12 octave.info-2 octave.info-3 octave.info-4 octave.info-5 octave.info-6 octave.info-7 octave.info-8 octave.info-9
|
|
|
|
LIBOCTAVE-INFO= liboctave.info liboctave.info-1 liboctave.info-2 liboctave.info-3
|
|
|
|
|
|
|
|
post-install:
|
1997-10-15 23:20:44 +00:00
|
|
|
${MV} ${PREFIX}/lib/libcruft.so ${PREFIX}/lib/libcruft.so.2.0
|
|
|
|
${MV} ${PREFIX}/lib/liboctave.so ${PREFIX}/lib/liboctave.so.2.0
|
|
|
|
${MV} ${PREFIX}/lib/liboctinterp.so ${PREFIX}/lib/liboctinterp.so.2.0
|
|
|
|
${MV} ${PREFIX}/lib/libtinst.so ${PREFIX}/lib/libtinst.so.2.0
|
|
|
|
${MV} ${PREFIX}/lib/libreadline.so ${PREFIX}/lib/libreadline.so.2.0
|
|
|
|
${MV} ${PREFIX}/lib/libhistory.so ${PREFIX}/lib/libhistory.so.2.0
|
|
|
|
${MV} ${PREFIX}/lib/libkpathsea.so ${PREFIX}/lib/libkpathsea.so.2.0
|
1997-07-17 15:13:02 +00:00
|
|
|
${LDCONFIG} -m $(PREFIX)/lib
|
1997-01-20 22:13:57 +00:00
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
.for file in $(OCTAVE-INFO)
|
|
|
|
$(INSTALL_DATA) $(WRKSRC)/doc/interpreter/$(file) $(PREFIX)/info
|
|
|
|
.endfor
|
|
|
|
.for file in $(LIBOCTAVE-INFO)
|
|
|
|
$(INSTALL_DATA) $(WRKSRC)/doc/liboctave/$(file) $(PREFIX)/info
|
|
|
|
.endfor
|
|
|
|
$(MKDIR) $(PREFIX)/share/octave/doc
|
|
|
|
$(INSTALL_DATA) $(WRKSRC)/doc/interpreter/octave.ps $(PREFIX)/share/octave/doc
|
|
|
|
$(INSTALL_DATA) $(WRKSRC)/doc/liboctave/liboctave.ps $(PREFIX)/share/octave/doc
|
|
|
|
$(INSTALL_DATA) $(WRKSRC)/doc/refcard/refcard-letter.ps $(PREFIX)/share/octave/doc
|
|
|
|
$(INSTALL_DATA) $(WRKSRC)/doc/refcard/refcard-a4.ps $(PREFIX)/share/octave/doc
|
|
|
|
.endif
|
|
|
|
|
1995-05-02 07:18:21 +00:00
|
|
|
.include <bsd.port.mk>
|