upgrade to 1.0.5

PR:		85377
Submitted by:	Ports Fury
This commit is contained in:
Ying-Chieh Liao 2005-08-30 02:56:28 +00:00
parent 1fe62fb74b
commit 07eddb2512
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141388
9 changed files with 327 additions and 86 deletions

View file

@ -6,30 +6,45 @@
#
PORTNAME= texmacs
PORTVERSION= 1.0.4.3
PORTVERSION= 1.0.5
CATEGORIES= editors print
MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/ \
ftp://ftp.texmacs.org/pub/TeXmacs/old-targz/
DISTNAME= TeXmacs-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= "A free WYSIWYG scientific text editor."
COMMENT= A free WYSIWYG scientific text editor
BUILD_DEPENDS= guile:${PORTSDIR}/lang/guile \
tex:${PORTSDIR}/print/teTeX
RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX
BUILD_DEPENDS= tex:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile \
freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX-base
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --disable-fastalloc ${CONFIGURE_TARGET}
USE_ICONV= yes
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
USE_GMAKE= yes
ALL_TARGET=
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-fastalloc --enable-optimize="${CXXFLAGS}" \
--with-iconv="${LOCALBASE}"
MAKE_ARGS= CP="${CP} -R -f"
ALL_TARGET= ${PORTNAME:U}
MAN1= texmacs.1 fig2ps.1
MANCOMPRESSED= yes
pre-install:
cd ${WRKSRC} ; find . -name '*.orig' -delete
post-patch:
@${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|#!/bin/bash|#!/bin/sh|g'
@${REINPLACE_CMD} -e 's|type -p maxima|which maxima|g' \
${WRKSRC}/plugins/maxima/bin/maxima_detect
post-install:
${CHOWN} -R ${LIBOWN}:${LIBGRP} ${PREFIX}/libexec/TeXmacs
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/TeXmacs
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
MD5 (TeXmacs-1.0.4.3-src.tar.gz) = 44c227be5a61cbca53cf59e0b957ba25
SIZE (TeXmacs-1.0.4.3-src.tar.gz) = 2626939
MD5 (TeXmacs-1.0.5-src.tar.gz) = d6b9bc6cf077eb66fbbfbe5974f4ced8
SIZE (TeXmacs-1.0.5-src.tar.gz) = 2895150

View file

@ -1,8 +0,0 @@
--- ./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

@ -1,8 +0,0 @@
--- ./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

@ -1,8 +0,0 @@
--- ./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

@ -1,10 +0,0 @@
--- ./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

@ -1,8 +0,0 @@
--- ./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

@ -1,11 +0,0 @@
--- ./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

File diff suppressed because it is too large Load diff