aboutsummaryrefslogtreecommitdiffstats
path: root/lang/oorexx/files
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-09-13 01:33:44 +0800
committerjylefort <jylefort@FreeBSD.org>2005-09-13 01:33:44 +0800
commit861fb475b832a15ad47445119e18e4fc4f39bab7 (patch)
treecfe90341a60966bd93652f263bc56c646ab78ceb /lang/oorexx/files
parentc70bb3b1131999d8e5e909c9f6be94aa1ce3441e (diff)
downloadfreebsd-ports-graphics-861fb475b832a15ad47445119e18e4fc4f39bab7.tar.gz
freebsd-ports-graphics-861fb475b832a15ad47445119e18e4fc4f39bab7.tar.zst
freebsd-ports-graphics-861fb475b832a15ad47445119e18e4fc4f39bab7.zip
Add oorexx.
Open Object Rexx is a powerful object-oriented scripting language. The interpreter is almost fully compatible with the original Object Rexx by IBM. The port is derived from the generic Unix source code, with the idea to add BSD-specific enhancements over time and also to develop modules that would allow to run the most of OS/2 Object Rexx code on BSD platforms. WWW: http://www.oorexx.org/ PR: ports/86005 Submitted by: Micho Durdevich <micho@matem.unam.mx>
Diffstat (limited to 'lang/oorexx/files')
-rw-r--r--lang/oorexx/files/patch-Makefile67
-rw-r--r--lang/oorexx/files/patch-obj_rexximg.sh14
2 files changed, 81 insertions, 0 deletions
diff --git a/lang/oorexx/files/patch-Makefile b/lang/oorexx/files/patch-Makefile
new file mode 100644
index 00000000000..6143cc706f8
--- /dev/null
+++ b/lang/oorexx/files/patch-Makefile
@@ -0,0 +1,67 @@
+--- Makefile.orig Tue Aug 23 20:06:02 2005
++++ Makefile Mon Sep 12 19:21:57 2005
+@@ -65,13 +65,13 @@
+ samples_dir = $(top_srcdir)/samples
+ rxtests_dir = $(top_srcdir)/rxtests
+
+-prefix = /usr/local
++prefix = $(PREFIX)
+
+ mandir = $(prefix)/man/man1
+ catdir = $(prefix)/bin
+ libdir = $(prefix)/lib
+ bindir = $(prefix)/bin
+-appdir = $(prefix)/oorexx
++appdir = $(prefix)/lib/oorexx
+
+ ####
+ #### OORexx Object Files & Dependencies
+@@ -202,10 +202,8 @@
+
+
+ EXTRA_FLAGS = -pthread -shared
+-CXX = g++
+-CC = gcc
+-CFLAGS = -g -O2 -DNOOPT -DPTHREAD_KERNEL -DSHARED -D_POSIX_THREAD -D_REENTRANT -DHIGHTID -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX
+-CXXFLAGS = -g -O2 -DNOOPT -DPTHREAD_KERNEL -DSHARED -D_POSIX_THREAD -D_REENTRANT -DHIGHTID -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX
++CFLAGS += -DNOOPT -DPTHREAD_KERNEL -DSHARED -D_POSIX_THREAD -D_REENTRANT -DHIGHTID -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX
++CXXFLAGS += -DNOOPT -DPTHREAD_KERNEL -DSHARED -D_POSIX_THREAD -D_REENTRANT -DHIGHTID -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX
+ COMMON_CPPFLAGS = -DORX_VER=$(MAJOR) -DORX_REL=$(MINOR) -DORX_MOD=$(MOD_LVL) -DORX_FIX=0 -DORX_CATDIR=\"$(catdir)\" -DHIGHTID
+
+ DEFS = -DHAVE_CONFIG_H
+@@ -1009,25 +1007,25 @@
+ @rm -f $(SPROGRAM)
+
+ install: $(PROGRAMS) $(SHARED_LIBRARIES) rexxown
+- @install $(SHARED_LIBRARIES) $(libdir)
+- @install $(PROGRAMS) $(bindir)
+- @hash && ./rexximg.sh
+- @install $(SUPFILES) $(bindir)
+- @install $(MANPAGES) $(mandir)
++ $(BSD_INSTALL_PROGRAM) $(SHARED_LIBRARIES) $(libdir)
++ $(BSD_INSTALL_PROGRAM) $(PROGRAMS) $(bindir)
++ ./rexximg.sh
++ $(BSD_INSTALL_DATA) $(SUPFILES) $(bindir)
++ $(BSD_INSTALL_MAN) $(MANPAGES) $(mandir)
+
+ rexxown: $(SPROGRAM) $(SLIBRARY)
+- @mkdir -p $(appdir)/samples $(appdir)/rxtests
++ mkdir -p $(EXAMPLESDIR) $(appdir)/rxtests
+
+ .for i in $(samples_dir)/*.rex $(samples_dir)/*.cls
+- @cp -n $i $(appdir)/samples
++ $(BSD_INSTALL_DATA) $i $(EXAMPLESDIR)
+ .endfor
+
+ .for i in $(rxtests_dir)/*.rex $(rxtests_dir)/trexx $(rxtests_dir)/README
+- @cp -n $i $(appdir)/rxtests
++ $(BSD_INSTALL_DATA) $i $(appdir)/rxtests
+ .endfor
+
+- @install $(SPROGRAM) $(appdir)/rxtests
+- @install $(SLIBRARY) $(appdir)/rxtests
++ $(BSD_INSTALL_PROGRAM) $(SPROGRAM) $(appdir)/rxtests
++ $(BSD_INSTALL_PROGRAM) $(SLIBRARY) $(appdir)/rxtests
+
+ deinstall:
+ @cd $(bindir) && rm -f $(PROGRAMS) $(SUPFILES)
diff --git a/lang/oorexx/files/patch-obj_rexximg.sh b/lang/oorexx/files/patch-obj_rexximg.sh
new file mode 100644
index 00000000000..0de1f43c4eb
--- /dev/null
+++ b/lang/oorexx/files/patch-obj_rexximg.sh
@@ -0,0 +1,14 @@
+--- obj/rexximg.sh.orig Mon Sep 12 19:14:53 2005
++++ obj/rexximg.sh Mon Sep 12 19:19:11 2005
+@@ -1,5 +1,11 @@
+ #!/bin/sh
+
++if [ -z "$LD_LIBRARY_PATH" ]; then
++ export LD_LIBRARY_PATH="."
++else
++ export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
++fi
++
+ # This shell script creates the initial OORexx image file
+ cp ../kernel/RexxClasses/*.orx .
+ cp ../kernel/bsd/*.orx .