<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[20271] trunk/dports/graphics</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.macosforge.org/projects/macports/changeset/20271">20271</a></dd>
<dt>Author</dt> <dd>jwa@macports.org</dd>
<dt>Date</dt> <dd>2006-11-01 08:14:32 -0800 (Wed, 01 Nov 2006)</dd>
</dl>
<h3>Log Message</h3>
<pre>This is the test release of wxWidgets. Version 2.7.1.</pre>
<h3>Added Paths</h3>
<ul>
<li>trunk/dports/graphics/wxWidgets-devel/</li>
<li><a href="#trunkdportsgraphicswxWidgetsdevelPortfile">trunk/dports/graphics/wxWidgets-devel/Portfile</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsgraphicswxWidgetsdevelPortfile"></a>
<div class="addfile"><h4>Added: trunk/dports/graphics/wxWidgets-devel/Portfile (0 => 20271)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/graphics/wxWidgets-devel/Portfile         (rev 0)
+++ trunk/dports/graphics/wxWidgets-devel/Portfile        2006-11-01 16:14:32 UTC (rev 20271)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+# $Id: Portfile,v 1.18 2006/04/04 06:29:12 blb Exp $
+
+PortSystem 1.0
+
+name                        wxWidgets-devel
+version                        2.7.1
+categories                graphics devel
+platforms                darwin
+maintainers                jwa@macports.org mww@macports.org
+description                mature cross-platform C++ GUI framework
+long_description        wxWidgets is a mature open-source cross-platform C++ \
+                                GUI framework for MacOS, Unix, Linux, Windows. It can \
+                                make use of a variety of native widget sets as well as \
+                                its own widget set: MacOS, GTK+, Motif, WIN32. \
+                                wxWidgets will even run on embedded systems using \
+                                Linux and X11.
+
+homepage                http://www.wxwidgets.org/
+distname                wxWidgets
+master_sites        ftp://biolpc22.york.ac.uk/pub/${version}/ \
+                                sourceforge:wxwindows
+use_bzip2                yes
+distfiles                ${distname}-${version}${extract.suffix}
+dist_subdir                ${distname}/${version}
+checksums                ${distname}-${version}${extract.suffix} \
+                                        md5 5406cc14e87f9c7893753374f034c058 \
+                                ${distname}-${version}${extract.suffix} \
+                                        sha1 6cb5db4cfaab048527a0e9c6f73775cd5fba1c91 \
+                                ${distname}-${version}${extract.suffix} \
+                                        rmd160 258a5f98d617880bdb142bdfe239fcd982ba02c3
+
+depends_lib                port:jpeg \
+                                port:tiff \
+                                port:libpng \
+                                port:zlib \
+                                port:libiconv \
+                                port:expat \
+                                port:libsdl \
+                                port:libsdl_mixer
+
+#set worksrcdir        build
+set worksrcdir        ${distname}-${version}/build
+
+extract.only        ${distname}-${version}${extract.suffix}
+
+#configure.cmd        ../${distname}-${version}/configure
+configure.cmd        ../configure
+configure.env        CPPFLAGS="-I${prefix}/include" \
+                                CFLAGS="-I${prefix}/include" \
+                                LDFLAGS="-L${prefix}/lib"
+configure.args        --mandir=${prefix}/share/man \
+                                --with-libiconv-prefix=${prefix} \
+                                --with-libjpeg \
+                                --with-libtiff \
+                                --with-libpng \
+                                --with-zlib \
+                                --with-sdl \
+                                --with-opengl \
+                                --with-mac \
+                                --disable-sdltest \
+                                --enable-unicode \
+                                --enable-display \
+                                --enable-monolithic
+
+platform darwin 8 {
+        configure.env-append        CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+}
+
+set contrib                "gizmos stc"
+
+build.target
+
+post-build {
+                system "cd ${build.dir} && make -C contrib/src/gizmos"
+                system "cd ${build.dir} && make -C contrib/src/stc"
+}
+
+post-destroot {
+                system "cd ${destroot.dir} && make -C contrib/src/gizmos install ${destroot.destdir}"
+                system "cd ${destroot.dir} && make -C contrib/src/stc install ${destroot.destdir}"
+
+        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+        xinstall -m 644 -W ${workpath}/${name}-${version} \
+                install-mac.txt install-mgl.txt install-motif.txt \
+                INSTALL-OS2.txt install-x11.txt readme-cocoa.txt \
+                readme-gtk.txt readme-mac.txt \
+                readme-mgl.txt readme-motif.txt readme-x11.txt \
+                ${destroot}${prefix}/share/doc/${name}
+        system "cd ${destroot}${prefix}/bin && \
+                ln -sf ${prefix}/lib/wx/config/mac-unicode-release-2.6 wx-config"
+}
</ins></span></pre>
</div>
</div>
</body>
</html>