diff options
author | Rene Ladan <rene@FreeBSD.org> | 2010-12-31 17:35:17 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2010-12-31 17:35:17 +0000 |
commit | b7d7206e331ee8ea7c04edf9d67d31e3c2200f2e (patch) | |
tree | 8af93908ea781b500c84a3f66c1a7e07b1642782 /math/rascal | |
parent | b272f7cc9d952121fdfd294bd10287e62d113240 (diff) | |
download | ports-b7d7206e331ee8ea7c04edf9d67d31e3c2200f2e.tar.gz ports-b7d7206e331ee8ea7c04edf9d67d31e3c2200f2e.zip |
Notes
Diffstat (limited to 'math/rascal')
-rw-r--r-- | math/rascal/Makefile | 74 | ||||
-rw-r--r-- | math/rascal/distinfo | 3 | ||||
-rw-r--r-- | math/rascal/files/patch-grascal.cpp | 29 | ||||
-rw-r--r-- | math/rascal/files/patch-hoc.y | 32 | ||||
-rw-r--r-- | math/rascal/files/patch-mmatrix.hpp | 45 | ||||
-rw-r--r-- | math/rascal/files/patch-rascal.1 | 70 | ||||
-rw-r--r-- | math/rascal/pkg-descr | 6 | ||||
-rw-r--r-- | math/rascal/pkg-plist | 20 |
8 files changed, 0 insertions, 279 deletions
diff --git a/math/rascal/Makefile b/math/rascal/Makefile deleted file mode 100644 index 3f56135fefdd..000000000000 --- a/math/rascal/Makefile +++ /dev/null @@ -1,74 +0,0 @@ -# ex:ts=8 -# New ports collection makefile for: rascal -# Date created: Apr 9, 2001 -# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= rascal -PORTVERSION= 0.3.2 -PORTREVISION= 4 -CATEGORIES= math -MASTER_SITES= SF/${PORTNAME}/Rascal/${PORTVERSION} - -DEPRECATED= Broken on every arch since 2008, looks like an abandonware -EXPIRATION_DATE= 2010-12-30 - -MAINTAINER= ports@FreeBSD.org -COMMENT= The Advanced Scientific CALculator - -WRKSRC= ${WRKDIR}/Rascal-${PORTVERSION} - -USE_BISON= build -WANT_GNOME= yes -USE_GMAKE= yes -MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -ALL_TARGET= ${PROGRAMS} - -MAN1= rascal.1 - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.else -BROKEN= does not link -.endif - -.if ${HAVE_GNOME:Mgnomelibs}!="" -PKGNAMESUFFIX= -gnome -USE_GNOME+= gnomelibs -PROGRAMS= rascal grascal -.else -PROGRAMS= rascal -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \ - s|^CFLAGS=-|CFLAGS+=$${CPPFLAGS} -|g ; \ - s|-O0 -fno-rtti -g||g ; \ - s|^LIBS=-|LIBS+=$${LDFLAGS} -|g ; \ - s|doc/|share/doc/|g ; \ - s|g++|$${CC}|g ; \ - s|-Os||g ; \ - s|gnome-config|$${GNOME_CONFIG}|g' ${WRKSRC}/Makefile -.for file in hoc.y rascal.1 grascal.cpp - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${file} -.endfor - -do-install: -.for file in ${PROGRAMS} - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin -.endfor - ${INSTALL_DATA} ${WRKSRC}/rascal.rc ${PREFIX}/etc - ${INSTALL_MAN} ${WRKSRC}/rascal.1 ${MANPREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/html -.for file in rascal.ps rascal.pdf CHANGES TEST TOOLBOXTEST - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor - ${INSTALL_DATA} ${WRKSRC}/rascal_html/* ${DOCSDIR}/html -.endif - -.include <bsd.port.post.mk> diff --git a/math/rascal/distinfo b/math/rascal/distinfo deleted file mode 100644 index 7433ff0beb04..000000000000 --- a/math/rascal/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (rascal-0.3.2.tar.gz) = 2ac111ac6fdbe9de3496da2e48d58ae1 -SHA256 (rascal-0.3.2.tar.gz) = ca9818965f2e5005b7c656408a02076b97c33385b97c4c6744fda93ede2baf16 -SIZE (rascal-0.3.2.tar.gz) = 243881 diff --git a/math/rascal/files/patch-grascal.cpp b/math/rascal/files/patch-grascal.cpp deleted file mode 100644 index 6698fa3c7759..000000000000 --- a/math/rascal/files/patch-grascal.cpp +++ /dev/null @@ -1,29 +0,0 @@ ---- grascal.cpp.orig Tue May 14 07:09:26 2002 -+++ grascal.cpp Sat Oct 18 14:51:09 2003 -@@ -76,7 +76,7 @@ - - int main(int argc,char **argv) - { -- Calterm a(string("grascal ")+string(VERSION),"/usr/local/bin/rascal","--shellcolour 4 --outputcolour 0"); -+ Calterm a(string("grascal ")+string(VERSION),"%%PREFIX%%/bin/rascal","--shellcolour 4 --outputcolour 0"); - - if(exist("./rascal")) - a.setClientPath("./rascal"); -@@ -91,7 +91,7 @@ - a.addMenu(new MenuFileSelect("/File/_Load","<control>L","Load Rascal File",rascal_load)); - a.addMenu(new MenuFileSelect("/File/_Save","<control>S","Save Rascal File",rascal_save)); - a.addMenu(new MenuSeparator("/File/sep1")); -- a.addMenu(new MenuGtkFunction("/File/_Quit","<control>Q",gtk_main_quit)); -+ a.addMenu(new MenuGtkFunction("/File/_Quit","<control>Q",(GtkItemFactoryCallback)gtk_main_quit)); - - a.addMenu(new MenuTop("/_Show")); - a.addMenu(new MenuSimpleSend("/Show/_Variables","","variables;\n")); -@@ -113,7 +113,7 @@ - a.addMenu(new MenuSimpleSend("/Help/Licence","","licence;\n")); - a.addMenu(new MenuSimpleSend("/Help/Changelog","","help changes;\n")); - a.addMenu(new MenuSeparator("/Help/sep2")); -- a.addMenu(new MenuShowUrl("/Help/Manual","","file:/usr/local/doc/rascal/html/index.html")); -+ a.addMenu(new MenuShowUrl("/Help/Manual","","file:%%PREFIX%%/share/doc/rascal/html/index.html")); - a.addMenu(new MenuSeparator("/Help/sep1")); - a.addMenu(new MenuShowUrl("/Help/Rascal Homepage","","http://rascal.sourceforge.net/")); - diff --git a/math/rascal/files/patch-hoc.y b/math/rascal/files/patch-hoc.y deleted file mode 100644 index 8cd3f2472df4..000000000000 --- a/math/rascal/files/patch-hoc.y +++ /dev/null @@ -1,32 +0,0 @@ ---- hoc.y.orig Tue May 14 06:09:26 2002 -+++ hoc.y Tue Dec 3 14:45:21 2002 -@@ -38,6 +38,11 @@ - #include <math.h> - #include <stdlib.h> - #include <string.h> -+#include <stdio.h> -+extern "C" { -+#include <getopt.h> -+} -+ - int precis=8; - - void * set_string_input(char *); -@@ -517,7 +522,7 @@ - cout << " The content of given files and expressions will be treated as user input" << endl; - cout << " in the order rc-file, given files, expressions." << endl; - cout << endl; -- cout << " The rc-file is searched in /etc/rascal.rc, /usr/local/bin/rascal.rc, rascal.rc" << endl; -+ cout << " The rc-file is searched in %%PREFIX%%/etc/rascal.rc, rascal.rc" << endl; - return 0; - case 'n': - norc=1; -@@ -556,7 +561,7 @@ - } - - if(norc==0) -- if(load("/etc/rascal.rc") && load("/usr/local/bin/rascal.rc") && load("rascal.rc")) -+ if(load("%%PREFIX%%/etc/rascal.rc") && load("rascal.rc")) - ; // no rcfile found - - if(doeval!="") diff --git a/math/rascal/files/patch-mmatrix.hpp b/math/rascal/files/patch-mmatrix.hpp deleted file mode 100644 index 29fa7f77fcbb..000000000000 --- a/math/rascal/files/patch-mmatrix.hpp +++ /dev/null @@ -1,45 +0,0 @@ ---- modules/mmatrix.hpp.orig Mon Aug 16 19:17:01 2004 -+++ modules/mmatrix.hpp Mon Aug 16 19:27:48 2004 -@@ -33,14 +33,14 @@ - public: - mmatrix(int aN,int aM) : N(aN),M(aM) - { -- a=new (T *)[N]; -+ a=new T *[N]; - int i; - for(i=0;i<N;i++) - a[i]=new T[M]; - } - mmatrix(int aN,int aM,const T & x,const T & y) : N(aN),M(aM) - { -- a=new (T *)[N]; -+ a=new T *[N]; - int i; - for(i=0;i<N;i++) - a[i]=new T[M]; -@@ -51,14 +51,14 @@ - } - mmatrix(const T & b) : N(1),M(1) - { -- a=new (T *)[1]; -+ a=new T *[1]; - a[0]=new T[1]; - a[0][0]=b; - } - mmatrix(const mmatrix<T> &b) : N(b.N),M(b.M) - { - int i,j; -- a=new (T *)[N]; -+ a=new T *[N]; - for(i=0;i<N;i++) - { - a[i]=new T[M]; -@@ -77,7 +77,7 @@ - { - for(i=0;i<N;i++) delete [] a[i]; delete [] a; // what if self-assigment ?!?? - N=b.N;M=b.M; -- a=new (T *)[N]; -+ a=new T *[N]; - for(i=0;i<N;i++) - a[i]=new T[M]; - } diff --git a/math/rascal/files/patch-rascal.1 b/math/rascal/files/patch-rascal.1 deleted file mode 100644 index 03bcabe4bd44..000000000000 --- a/math/rascal/files/patch-rascal.1 +++ /dev/null @@ -1,70 +0,0 @@ ---- rascal.1.orig Tue May 14 06:09:26 2002 -+++ rascal.1 Tue Dec 3 14:58:09 2002 -@@ -64,7 +64,7 @@ - For more information read the extensive user documentation: - - .B gv --.I /usr/local/doc/rascal/rascal.ps -+.I %%PREFIX%%/share/doc/rascal/rascal.ps - - .SH EXAMPLE SESSIONS - -@@ -114,10 +114,7 @@ - [-4 2;3 -1] - - .SH FILES --.I /etc/rascal.rc --.RS --.RE --.I /usr/local/bin/rascal.rc -+.I %%PREFIX%%/etc/rascal.rc - .RS - .RE - .I ./rascal.rc -@@ -126,30 +123,30 @@ - i) - .RE - .P --.I /usr/local/doc/rascal/rascal.ps -+.I %%PREFIX%%/share/doc/rascal/rascal.ps - .RS - .RE --.I /usr/local/doc/rascal/rascal.pdf -+.I %%PREFIX%%/share/doc/rascal/rascal.pdf - .RS - .RE --.I /usr/local/doc/rascal/rascal/rascal.html -+.I %%PREFIX%%/share/doc/rascal/html/rascal.html - .RS - User documentation, to view it invoke - .RS - .RE - .B gv --.I /usr/local/doc/rascal/rascal.ps -+.I %%PREFIX%%/share/doc/rascal/rascal.ps - .RE - .P --.I /usr/local/doc/rascal/TEST -+.I %%PREFIX%%/share/doc/rascal/TEST - .RS - Test suite, to test Rascal invoke - .RS - .RE --.BI "rascal " "/usr/local/doc/rascal/TEST" -+.BI "rascal " "%%PREFIX%%/share/doc/rascal/TEST" - .RE - .P --.I /usr/local/doc/rascal/CHANGES -+.I %%PREFIX%%/share/doc/rascal/CHANGES - .RS - Changelog - -@@ -169,7 +166,7 @@ - .I "http://rascal.sourceforge.net/" - and attach the output of the test - .RE --.BI "rascal " "/usr/local/doc/rascal/TEST" -+.BI "rascal " "%%PREFIX%%/share/doc/rascal/TEST" - - .SH AUTHOR - Sebastian Ritterbusch <rascal@ritterbusch.de> diff --git a/math/rascal/pkg-descr b/math/rascal/pkg-descr deleted file mode 100644 index b0b21bd6f67c..000000000000 --- a/math/rascal/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Rascal, the Advanced Scientific CALculator, is a platform independent -modular calculator. Based on modules for integer, doubles, strings, -vectors and matrices it can be easily extended with existing C or C++ -code. - -WWW: http://rascal.sourceforge.net/ diff --git a/math/rascal/pkg-plist b/math/rascal/pkg-plist deleted file mode 100644 index 794cafcbd0a8..000000000000 --- a/math/rascal/pkg-plist +++ /dev/null @@ -1,20 +0,0 @@ -%%GNOME:%%bin/grascal -bin/rascal -etc/rascal.rc -%%PORTDOCS%%%%DOCSDIR%%/rascal.pdf -%%PORTDOCS%%%%DOCSDIR%%/rascal.ps -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/TEST -%%PORTDOCS%%%%DOCSDIR%%/TOOLBOXTEST -%%PORTDOCS%%%%DOCSDIR%%/html/img1.gif -%%PORTDOCS%%%%DOCSDIR%%/html/img2.gif -%%PORTDOCS%%%%DOCSDIR%%/html/img3.gif -%%PORTDOCS%%%%DOCSDIR%%/html/img4.gif -%%PORTDOCS%%%%DOCSDIR%%/html/img5.gif -%%PORTDOCS%%%%DOCSDIR%%/html/img6.gif -%%PORTDOCS%%%%DOCSDIR%%/html/img7.gif -%%PORTDOCS%%%%DOCSDIR%%/html/index.html -%%PORTDOCS%%%%DOCSDIR%%/html/rascal.css -%%PORTDOCS%%%%DOCSDIR%%/html/rascal.html -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html -%%PORTDOCS%%@dirrm %%DOCSDIR%% |