aboutsummaryrefslogtreecommitdiffstats
path: root/net/rexx-sock
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2005-06-10 16:07:05 +0800
committerpat <pat@FreeBSD.org>2005-06-10 16:07:05 +0800
commitaf4f9a0be4145bb079467bdf9792ae5e580d64c2 (patch)
tree0f1d1c80a1a1709acac8acd3af199af4964c65ba /net/rexx-sock
parent64d0a0a0f06c90370db13c894c5e1aeacd192da3 (diff)
downloadfreebsd-ports-gnome-af4f9a0be4145bb079467bdf9792ae5e580d64c2.tar.gz
freebsd-ports-gnome-af4f9a0be4145bb079467bdf9792ae5e580d64c2.tar.zst
freebsd-ports-gnome-af4f9a0be4145bb079467bdf9792ae5e580d64c2.zip
Update to 1.4
PR: ports/82079 Submitted by: ports fury
Diffstat (limited to 'net/rexx-sock')
-rw-r--r--net/rexx-sock/Makefile17
-rw-r--r--net/rexx-sock/distinfo4
-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-plist9
6 files changed, 19 insertions, 52 deletions
diff --git a/net/rexx-sock/Makefile b/net/rexx-sock/Makefile
index c3d7a0edafc4..8c8a9f01b5b9 100644
--- a/net/rexx-sock/Makefile
+++ b/net/rexx-sock/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= sock
-PORTVERSION= 1.3
-PORTREVISION= 2
+PORTVERSION= 1.4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rxsock
@@ -21,13 +20,21 @@ COMMENT= A function package for Rexx programmers to create sockets
BUILD_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
+USE_REINPLACE= yes
+USE_GMAKE= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-rexx=regina
-USE_GMAKE= yes
+MAKE_ARGS= INSTALL="${INSTALL}"
INSTALLS_SHLIB= yes
+
DATADIR= ${PREFIX}/share/rx${PORTNAME}
-post-extract:
- @${CHMOD} +x ${WRKSRC}/install-sh
+post-patch:
+ @${REINPLACE_CMD} -e 's|ld -Bdynamic -Bshareable|$${CC} -shared|g' \
+ ${WRKSRC}/configure
+.for file in Makefile.in rxsock-config.in
+ @${REINPLACE_CMD} -e 's|-lc||g' ${WRKSRC}/${file}
+.endfor
.include <bsd.port.mk>
diff --git a/net/rexx-sock/distinfo b/net/rexx-sock/distinfo
index 5afccaf94a46..ca6a778f6c38 100644
--- a/net/rexx-sock/distinfo
+++ b/net/rexx-sock/distinfo
@@ -1,2 +1,2 @@
-MD5 (RxSock-1.3.tar.gz) = 963c3328c632dbb8879296a97ca6bff2
-SIZE (RxSock-1.3.tar.gz) = 94653
+MD5 (RxSock-1.4.tar.gz) = e0c5a29b3b012a4589321cf4aa3d6223
+SIZE (RxSock-1.4.tar.gz) = 124168
diff --git a/net/rexx-sock/files/patch-Makefile.in b/net/rexx-sock/files/patch-Makefile.in
deleted file mode 100644
index b4ff3108eb2b..000000000000
--- a/net/rexx-sock/files/patch-Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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
deleted file mode 100644
index c93a2eca1a59..000000000000
--- a/net/rexx-sock/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
deleted file mode 100644
index 7f896f0db657..000000000000
--- a/net/rexx-sock/files/patch-preinst.rexx
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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 0a828f32823f..779a1f361c08 100644
--- a/net/rexx-sock/pkg-plist
+++ b/net/rexx-sock/pkg-plist
@@ -1,11 +1,12 @@
bin/rxsock
lib/librxsock.a
lib/librxsock.so
+%%DATADIR%%/davesim.rex
%%DATADIR%%/davesim.txt
-%%DATADIR%%/tcpcmd.cmd
-%%DATADIR%%/tcpsmd.cmd
+%%DATADIR%%/tcpc.cmd
+%%DATADIR%%/tcps.cmd
%%DATADIR%%/tcps.txt
-%%DATADIR%%/udpcmd.cmd
-%%DATADIR%%/udpsmd.cmd
+%%DATADIR%%/udpc.cmd
+%%DATADIR%%/udps.cmd
%%DATADIR%%/udps.txt
@dirrm %%DATADIR%%