summaryrefslogtreecommitdiffstats
path: root/net/rexx-sock
diff options
context:
space:
mode:
Diffstat (limited to 'net/rexx-sock')
-rw-r--r--net/rexx-sock/Makefile1
-rw-r--r--net/rexx-sock/files/patch-Makefile.in20
-rw-r--r--net/rexx-sock/files/patch-configure11
-rw-r--r--net/rexx-sock/files/patch-preinst.rexx10
-rw-r--r--net/rexx-sock/pkg-plist4
5 files changed, 46 insertions, 0 deletions
diff --git a/net/rexx-sock/Makefile b/net/rexx-sock/Makefile
index a2b761a..79f690e 100644
--- a/net/rexx-sock/Makefile
+++ b/net/rexx-sock/Makefile
@@ -8,6 +8,7 @@
PORTNAME= sock
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rxsock
diff --git a/net/rexx-sock/files/patch-Makefile.in b/net/rexx-sock/files/patch-Makefile.in
new file mode 100644
index 0000000..b4ff310
--- /dev/null
+++ b/net/rexx-sock/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Tue Jan 27 12:04:50 2004
++++ Makefile.in Tue Jan 27 12:16:35 2004
+@@ -195,13 +195,13 @@
+ -$(INSTALL) -c -m 755 ./$(SHLPRE)$(PACKAGE_NAME)$(SHLPST) $(libdir)/$(SHLPRE)$(PACKAGE_NAME)$(SHLPST)
+ $(INSTALL) -c -m 755 ./$(LIBPRE)$(PACKAGE_NAME)$(LIBPST) $(libdir)/$(LIBPRE)$(PACKAGE_NAME)$(LIBPST)
+ ./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/tcpc.cmd $(sharedir)/tcpcmd.cmd
+- -chmod 755 $(sharedir)/tcpc.cmd
++ -chmod 755 $(sharedir)/tcpcmd.cmd
+ ./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/tcps.cmd $(sharedir)/tcpsmd.cmd
+- -chmod 755 $(sharedir)/tcps.cmd
++ -chmod 755 $(sharedir)/tcpsmd.cmd
+ ./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/udpc.cmd $(sharedir)/udpcmd.cmd
+- -chmod 755 $(sharedir)/udpc.cmd
++ -chmod 755 $(sharedir)/udpcmd.cmd
+ ./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/udps.cmd $(sharedir)/udpsmd.cmd
+- -chmod 755 $(sharedir)/udps.cmd
++ -chmod 755 $(sharedir)/udpsmd.cmd
+ ./$(PACKAGE_NAME) $(basedir)/preinst.rexx $(bindir)/$(PACKAGE_NAME) $(demodir)/davesim.rex $(sharedir)/udpsmd.cmd
+ -chmod 755 $(sharedir)/davesim.rex
+ $(INSTALL) -c -m 644 $(demodir)/udps.txt $(sharedir)/udps.txt
diff --git a/net/rexx-sock/files/patch-configure b/net/rexx-sock/files/patch-configure
new file mode 100644
index 0000000..c93a2ec
--- /dev/null
+++ b/net/rexx-sock/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Jan 27 11:57:27 2004
++++ configure Tue Jan 27 11:57:34 2004
+@@ -2832,7 +2832,7 @@
+ LD_RXTRANSLIB1="$LD_RXLIB1"
+ ;;
+ *freebsd*)
+- LD_RXLIB1="ld -Bdynamic -Bshareable"
++ LD_RXLIB1="${CC} -shared"
+ LD_RXTRANSLIB1="$LD_RXLIB1"
+ ;;
+ *pc-sco*)
diff --git a/net/rexx-sock/files/patch-preinst.rexx b/net/rexx-sock/files/patch-preinst.rexx
new file mode 100644
index 0000000..7f896f0
--- /dev/null
+++ b/net/rexx-sock/files/patch-preinst.rexx
@@ -0,0 +1,10 @@
+--- preinst.rexx.orig Tue Jan 27 12:01:19 2004
++++ preinst.rexx Tue Jan 27 12:01:27 2004
+@@ -5,6 +5,6 @@
+ Call Lineout outfile, "#!" || rexx_exe
+ Do While(Lines(infile) > 0)
+ line = Linein(infile)
+- Call Lineout(outfile, line )
++ Call Lineout outfile, line
+ End
+ Return 0
diff --git a/net/rexx-sock/pkg-plist b/net/rexx-sock/pkg-plist
index 39222b1..0a828f3 100644
--- a/net/rexx-sock/pkg-plist
+++ b/net/rexx-sock/pkg-plist
@@ -2,6 +2,10 @@ bin/rxsock
lib/librxsock.a
lib/librxsock.so
%%DATADIR%%/davesim.txt
+%%DATADIR%%/tcpcmd.cmd
+%%DATADIR%%/tcpsmd.cmd
%%DATADIR%%/tcps.txt
+%%DATADIR%%/udpcmd.cmd
+%%DATADIR%%/udpsmd.cmd
%%DATADIR%%/udps.txt
@dirrm %%DATADIR%%
OpenPOWER on IntegriCloud