ports/180959: [PATCH] x11/x3270: update to 3.3.12
nemysis
nemysis at gmx.ch
Wed Jul 31 02:30:01 UTC 2013
>Number: 180959
>Category: ports
>Synopsis: [PATCH] x11/x3270: update to 3.3.12
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 31 02:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE-p17 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p17 FreeBSD 9.1-RELEASE-p17 #0: Sun Jul 28 00:39:53 UTC 2013
>Description:
- Update to 3.3.12
- Fix manual pages
- Add docs and examples
- Add DOCS and EXAMPLES Option
Port maintainer (ecrist at secure-computing.net) is cc'd.
Generated and tested manually, sent with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:
--- x3270-3.3.12.patch begins here ---
diff -ruN /usr/ports/x11/x3270/Makefile ./Makefile
--- /usr/ports/x11/x3270/Makefile 2013-06-30 15:11:53.000000000 +0200
+++ ./Makefile 2013-07-31 04:17:14.000000000 +0200
@@ -2,10 +2,10 @@
# $FreeBSD: head/x11/x3270/Makefile 321957 2013-06-28 11:51:05Z bapt $
PORTNAME= x3270
-PORTVERSION= 3.3.10
+PORTVERSION= 3.3.12
CATEGORIES= x11 net
MASTER_SITES= http://x3270.bgp.nu/download/
-EXTRACT_SUFX= ga5-src.tgz
+EXTRACT_SUFX= ga13-src.tgz
MAINTAINER= ecrist at secure-computing.net
COMMENT= 3270 Terminal emulator
@@ -34,12 +34,31 @@
INSTMANFLAGS="${_MANOWNGRP} -m ${MANMODE}"
WRKSRC= ${WRKDIR}/x3270-${PORTVERSION:R}
-MAN1= x3270.1 x3270if.1 x3270-script.1
-MAN5= ibm_hosts.5
+MAN1= x3270-script.man x3270.man x3270if.man
MANCOMPRESSED= no
+PORTDOCS= README README.dbcs
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} -e 's|\$$(INSTALL) -c|$$(INSTALL) $$(INSTALLFLAGS)|g' \
${WRKSRC}/Imakefile.in
+post-install:
+ ${INSTALL_MAN} ${MAN1:S|^|${WRKSRC}/|} ${MAN1PREFIX}/man/man1
+
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @(cd ${WRKSRC}/Examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${EXAMPLESDIR})
+.endif
+
.include <bsd.port.mk>
diff -ruN /usr/ports/x11/x3270/distinfo ./distinfo
--- /usr/ports/x11/x3270/distinfo 2013-06-02 18:57:14.000000000 +0200
+++ ./distinfo 2013-07-31 02:52:21.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (x3270-3.3.10ga5-src.tgz) = 7c13f227aa49cbc6447e97e22feb9397da89687dd3c667271d640378e7f40fd1
-SIZE (x3270-3.3.10ga5-src.tgz) = 1318945
+SHA256 (x3270-3.3.12ga13-src.tgz) = 2f69bd75264242954a9d1692109820ee197901f5064d961ca493cfff05f7ef5e
+SIZE (x3270-3.3.12ga13-src.tgz) = 1337780
--- x3270-3.3.12.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list