aboutsummaryrefslogtreecommitdiff
path: root/net/c3270
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2014-06-30 16:14:00 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2014-06-30 16:14:00 +0000
commit164796099e590471a36b487d6ce2ee487b59a847 (patch)
treef003a63f5e005de972a92ec37a35086c9acb0d33 /net/c3270
parente732d8b56f05cadf53c146ff0d6435e89538c048 (diff)
downloadports-164796099e590471a36b487d6ce2ee487b59a847.tar.gz
ports-164796099e590471a36b487d6ce2ee487b59a847.zip
Notes
Diffstat (limited to 'net/c3270')
-rw-r--r--net/c3270/Makefile33
-rw-r--r--net/c3270/distinfo4
-rw-r--r--net/c3270/pkg-plist4
3 files changed, 23 insertions, 18 deletions
diff --git a/net/c3270/Makefile b/net/c3270/Makefile
index 9a6621a3b857..f1a69e938796 100644
--- a/net/c3270/Makefile
+++ b/net/c3270/Makefile
@@ -2,9 +2,10 @@
# $FreeBSD$
PORTNAME= c3270
-PORTVERSION= 3.3.12ga13
+PORTVERSION= 3.3.14ga11
CATEGORIES= net
-MASTER_SITES= http://x3270.bgp.nu/download/
+MASTER_SITES= http://x3270.bgp.nu/download/03.03.14/
+MASTER_SITES_VER_PATH= ${PORTVERSION:C/(0[0-9]\.0[0-9])/}
EXTRACT_SUFX= -src.tgz
MAINTAINER= araujo@FreeBSD.org
@@ -12,21 +13,15 @@ COMMENT= Full-screen curses-based remote login to IBM mainframes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/}
-# Conflict due to x3270if
-CONFLICTS= x3270-*
-
GNU_CONFIGURE= yes
+
USES= iconv readline gmake
USE_OPENSSL= yes
+
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
-MAN1= c3270.1 \
- x3270if.1 \
- x3270-script.1
-MAN5= ibm_hosts.5
-MANCOMPRESSED= no
-
# c3270's ./configure script supports these.
# Within it all options except DBCS are enabled by default.
@@ -45,7 +40,6 @@ SCRIPT_DESC= Include scripting support
TN3270E_DESC= Include TN3270-Extended support
TRACE_DESC= Include trace support
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -103,12 +97,19 @@ CONFIGURE_ARGS+= --disable-trace
.endif
post-install:
- @( cd ${WRKSRC} && ${MAKE_CMD} ${MAKE_FLAGS} Makefile install.man )
+ @${INSTALL_MAN} ${WRKSRC}/c3270.man \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1/c3270.1
+ @${INSTALL_MAN} ${WRKSRC}/x3270-script.man \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1/x3270-script.1
+ @${INSTALL_MAN} ${WRKSRC}/x3270if.man \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1/x3270if.1
+ @${INSTALL_MAN} ${WRKSRC}/ibm_hosts.man \
+ ${STAGEDIR}${MAN1PREFIX}/man/man5/ibm_hosts.5
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${MKDIR} ${DOCSDIR}/html
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/html
.for i in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/html/${i} ${DOCSDIR}/${i}
+ @${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor
@${ECHO_MSG} "===> Extra Documentation installed in ${DOCSDIR}/html ."
.endif
diff --git a/net/c3270/distinfo b/net/c3270/distinfo
index 93046f935611..972d1d444735 100644
--- a/net/c3270/distinfo
+++ b/net/c3270/distinfo
@@ -1,2 +1,2 @@
-SHA256 (c3270-3.3.12ga13-src.tgz) = f8534c46d2aa645c6e71b8e01c975bbfd1880da9739748c50f7cd6f1890a0325
-SIZE (c3270-3.3.12ga13-src.tgz) = 896588
+SHA256 (c3270-3.3.14ga11-src.tgz) = 8d2f72e4f7b1cf4dea73acd5c30c3344d15a358e16a74b4d9da333fc6317d28c
+SIZE (c3270-3.3.14ga11-src.tgz) = 923356
diff --git a/net/c3270/pkg-plist b/net/c3270/pkg-plist
index f5f0be2791f2..5b6716c67579 100644
--- a/net/c3270/pkg-plist
+++ b/net/c3270/pkg-plist
@@ -1,6 +1,10 @@
bin/c3270
bin/x3270if
etc/x3270/ibm_hosts
+man/man1/c3270.1.gz
+man/man1/x3270-script.1.gz
+man/man1/x3270if.1.gz
+man/man5/ibm_hosts.5.gz
%%DBCS%%etc/x3270/icudt28l_ibm-1027_P100-1995.cnv
%%DBCS%%etc/x3270/icudt28l_ibm-300_P110-1997.cnv
%%DBCS%%etc/x3270/icudt28l_ibm-837_P100-2000.cnv