aboutsummaryrefslogtreecommitdiff
path: root/lang/rexx-regina
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-09 16:20:52 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-09 16:20:52 +0000
commit402d5004adb40358129cb398b399e5f176da821c (patch)
tree418c12170bddf0bd35e5c5a4397b765da919d008 /lang/rexx-regina
parent3eb71f0559e57df39b9b51d99176ee0250459f1b (diff)
downloadports-402d5004adb40358129cb398b399e5f176da821c.tar.gz
ports-402d5004adb40358129cb398b399e5f176da821c.zip
Notes
Diffstat (limited to 'lang/rexx-regina')
-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
6 files changed, 94 insertions, 0 deletions
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%%