[73703] trunk/dports/x11/x3270/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Nov 21 23:58:21 PST 2010


Revision: 73703
          http://trac.macports.org/changeset/73703
Author:   ryandesign at macports.org
Date:     2010-11-21 23:58:16 -0800 (Sun, 21 Nov 2010)
Log Message:
-----------
x3270: update to 3.3.11ga6, clean up portfile, add dependencies, fix universal variant, use notes; see #23727

Modified Paths:
--------------
    trunk/dports/x11/x3270/Portfile

Modified: trunk/dports/x11/x3270/Portfile
===================================================================
--- trunk/dports/x11/x3270/Portfile	2010-11-22 07:39:42 UTC (rev 73702)
+++ trunk/dports/x11/x3270/Portfile	2010-11-22 07:58:16 UTC (rev 73703)
@@ -3,7 +3,8 @@
 PortSystem			1.0
 
 name				x3270
-version				3.3.8
+version				3.3.11ga6
+set branch			[join [lrange [split ${version} .] 0 1] .]
 categories			x11
 maintainers			gmail.com:mark.church
 platforms			darwin
@@ -32,36 +33,38 @@
 				It does not yet support graphics.
 homepage			http://x3270.bgp.nu/index.html
 master_sites			sourceforge
-master_sites.mirror_subdir	${name}
-distfiles			${name}-${version}.tgz
-checksums			md5 d707ca1ccad84672981c95ea2c125b62 \
-				sha1  076f9efdc90552b01d200d64c739a1d6e8ffb2a9 \
-				rmd160 c72f39b57b30951ec447601fbc496447f615e685
-worksrcdir			x3270-3.3
 
-configure.args			--bindir=${prefix}/bin \
-				--without-pr3287 \
-				--disable-dbcs \
+distname			suite3270-${version}-src
+worksrcdir			${name}-${branch}
+extract.post_args-append        ${worksrcdir}
+extract.suffix			.tgz
+
+checksums			sha1    c72c4f72313659863e8718ffdcd43b03aa77b8e5 \
+				rmd160  1f5214a2e18f2cbea7aa7a1d81f943f07e8f0dce
+
+depends_lib			port:libiconv \
+				port:openssl \
+				port:xorg-libXaw
+
+patchfiles			patch-Makefile.in.diff
+
+configure.args			--disable-dbcs \
 				--with-fontdir=${prefix}/lib/x3270/fonts \
-				--mandir=${prefix}/share/man
+				--with-iconv \
+				--with-ssl=${prefix} \
+				--with-x \
+				--without-xmkmf
 
-destroot.target         install.byprefix
+configure.universal_args-delete	--disable-dependency-tracking
 
-pre-build {
-	reinplace "s|\$(DESTDIR)\$(BINDIR)|\$(DESTDIR)${prefix}/bin|g" \
-		${worksrcpath}/Makefile
-}
-
-post-activate {
-ui_msg "\n
-If you wish to use a font other than \"fixed\", activate x3270 fonts by
+notes "
+If you wish to use a font other than \"fixed\", activate x3270 fonts by\
 executing this command:
 
-	/usr/X11R6/bin/xset fp+ ${prefix}/lib/x3270/fonts/
+	${prefix}/bin/xset fp+ ${prefix}/lib/x3270/fonts/
 
-To make the change persist after restarting X11, insert the same command
+To make the change persist after restarting X11, insert the same command\
 into your ~/.xinitrc file or the X11 system default file:
 
-	/etc/X11/xinit/xinitrc
-\n"
-}
+	${prefix}/lib/X11/xinit/xinitrc
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101121/d063ec35/attachment.html>


More information about the macports-changes mailing list