summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2022-01-21 16:49:00 +0000
committerbsiegert <bsiegert@pkgsrc.org>2022-01-21 16:49:00 +0000
commit8af5284c7ff42e6be99cc472004ad492d0d263f4 (patch)
treef8bc44c123ef1f6461f610431bc883f040914f12
parentf998a9e1107fe385c82651bace63510c9b9eca32 (diff)
downloadpkgsrc-8af5284c7ff42e6be99cc472004ad492d0d263f4.tar.gz
New package for c3270, via pkgsrc-wip.
This addresses PR pkg/54543. IBM 3278/3279 terminal emulator for ncurses terminals
-rw-r--r--comms/Makefile3
-rw-r--r--comms/c3270/DESCR1
-rw-r--r--comms/c3270/Makefile34
-rw-r--r--comms/c3270/PLIST4
-rw-r--r--comms/c3270/distinfo5
5 files changed, 46 insertions, 1 deletions
diff --git a/comms/Makefile b/comms/Makefile
index b17f014b269..0c4fc2f050a 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.130 2022/01/16 13:11:07 nia Exp $
+# $NetBSD: Makefile,v 1.131 2022/01/21 16:49:00 bsiegert Exp $
#
COMMENT= Telephony and serial communication utilities
@@ -11,6 +11,7 @@ SUBDIR+= asterisk19
SUBDIR+= binkd
SUBDIR+= birda
SUBDIR+= bthfp
+SUBDIR+= c3270
SUBDIR+= conserver
SUBDIR+= conserver8
SUBDIR+= deforaos-phone
diff --git a/comms/c3270/DESCR b/comms/c3270/DESCR
new file mode 100644
index 00000000000..526e0f93dbb
--- /dev/null
+++ b/comms/c3270/DESCR
@@ -0,0 +1 @@
+IBM 3278/3279 terminal emulator for ncurses terminals
diff --git a/comms/c3270/Makefile b/comms/c3270/Makefile
new file mode 100644
index 00000000000..12fa242ce90
--- /dev/null
+++ b/comms/c3270/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2022/01/21 16:49:00 bsiegert Exp $
+
+DISTNAME= suite3270-4.1ga11-src
+PKGNAME= c3270-4.1ga11
+CATEGORIES= comms
+MASTER_SITES= http://x3270.bgp.nu/download/04.01/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://x3270.bgp.nu/
+COMMENT= 3270 Terminal emulator for ncurses
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/suite3270-4.1
+CONFLICTS= x3270-[0-9]*
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-c3270
+USE_TOOLS+= gmake pkg-config
+
+PKG_SYSCONFSUBDIR= x3270
+EGDIR= share/examples/c3270
+INSTALLATION_DIRS+= ${EGDIR}
+CONF_FILES+= ${EGDIR}/ibm_hosts ${PKG_SYSCONFDIR}/ibm_hosts
+
+post-install:
+ ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/ibm_hosts ${DESTDIR}${PREFIX}/${EGDIR}
+
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/c3270/PLIST b/comms/c3270/PLIST
new file mode 100644
index 00000000000..7a729e2e727
--- /dev/null
+++ b/comms/c3270/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/21 16:49:00 bsiegert Exp $
+bin/c3270
+bin/x3270if
+share/examples/c3270/ibm_hosts
diff --git a/comms/c3270/distinfo b/comms/c3270/distinfo
new file mode 100644
index 00000000000..4c19605b970
--- /dev/null
+++ b/comms/c3270/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/01/21 16:49:00 bsiegert Exp $
+
+BLAKE2s (suite3270-4.1ga11-src.tgz) = 73136a3953dd24c6656a8dd7fc38a8fee0994f3c5cf636928471e4e6b0da3c42
+SHA512 (suite3270-4.1ga11-src.tgz) = 1032a03bf9b24ae9d0e9b9f8b6a7c6319dff2c77db14257f22eb05b52b308e9134d8c6a5080178081f7ba893936e2eca63bb0e04b804d4a7df2507a5b3f625fb
+Size (suite3270-4.1ga11-src.tgz) = 3900772 bytes