summaryrefslogtreecommitdiff
path: root/comms/c3270/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/c3270/Makefile')
-rw-r--r--comms/c3270/Makefile34
1 files changed, 34 insertions, 0 deletions
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"