aboutsummaryrefslogtreecommitdiffstats
path: root/math/asir2000
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-02-23 17:02:27 +0800
committeredwin <edwin@FreeBSD.org>2003-02-23 17:02:27 +0800
commit1d3a0bd3ba9ec9870f687b0457e02b019665434f (patch)
tree1db7d38581e0cbd57f8a8781c8fb5ab37c21043f /math/asir2000
parent9015a5a1ae5096df21ccd967e02ecae0f7bffaba (diff)
downloadfreebsd-ports-gnome-1d3a0bd3ba9ec9870f687b0457e02b019665434f.tar.gz
freebsd-ports-gnome-1d3a0bd3ba9ec9870f687b0457e02b019665434f.tar.zst
freebsd-ports-gnome-1d3a0bd3ba9ec9870f687b0457e02b019665434f.zip
Update for math/asir2000 to version 20030215
PR: ports/48284 Submitted by: Saito Tomokatsu <saito@asir.org>
Diffstat (limited to 'math/asir2000')
-rw-r--r--math/asir2000/Makefile22
-rw-r--r--math/asir2000/distinfo2
-rw-r--r--math/asir2000/files/patch-ac16
-rw-r--r--math/asir2000/files/patch-ad10
-rw-r--r--math/asir2000/files/patch-af0
5 files changed, 32 insertions, 18 deletions
diff --git a/math/asir2000/Makefile b/math/asir2000/Makefile
index 895cf9994b68..788876790c04 100644
--- a/math/asir2000/Makefile
+++ b/math/asir2000/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= asir
-PORTVERSION= 20021020
+PORTVERSION= 20030215
CATEGORIES= math
MASTER_SITES= ftp://ftp.jssac.org/pub/distfiles/asir/ \
ftp://ftp.asir.org/pub/asir/src/
@@ -19,8 +19,9 @@ COMMENT= The system Risa/Asir is a general computer algebra system
WRKSRC= ${WRKDIR}/asir2000
PREFIX?= ${LOCALBASE}
USE_IMAKE= YES
-XFREE86_HTML_MAN=NO
-USE_X_PREFIX= YES
+USE_REINPLACE= yes
+XFREE86_HTML_MAN= no
+USE_X_PREFIX = no
HAS_CONFIGURE= YES
CONFIGURE_ENV= OLD_PARI_VERSION=${OLD_PARI_VERSION} \
PARI_VERSION=${PARI_VERSION} \
@@ -69,6 +70,21 @@ pre-extract:
@${ECHO_MSG} " make USE_LAPACK=yes"
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
+ ${WRKSRC}/configure \
+ ${WRKSRC}/gc/configure \
+ ${WRKSRC}/gc/libtool.m4 \
+ ${WRKSRC}/include/Risa.tmpl \
+ ${WRKSRC}/include/Risa.tmpl-alpha \
+ ${WRKSRC}/lib/xm \
+ ${WRKSRC}/old/configure
+ ${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
+ ${WRKSRC}/Imakefile \
+ ${WRKSRC}/gc/configure \
+ ${WRKSRC}/gc/libtool.m4 \
+ ${WRKSRC}/old/Imakefile
+
pre-install:
@${MKDIR} ${DATADIR}
@${MKDIR} ${DOCSDIR}
diff --git a/math/asir2000/distinfo b/math/asir2000/distinfo
index ddce0121bf48..c71ca48c8523 100644
--- a/math/asir2000/distinfo
+++ b/math/asir2000/distinfo
@@ -1,2 +1,2 @@
-MD5 (asir-20021020.tar.gz) = 16466840115d8e8ab94297b63467279e
+MD5 (asir-20030215.tar.gz) = 1ce5189106564822ea1d2b6733d081c6
MD5 (asirdoc-20021020.tar.gz) = f72afe8d5360e3ea69548306185433d7
diff --git a/math/asir2000/files/patch-ac b/math/asir2000/files/patch-ac
index 2c64c22a2c72..5261f14b439d 100644
--- a/math/asir2000/files/patch-ac
+++ b/math/asir2000/files/patch-ac
@@ -1,10 +1,14 @@
---- include/version.h.orig Thu Oct 3 10:12:46 2002
-+++ include/version.h Wed Oct 9 01:37:03 2002
-@@ -47,5 +47,5 @@
+--- include/version.h.orig Tue Jan 28 17:38:58 2003
++++ include/version.h Thu Feb 6 16:31:53 2003
+@@ -47,5 +47,9 @@
*
- * $OpenXM: OpenXM_contrib2/asir2000/include/version.h,v 1.75 2002/10/03 01:12:46 noro Exp $
+ * $OpenXM: OpenXM_contrib2/asir2000/include/version.h,v 1.90 2003/01/28 08:38:58 noro Exp $
*/
--#define ASIR_VERSION 20021003
+-#define ASIR_VERSION 20030128
-#define ASIR_DISTRIBUTION "Kobe"
-+#define ASIR_VERSION 20021020
++#define ASIR_VERSION 20030215
+#define ASIR_DISTRIBUTION "Plotting Group"
++#define PARI_DEVEL_VERSION "PARI 2.2.4.alpha, copyright (C) 2000,
++ C. Batut, K. Belabas, D. Bernardi, H. Cohen and M. Olivier"
++#define PARI_DEVEL_VERSION "PARI 2.2.4.alpha, copyright (C) 2000,
++ C. Batut, K. Belabas, D. Bernardi, H. Cohen and M. Olivier"
diff --git a/math/asir2000/files/patch-ad b/math/asir2000/files/patch-ad
index 96edad3bad2e..bc546c3fe4f4 100644
--- a/math/asir2000/files/patch-ad
+++ b/math/asir2000/files/patch-ad
@@ -1,5 +1,5 @@
---- configure.orig Thu Jul 25 17:53:13 2002
-+++ configure Thu Oct 17 11:18:59 2002
+--- configure.orig Wed Jan 15 22:51:27 2003
++++ configure Thu Jan 16 01:43:33 2003
@@ -4,6 +4,7 @@
use_plot=0
use_pari=0
@@ -46,9 +46,3 @@
if [ $use_fep != 0 ]; then
echo "#define USE_FEP" >> include/config.h
fi
-@@ -68,4 +80,4 @@
- echo LIBPARI=$libpari >> include/config.h
- echo LIBASIR=$libname.a >> include/config.h
-
--(cd gc; ./configure)
-+(cd gc; ./configure --disable-threads)
diff --git a/math/asir2000/files/patch-af b/math/asir2000/files/patch-af
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/math/asir2000/files/patch-af
+++ /dev/null