summaryrefslogtreecommitdiff
path: root/net/tn5250
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-12-19 08:07:57 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-12-19 08:07:57 +0000
commit90f5154594d88330222ffd5023abae310802f274 (patch)
tree0976ee2e5943313a90358f3c298dc545326bb0a8 /net/tn5250
parent- Use MASTER_SITE_TEX_CTAN to MASTER_SITES (diff)
- Update to version 0.16.0.
PR: 23628 Submitted by: Ports Furry
Notes
Notes: svn path=/head/; revision=36081
Diffstat (limited to 'net/tn5250')
-rw-r--r--net/tn5250/Makefile22
-rw-r--r--net/tn5250/distinfo2
-rw-r--r--net/tn5250/files/patch-ac30
-rw-r--r--net/tn5250/pkg-plist10
4 files changed, 60 insertions, 4 deletions
diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile
index 0ec083e664af..db2ec77229e4 100644
--- a/net/tn5250/Makefile
+++ b/net/tn5250/Makefile
@@ -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 --git a/net/tn5250/distinfo b/net/tn5250/distinfo
index 4b7e9bb36e22..0cd3c63ef0e1 100644
--- a/net/tn5250/distinfo
+++ b/net/tn5250/distinfo
@@ -1 +1 @@
-MD5 (tn5250-0.15.8.tar.gz) = f76d29013ffdb36edff1679589ece0f4
+MD5 (tn5250-0.16.0.tar.gz) = 5046ea32027b76263801287e644d57b8
diff --git a/net/tn5250/files/patch-ac b/net/tn5250/files/patch-ac
new file mode 100644
index 000000000000..f8c4f6ca2141
--- /dev/null
+++ b/net/tn5250/files/patch-ac
@@ -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 --git a/net/tn5250/pkg-plist b/net/tn5250/pkg-plist
index 428f46eab53a..85907cb21d04 100644
--- a/net/tn5250/pkg-plist
+++ b/net/tn5250/pkg-plist
@@ -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/session.h
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