Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 12:04:53 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/23628: Update port: net/tn5250 to 0.16.0
Message-ID:  <200012182004.eBIK4rt28270@freefall.freebsd.org>
Resent-Message-ID: <200012182010.eBIKA2M30793@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23628
>Category:       ports
>Synopsis:       Update port: net/tn5250 to 0.16.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 18 12:10:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.16.0

New file:
files/patch-ac

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/net/tn5250/Makefile net/tn5250/Makefile
--- /usr/ports/net/tn5250/Makefile	Sat Jun 17 08:53:50 2000
+++ net/tn5250/Makefile	Sat Dec 16 15:22:21 2000
@@ -6,15 +6,33 @@
 #
 
 PORTNAME=	tn5250
-PORTVERSION=	0.15.8
+PORTVERSION=	0.16.0
 CATEGORIES=	net
-MASTER_SITES=	ftp://cvs.cleveland.lug.net/pub/tn5250/
+MASTER_SITES=	http://cvs.cleveland.lug.net/downloads/tn5250/
 
 MAINTAINER=	ports@FreeBSD.org
 
+USE_AUTOMAKE=	yes
+AUTOMAKE_ARGS=	--include-deps
 USE_LIBTOOL=	yes
 INSTALLS_SHLIB=	yes
 
 MAN1=		scs2ascii.1 scs2pdf.1 tn5250.1 lp5250d.1
+
+.if defined(WITH_SLANG)
+LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
+PKGNAMESUFFIX=	-slang
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=	--with-slang
+.endif
+
+.if !defined(WITH_SLANG)
+pre-everything:
+	@${ECHO_MSG}
+	@${ECHO_MSG} "If you want to compile with S/Lang support,"
+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SLANG=yes\""
+	@${ECHO_MSG}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/net/tn5250/distinfo net/tn5250/distinfo
--- /usr/ports/net/tn5250/distinfo	Tue Apr 18 09:09:56 2000
+++ net/tn5250/distinfo	Sat Dec 16 10:18:13 2000
@@ -1 +1 @@
-MD5 (tn5250-0.15.8.tar.gz) = f76d29013ffdb36edff1679589ece0f4
+MD5 (tn5250-0.16.0.tar.gz) = 5046ea32027b76263801287e644d57b8
diff -urN /usr/ports/net/tn5250/files/patch-ac net/tn5250/files/patch-ac
--- /usr/ports/net/tn5250/files/patch-ac	Thu Jan  1 09:00:00 1970
+++ net/tn5250/files/patch-ac	Sat Dec 16 14:59:07 2000
@@ -0,0 +1,30 @@
+--- configure.in.orig	Wed Nov  1 04:09:17 2000
++++ configure.in	Sat Dec 16 14:58:58 2000
+@@ -56,6 +56,7 @@
+ if test "$with_slang" != "no"
+ then
+ 	USE_SLANG=1
++	AC_DEFINE_UNQUOTED(USE_CURSES,1)
+ 	AC_DEFINE_UNQUOTED(USE_SLANG,1)
+ else
+ 	USE_CURSES=1
+@@ -65,7 +66,7 @@
+ USE_CURSES=1
+ AC_DEFINE_UNQUOTED(USE_CURSES,1)
+ ])
+-if test "$USE_CURSES" = "1"
++if test "$USE_CURSES" = "1" -o "$USE_SLANG" = "1"
+ then
+ 	AC_CHECK_LIB(ncurses, initscr)
+ 	if test "$ac_cv_lib_ncurses_initscr" != "yes"
+@@ -103,7 +104,9 @@
+ 		AC_DEFINE_UNQUOTED(attr_t,int)
+ 	fi
+ 	AC_MSG_RESULT($HAVE_ATTR_T)
+-else
++fi
++if test "$USE_SLANG" = "1"
++then
+ 	AC_CHECK_LIB(slang, SLang_init_tty)
+ 	if test "$ac_cv_lib_slang_SLang_init_tty" != "yes"
+ 	then
diff -urN /usr/ports/net/tn5250/pkg-plist net/tn5250/pkg-plist
--- /usr/ports/net/tn5250/pkg-plist	Fri Jun 16 01:43:52 2000
+++ net/tn5250/pkg-plist	Sat Dec 16 10:42:01 2000
@@ -1,17 +1,22 @@
 bin/lp5250d
 bin/scs2ascii
+bin/tn3270d
 bin/tn5250
 bin/tn5250-config
+bin/tn5250d
 bin/xt5250
-include/tn5250.h
 include/tn5250/buffer.h
+include/tn5250/codes3270.h
 include/tn5250/codes5250.h
+include/tn5250/conf.h
 include/tn5250/config.h
 include/tn5250/cursesterm.h
 include/tn5250/dbuffer.h
 include/tn5250/debug.h
 include/tn5250/display.h
 include/tn5250/field.h
+include/tn5250/host3270.h
+include/tn5250/host5250.h
 include/tn5250/printsession.h
 include/tn5250/record.h
 include/tn5250/scs.h
@@ -19,8 +24,11 @@
 include/tn5250/slangterm.h
 include/tn5250/stream.h
 include/tn5250/terminal.h
+include/tn5250/tn3270d.h
+include/tn5250/tn5250d.h
 include/tn5250/utility.h
 include/tn5250/wtd.h
+include/tn5250.h
 lib/lib5250.a
 lib/lib5250.so
 lib/lib5250.so.0


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012182004.eBIK4rt28270>