summaryrefslogtreecommitdiffstats
path: root/lang/scriba/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-01-14 19:45:31 +0000
committervanilla <vanilla@FreeBSD.org>2001-01-14 19:45:31 +0000
commit81890738460a97768310130ecbb493f91f5bf85c (patch)
tree3d352ca7b8f1bf11ba6e135d603532fba35281be /lang/scriba/files
parentbdc190dc438b44634aaa745af332891cdc8c8a50 (diff)
downloadFreeBSD-ports-81890738460a97768310130ecbb493f91f5bf85c.zip
FreeBSD-ports-81890738460a97768310130ecbb493f91f5bf85c.tar.gz
ScriptBasic is a scripting implementation of the BASIC language. The
aim of this implementation is to provide a general and widely used tool for the simple programmer. One of the reason behind the success of the Microsoft operating systems is VisualBasic, which is built into many of the applications Microsoft delivers. Why are UNIX and other non-Microsoft operating system users prohibited to use the simplest programming language? ScriptBasic is a BASIC implementation, which aims not less than becoming the most widely used scripting tool on UNIX systems. It is portable, it is BASIC, it is a scripting tool and it is GNU LGPL. PR: ports/24133 Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Diffstat (limited to 'lang/scriba/files')
-rw-r--r--lang/scriba/files/patch-aa29
-rw-r--r--lang/scriba/files/patch-ab11
-rw-r--r--lang/scriba/files/patch-ac11
-rw-r--r--lang/scriba/files/patch-ad11
-rw-r--r--lang/scriba/files/patch-ae28
-rw-r--r--lang/scriba/files/patch-af58
-rw-r--r--lang/scriba/files/patch-ag11
7 files changed, 159 insertions, 0 deletions
diff --git a/lang/scriba/files/patch-aa b/lang/scriba/files/patch-aa
new file mode 100644
index 0000000..39b61b4
--- /dev/null
+++ b/lang/scriba/files/patch-aa
@@ -0,0 +1,29 @@
+--- Makefile.orig Wed Dec 27 19:52:16 2000
++++ Makefile Fri Jan 12 18:34:19 2001
+@@ -1,8 +1,8 @@
+ CC=cc
+ LDOPTIONS=-shared
+ LD=ld
+-CCFLAGS=
+-LIBS=-lm -ldl -lpthread
++CCFLAGS=$(CFLAGS)
++LIBS=-lm -lc_r
+ OBJS=builder.o conftree.o dynlolib.o execute.o\
+ expression.o filesys.o getopt.o lexer.o match.o\
+ memory.o myalloc.o options.o reader.o report.o sym.o\
+@@ -20,7 +20,6 @@
+ .PHONY: headers clean install all
+
+ all: headers scriba cftc cgi.so hash.so re.so basicc.a
+- sh install.sh
+
+ clean :
+ rm *.so *.o *.h ./scriba
+@@ -39,7 +38,6 @@
+
+ scriba : $(OBJS) $(COBJS) scribacmd.o
+ $(CC) -o scriba $(LIBS) $(OBJS) $(COBJS) scribacmd.o
+- scriba -v
+
+ cftc : cftc.o confpile.o conftree.o lsp.o
+ $(CC) -o cftc $(LIBS) cftc.o confpile.o conftree.o lsp.o
diff --git a/lang/scriba/files/patch-ab b/lang/scriba/files/patch-ab
new file mode 100644
index 0000000..1396185
--- /dev/null
+++ b/lang/scriba/files/patch-ab
@@ -0,0 +1,11 @@
+--- variations/standard/basiccmd.c.orig Sun Jan 7 19:39:44 2001
++++ variations/standard/basiccmd.c Sun Jan 7 19:35:07 2001
+@@ -186,7 +186,7 @@
+ "WINNT\\SCRIBA.INI",
+ #else
+ "SCRIBACONF",
+- "/etc/scriba/basic.conf",
++ "%%PREFIX%%/etc/scriba/basic.conf",
+ #endif
+ pszForcedConfigurationFileName);
+
diff --git a/lang/scriba/files/patch-ac b/lang/scriba/files/patch-ac
new file mode 100644
index 0000000..a05783d
--- /dev/null
+++ b/lang/scriba/files/patch-ac
@@ -0,0 +1,11 @@
+--- variations/standalone/basicc.c.orig Fri Dec 29 11:23:20 2000
++++ variations/standalone/basicc.c Sun Jan 7 19:35:17 2001
+@@ -57,7 +57,7 @@
+ "SCRIBA.INI",
+ #else
+ "SCRIBACONF",
+- "/etc/scriba/basic.conf",
++ "%%PREFIX%%/etc/scriba/basic.conf",
+ #endif
+ NULL);
+
diff --git a/lang/scriba/files/patch-ad b/lang/scriba/files/patch-ad
new file mode 100644
index 0000000..f4546dd
--- /dev/null
+++ b/lang/scriba/files/patch-ad
@@ -0,0 +1,11 @@
+--- configurer.c.orig Wed Dec 27 11:52:15 2000
++++ configurer.c Sun Jan 7 19:34:59 2001
+@@ -130,7 +130,7 @@
+ #else
+ char *s;
+ #define SCRIBACONF "SCRIBACONF"
+-#define DEFAULTCONF "/etc/scriba/basic.conf"
++#define DEFAULTCONF "%%PREFIX%%/etc/scriba/basic.conf"
+
+ s = getenv(SCRIBACONF);
+
diff --git a/lang/scriba/files/patch-ae b/lang/scriba/files/patch-ae
new file mode 100644
index 0000000..bf1e31f
--- /dev/null
+++ b/lang/scriba/files/patch-ae
@@ -0,0 +1,28 @@
+--- scriba.c.orig Wed Dec 27 11:52:17 2000
++++ scriba.c Sun Jan 7 20:30:15 2001
+@@ -518,16 +518,12 @@
+ "SCRIBA.INI",
+ #else
+ "SCRIBACONF",
+- "/etc/scriba/basic.conf",
++ "/usr/local/etc/scriba/basic.conf",
+ #endif
+ pszForcedConfigurationFileName);
+ /*DEBUG*/
+- fp = fopen("e:\\MyProjects\\sb\\isapi.log","a");
+- if( fp ){
+- fprintf(fp,"LoadConfiguration returned %d.\n",iError);
+- fclose(fp);
+- fp = NULL;
+- }
++ if(iError)
++ fprintf(stderr,"LoadConfiguration returned %d.\n",iError);
+
+ return iError;
+ }
+@@ -1900,4 +1896,4 @@
+
+ default: return SCRIBA_ERROR_FAIL;
+ }
+- }
++ }
diff --git a/lang/scriba/files/patch-af b/lang/scriba/files/patch-af
new file mode 100644
index 0000000..2b37a1f
--- /dev/null
+++ b/lang/scriba/files/patch-af
@@ -0,0 +1,58 @@
+--- scriba.conf.unix.lsp.orig Wed Dec 27 19:52:17 2000
++++ scriba.conf.unix.lsp Mon Jan 15 03:34:09 2001
+@@ -8,11 +8,11 @@
+ dll ".so"
+
+ ; where the modules are to be loaded from
+-module "/etc/scriba/modules/"
++module "/usr/local/lib/scriba/"
+
+ ; where to search system and module include files
+ ; trailing / or / is needed
+-include "/etc/scriba/include/"
++include "/usr/local/include/scriba/"
+
+ ;
+ ; define external preprocessors
+@@ -29,8 +29,8 @@
+ ; the external preprocessors
+ external (
+ heb (
+- executable "/usr/bin/scriba /etc/scriba/source/heber.bas"
+- directory "/etc/scriba/hebtemp/"
++ executable "/usr/local/bin/scriba /usr/local/include/scriba/heber.bas"
++ directory "/usr/local/etc/scriba/hebtemp/"
+ )
+ )
+ )
+@@ -67,13 +67,13 @@
+ ; This is the directory where we store the compiled code
+ ; to automatically avoid recompilation
+ ;
+-cache "/etc/scriba/cache/"
++cache "/usr/local/lib/scriba/cache/"
+
+ cgi (
+ ;
+ ; These are the keys used by the CGI module
+ ;
+- debugfile "/etc/scriba/cgidebug.txt"
++ debugfile "/usr/local/etc/scriba/cgidebug.txt"
+ )
+
+ ;
+@@ -83,7 +83,7 @@
+
+ ; directories where to store the
+ dir (
+- home "/etc/scriba/sampledb" ; the home directory of operation of the Berkerley DB
++ home "/usr/local/etc/scriba/sampledb" ; the home directory of operation of the Berkerley DB
+ data "db" ; database files
+ log "log" ; log files
+ temp "tmp" ; temporary files
+@@ -115,4 +115,4 @@
+ )
+ )
+
+-;break
++;break
diff --git a/lang/scriba/files/patch-ag b/lang/scriba/files/patch-ag
new file mode 100644
index 0000000..6da8431
--- /dev/null
+++ b/lang/scriba/files/patch-ag
@@ -0,0 +1,11 @@
+--- testconf.c.orig Wed Dec 27 11:52:17 2000
++++ testconf.c Sun Jan 7 19:34:59 2001
+@@ -15,7 +15,7 @@
+ "WINNT\\SCRIBA.INI",
+ #else
+ "SCRIBACONF",
+- "/etc/scriba/basic.conf",
++ "%%PREFIX%%/etc/scriba/basic.conf",
+ #endif
+ NULL));
+
OpenPOWER on IntegriCloud