diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-10-15 23:53:46 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-10-15 23:53:46 +0800 |
commit | 12feebe8020717be029be05e8104c6e40bdbe02e (patch) | |
tree | 9edbf58ae60e91b3422f0105c38a78ca2cc78244 /x11 | |
parent | b6ee4c4c21ebae15faaa108e9bcd7260ff5881bd (diff) | |
download | freebsd-ports-gnome-12feebe8020717be029be05e8104c6e40bdbe02e.tar.gz freebsd-ports-gnome-12feebe8020717be029be05e8104c6e40bdbe02e.tar.zst freebsd-ports-gnome-12feebe8020717be029be05e8104c6e40bdbe02e.zip |
- Update to 3.3.13
- Change master sites
- Support STAGEDIR
- Add DOCS and EXAMPLES and Options
- Change MAN
PR: ports/180959
Submitted by: nemysis (self)
Approved by: wg/pawel (mentors), maintainer
Diffstat (limited to 'x11')
-rw-r--r-- | x11/x3270/Makefile | 29 | ||||
-rw-r--r-- | x11/x3270/distinfo | 4 | ||||
-rw-r--r-- | x11/x3270/pkg-plist | 4 |
3 files changed, 27 insertions, 10 deletions
diff --git a/x11/x3270/Makefile b/x11/x3270/Makefile index 4548f6fe442d..ab11b54ea8c2 100644 --- a/x11/x3270/Makefile +++ b/x11/x3270/Makefile @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= x3270 -PORTVERSION= 3.3.10 +PORTVERSION= 3.3.13 CATEGORIES= x11 net -MASTER_SITES= http://x3270.bgp.nu/download/ -EXTRACT_SUFX= ga5-src.tgz +MASTER_SITES= http://x3270.bgp.nu/download/current/ +EXTRACT_SUFX= ga7-src.tgz MAINTAINER= ecrist@secure-computing.net COMMENT= 3270 Terminal emulator @@ -33,14 +33,27 @@ MAKE_ARGS+= COMPRESSMANCMD="${DO_NADA}" \ INSTDATFLAGS="${_SHROWNGRP} -m ${SHAREMODE}" \ INSTMANFLAGS="${_MANOWNGRP} -m ${MANMODE}" -WRKSRC= ${WRKDIR}/x3270-${PORTVERSION:R} -MAN1= x3270.1 x3270if.1 x3270-script.1 -MAN5= ibm_hosts.5 -MANCOMPRESSED= no +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} + +PORTDOCS= README README.dbcs +PORTEXAMPLES= * + +OPTIONS_DEFINE= DOCS EXAMPLES -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's|\$$(INSTALL) -c|$$(INSTALL) $$(INSTALLFLAGS)|g' \ ${WRKSRC}/Imakefile.in +post-install: +.for m in x3270-script.man x3270.man x3270if.man + @(cd ${WRKSRC} ; ${INSTALL_MAN} ${m} ${STAGEDIR}${MAN1PREFIX}/man/man1/) +.endfor + ${INSTALL_MAN} ${WRKSRC}/ibm_hosts.man ${STAGEDIR}${MAN5PREFIX}/man/man5/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + + @(cd ${WRKSRC}/Examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${EXAMPLESDIR}) + .include <bsd.port.mk> diff --git a/x11/x3270/distinfo b/x11/x3270/distinfo index 3e8b0a71409d..1b5acc27700e 100644 --- a/x11/x3270/distinfo +++ b/x11/x3270/distinfo @@ -1,2 +1,2 @@ -SHA256 (x3270-3.3.10ga5-src.tgz) = 7c13f227aa49cbc6447e97e22feb9397da89687dd3c667271d640378e7f40fd1 -SIZE (x3270-3.3.10ga5-src.tgz) = 1318945 +SHA256 (x3270-3.3.13ga7-src.tgz) = a8c6bc9d410e9aa837a2a427f978597fdba135abef0e300cc4531aed6ca45a94 +SIZE (x3270-3.3.13ga7-src.tgz) = 1354917 diff --git a/x11/x3270/pkg-plist b/x11/x3270/pkg-plist index fb2d067636a0..0d08fffb32bd 100644 --- a/x11/x3270/pkg-plist +++ b/x11/x3270/pkg-plist @@ -18,6 +18,10 @@ lib/X11/fonts/local/3270gt32.pcf.gz lib/X11/fonts/local/3270gt32b.pcf.gz lib/X11/fonts/local/3270gt8.pcf.gz lib/X11/fonts/local/3270h.pcf.gz +man/man1/x3270-script.man.gz +man/man1/x3270.man.gz +man/man1/x3270if.man.gz +man/man5/ibm_hosts.man.gz @exec /bin/chmod u+w %D/lib/X11/fonts/local %D/lib/X11/fonts/local/fonts.dir @exec %D/bin/mkfontdir %D/lib/X11/fonts/local @exec /bin/chmod u=rwx,go=rx %D/lib/X11/fonts/local |