aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/rexx-regina/Makefile35
-rw-r--r--lang/rexx-regina/distinfo1
-rw-r--r--lang/rexx-regina/files/patch-Makefile.in11
-rw-r--r--lang/rexx-regina/files/rxstack.sh11
-rw-r--r--lang/rexx-regina/pkg-descr13
-rw-r--r--lang/rexx-regina/pkg-plist23
7 files changed, 95 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 64b90dcee0c3..7f346f1f84ce 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -181,6 +181,7 @@
SUBDIR += quack
SUBDIR += ratfor
SUBDIR += rexx-imc
+ SUBDIR += rexx-regina
SUBDIR += rscheme
SUBDIR += ruby-js
SUBDIR += ruby-lua
diff --git a/lang/rexx-regina/Makefile b/lang/rexx-regina/Makefile
new file mode 100644
index 000000000000..bfdbf5657ff6
--- /dev/null
+++ b/lang/rexx-regina/Makefile
@@ -0,0 +1,35 @@
+# ex:ts=8
+# Ports collection makefile for: rexx-regina
+# Date created: Nov 11, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= regina
+PORTVERSION= 3.2
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}-rexx
+PKGNAMEPREFIX= rexx-
+DISTNAME= Regina-REXX-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A Rexx interpreter
+
+WRKSRC= ${WRKDIR}/Regina-${PORTVERSION}
+USE_REINPLACE= yes
+USE_OPENSSL= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+
+MAN1= regina.1
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
+
+post-install:
+ @${INSTALL_SCRIPT} ${FILESDIR}/rxstack.sh ${PREFIX}/etc/rc.d
+
+.include <bsd.port.mk>
diff --git a/lang/rexx-regina/distinfo b/lang/rexx-regina/distinfo
new file mode 100644
index 000000000000..646f35ff408c
--- /dev/null
+++ b/lang/rexx-regina/distinfo
@@ -0,0 +1 @@
+MD5 (Regina-REXX-3.2.tar.gz) = f001f7bf764e107032bc334c66d94031
diff --git a/lang/rexx-regina/files/patch-Makefile.in b/lang/rexx-regina/files/patch-Makefile.in
new file mode 100644
index 000000000000..1bc275da3a44
--- /dev/null
+++ b/lang/rexx-regina/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun Nov 9 23:49:49 2003
++++ Makefile.in Sun Nov 9 23:50:39 2003
+@@ -849,7 +849,7 @@
+ $(INSTALL) -m 755 -c ./rxqueue$(EXE) $(bindir)/rxqueue$(EXE)
+ $(INSTALL) -m 755 -c ./rxstack$(EXE) $(bindir)/rxstack$(EXE)
+ $(INSTALL) -m 755 -c ./regina-config $(bindir)/regina-config
+- -$(INSTALL) -m 755 -c ./rxstack.init.d $(sysconfdir)/rc.d/init.d/rxstack
++# -$(INSTALL) -m 755 -c ./rxstack.init.d $(sysconfdir)/rc.d/init.d/rxstack
+ @echo "The system startup/shutdown script; rxstack, may have been installed into $(sysconfdir)/rc.d/init.d"
+ @echo "You need to create the appropriate links to this script to start and stop rxstack automatically."
+ -$(INSTALL) -m 755 -c ./$(LIBPRE)$(LIBFILE)$(LIBPST) $(libdir)/$(LIBPRE)$(LIBFILE)$(LIBPST)
diff --git a/lang/rexx-regina/files/rxstack.sh b/lang/rexx-regina/files/rxstack.sh
new file mode 100644
index 000000000000..4be1f23a7ffb
--- /dev/null
+++ b/lang/rexx-regina/files/rxstack.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case "$1" in
+start)
+ [ -x /usr/local/bin/rxstack ] && /usr/local/bin/rxstack -d && \
+ echo -n "Starting Regina Stack"
+ ;;
+stop)
+ killall rxstack && echo -n "Shutting down Regina Stack"
+ ;;
+esac
diff --git a/lang/rexx-regina/pkg-descr b/lang/rexx-regina/pkg-descr
new file mode 100644
index 000000000000..4a58c9518ea5
--- /dev/null
+++ b/lang/rexx-regina/pkg-descr
@@ -0,0 +1,13 @@
+Regina is a Rexx interpreter that has been ported to most Unix platforms
+(Linux, FreeBSD, Solaris, AIX, HP-UX, etc.) and also to OS/2, eCS, DOS,
+Win9x/Me/NT/2k/XP, Amiga, AROS, QNX, BeOS, MacOS X, EPOC32, AtheOS, OpenVMS
+and OpenEdition. Rexx is a programming language that was designed to be easy
+to use for inexperienced programmers yet powerful enough for experienced
+users. It is also a language ideally suited as a macro language for other
+applications.
+
+There are two major goals for Regina:
+ * become 100% compliant with the ANSI Standard.
+ * be available on as many platforms as possible.
+
+WWW: http://regina-rexx.sourceforge.net/
diff --git a/lang/rexx-regina/pkg-plist b/lang/rexx-regina/pkg-plist
new file mode 100644
index 000000000000..cb90f5bff02d
--- /dev/null
+++ b/lang/rexx-regina/pkg-plist
@@ -0,0 +1,23 @@
+bin/regina
+bin/regina-config
+bin/rexx
+bin/rxqueue
+bin/rxstack
+etc/rc.d/rxstack.sh
+include/rexxsaa.h
+lib/libregina.a
+lib/libregina.so
+lib/libtest1.so
+lib/libtest2.so
+%%DATADIR%%/animal.rexx
+%%DATADIR%%/block.rexx
+%%DATADIR%%/dateconv.rexx
+%%DATADIR%%/de.mtb
+%%DATADIR%%/dynfunc.rexx
+%%DATADIR%%/es.mtb
+%%DATADIR%%/newstr.rexx
+%%DATADIR%%/no.mtb
+%%DATADIR%%/pt.mtb
+%%DATADIR%%/rexxcps.rexx
+%%DATADIR%%/timeconv.rexx
+@dirrm %%DATADIR%%