Update to version 1.0.4.3, and do a fair bit of repair so that

Maxima and Axiom both work with this. The repairs likely fix
other maths packages also. The maintainer is also retiring,
so reset MAINTAINER to ports@ to give him a break.

OK'ed by:	MAINTAINER
This commit is contained in:
Mark Murray 2004-10-23 21:30:54 +00:00
parent 31000e3382
commit 0d77c0aa11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120045
14 changed files with 675 additions and 418 deletions

View file

@ -6,13 +6,13 @@
#
PORTNAME= texmacs
PORTVERSION= 1.0.3
PORTVERSION= 1.0.4.3
CATEGORIES= editors print
MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/ \
ftp://ftp.texmacs.org/pub/TeXmacs/old-targz/
DISTNAME= TeXmacs-${PORTVERSION}-R2-src
DISTNAME= TeXmacs-${PORTVERSION}-src
MAINTAINER= mainland@apeiron.net
MAINTAINER= ports@FreeBSD.org
COMMENT= "A free WYSIWYG scientific text editor."
BUILD_DEPENDS= guile:${PORTSDIR}/lang/guile \
@ -29,10 +29,7 @@ ALL_TARGET=
MAN1= texmacs.1 fig2ps.1
MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
pre-install:
cd ${WRKSRC} ; find . -name '*.orig' -delete
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
MD5 (TeXmacs-1.0.3-R2-src.tar.gz) = ba3c9b7238e65e957353cb65dceb8f3b
SIZE (TeXmacs-1.0.3-R2-src.tar.gz) = 2359143
MD5 (TeXmacs-1.0.4.3-src.tar.gz) = 44c227be5a61cbca53cf59e0b957ba25
SIZE (TeXmacs-1.0.4.3-src.tar.gz) = 2626939

View file

@ -0,0 +1,8 @@
--- ./plugins/lisp/bin/tm_lisp.orig Sun Oct 3 13:26:27 2004
+++ ./plugins/lisp/bin/tm_lisp Sat Oct 23 17:39:48 2004
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
export TEXMACS_LISP_PATH=$TEXMACS_PATH/plugins/lisp
cd $TEXMACS_LISP_PATH

View file

@ -0,0 +1,8 @@
--- ./plugins/lush/bin/tm_lush.orig Sun Oct 3 13:26:27 2004
+++ ./plugins/lush/bin/tm_lush Sat Oct 23 17:39:48 2004
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
cd $TEXMACS_PATH/plugins/lush
echo -ne "\002verbatim:"
cat << EOF

View file

@ -0,0 +1,8 @@
--- ./plugins/matlab/bin/tm_matlab.orig Sun Oct 3 13:26:27 2004
+++ ./plugins/matlab/bin/tm_matlab Sat Oct 23 17:39:48 2004
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
echo -ne "\002verbatim:"
cd $TEXMACS_PATH/plugins/matlab/code
matlab -nojvm -r tmrepl

View file

@ -0,0 +1,10 @@
--- ./plugins/maxima/bin/maxima_detect.orig Sun Oct 3 13:26:27 2004
+++ ./plugins/maxima/bin/maxima_detect Sat Oct 23 17:50:48 2004
@@ -1,5 +1,5 @@
-#!/bin/bash
-MAXIMA=`type -p maxima 2>/dev/null`
+#!/bin/sh
+MAXIMA=`which maxima 2>/dev/null`
if [ $? -eq 0 ]
then
if grep -F list-avail $MAXIMA >/dev/null

View file

@ -0,0 +1,8 @@
--- ./plugins/octave/bin/tm_octave.orig Sun Oct 3 13:26:27 2004
+++ ./plugins/octave/bin/tm_octave Sat Oct 23 17:39:48 2004
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
echo -ne "\002verbatim:"
octave -v
cd $TEXMACS_PATH/plugins/octave/octave; exec octave -qi tm-start.oct

View file

@ -0,0 +1,11 @@
--- ./plugins/octave/doc/README.orig Sun Oct 3 13:26:27 2004
+++ ./plugins/octave/doc/README Sat Oct 23 17:39:48 2004
@@ -26,7 +26,7 @@
have TeXmacs call a script like the following (this script is included as
"tm_octave"):
-#!/bin/bash
+#!/bin/sh
echo -ne "\002verbatim:"
octave -v
exec octave -qi

View file

@ -1,5 +1,5 @@
--- src/Guile/Scheme/object.hpp.orig Mon Nov 3 01:07:27 2003
+++ src/Guile/Scheme/object.hpp Mon Nov 3 01:06:19 2003
--- ./src/Guile/Scheme/object.hpp.orig Sun Oct 3 13:26:27 2004
+++ ./src/Guile/Scheme/object.hpp Sat Oct 23 17:39:48 2004
@@ -16,7 +16,7 @@
#include "path.hpp"
#include "command.hpp"

View file

@ -1,8 +1,5 @@
$FreeBSD$
--- src/System/Link/pipe_link.cpp.orig Thu Jul 31 15:26:38 2003
+++ src/System/Link/pipe_link.cpp Wed Aug 27 20:35:15 2003
--- ./src/System/Link/pipe_link.cpp.orig Sun Oct 3 13:26:37 2004
+++ ./src/System/Link/pipe_link.cpp Sat Oct 23 17:39:48 2004
@@ -10,6 +10,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
******************************************************************************/
@ -12,10 +9,10 @@ $FreeBSD$
#include "pipe_link.hpp"
#include "sys_utils.hpp"
#include "hashset.hpp"
@@ -20,8 +22,12 @@
#include <unistd.h>
#include <signal.h>
#include <sys/wait.h>
@@ -23,8 +25,12 @@
#ifdef OS_WIN32
#include <sys/misc.h>
#endif
+#if __FreeBSD_version < 500000
#ifndef __APPLE__
#include <malloc.h>

View file

@ -1,8 +1,5 @@
$FreeBSD$
--- src/Window/display.hpp.orig Fri Jun 27 17:46:00 2003
+++ src/Window/display.hpp Wed Aug 27 10:47:48 2003
--- ./src/Window/display.hpp.orig Sun Oct 3 13:26:38 2004
+++ ./src/Window/display.hpp Sat Oct 23 17:39:48 2004
@@ -12,12 +12,17 @@
#ifndef DISPLAY_H
@ -20,4 +17,4 @@ $FreeBSD$
+#endif
#endif
class font;
struct font;

View file

@ -1,8 +1,5 @@
$FreeBSD$
--- src/Window/event.hpp.orig Fri Jun 27 17:45:59 2003
+++ src/Window/event.hpp Wed Aug 27 20:35:35 2003
--- ./src/Window/event.hpp.orig Sun Oct 3 13:26:38 2004
+++ ./src/Window/event.hpp Sat Oct 23 17:39:48 2004
@@ -12,12 +12,17 @@
#ifndef EVENT_H

View file

@ -1,9 +1,9 @@
GNU TeXmacs is a free scientific text editor, which was both inspired
by TeX and GNU Emacs. The editor allows you to write structured
documents via a wysiwyg (what-you-see-is-what-you-get) and user
friendly interface. New styles may be created by the user. The program
implements high-quality typesetting algorithms and TeX fonts, which
help you to produce professionally looking documents.
documents via a wysiwyg (what-you-see-is-what-you-get) and user-
friendly interface. New styles may be created by the user. The
program implements high-quality typesetting algorithms and TeX
fonts, which help you to produce professional-looking documents.
WWW: http://www.texmacs.org/

File diff suppressed because it is too large Load diff