[22243] trunk/dports/graphics
source_changes at macosforge.org
source_changes at macosforge.org
Fri Feb 23 10:50:08 PST 2007
Revision: 22243
http://trac.macosforge.org/projects/macports/changeset/22243
Author: jwa at macports.org
Date: 2007-02-23 10:50:07 -0800 (Fri, 23 Feb 2007)
Log Message:
-----------
adding the previous stable version, 2.6.3, of wxWidgets
Added Paths:
-----------
trunk/dports/graphics/wxWidgets26/
trunk/dports/graphics/wxWidgets26/Portfile
Added: trunk/dports/graphics/wxWidgets26/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets26/Portfile (rev 0)
+++ trunk/dports/graphics/wxWidgets26/Portfile 2007-02-23 18:50:07 UTC (rev 22243)
@@ -0,0 +1,97 @@
+# $Id: Portfile 20938 2006-12-12 16:57:43Z jwa at macports.org $
+
+PortSystem 1.0
+
+name wxWidgets26
+version 2.6.3
+categories graphics devel
+platforms darwin
+maintainers mww at macports.org jwa at 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 sourceforge:wxwindows \
+ http://biolpc22.york.ac.uk/pub/${version}/
+
+use_bzip2 yes
+
+distfiles ${distname}-${version}${extract.suffix}
+dist_subdir ${distname}/${version}
+checksums ${distname}-${version}${extract.suffix} \
+ md5 183a1fe136d7caacb60c717bbbef9788 \
+ ${distname}-${version}${extract.suffix} \
+ sha1 fde71ac6b17ed8479b4063928a791f398d2f2dbf \
+ ${distname}-${version}${extract.suffix} \
+ rmd160 6dcf6bd11f9ddeec2fe511282db94bf489f41e21
+
+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 "animate gizmos stc ogl"
+
+build.target
+
+post-build {
+ system "cd ${build.dir} && make -C contrib/src/animate"
+ system "cd ${build.dir} && make -C contrib/src/gizmos"
+ system "cd ${build.dir} && make -C contrib/src/stc"
+ system "cd ${build.dir} && make -C contrib/src/ogl"
+}
+
+post-destroot {
+ system "cd ${destroot.dir} && make -C contrib/src/animate install ${destroot.destdir}"
+ system "cd ${destroot.dir} && make -C contrib/src/gizmos install ${destroot.destdir}"
+ system "cd ${destroot.dir} && make -C contrib/src/stc install ${destroot.destdir}"
+ system "cd ${destroot.dir} && make -C contrib/src/ogl install ${destroot.destdir}"
+
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${workpath}/${distname}-${version} \
+ INSTALL-MAC.txt INSTALL-MGL.txt INSTALL-MOTIF.txt \
+ INSTALL-OS2.txt INSTALL-X11.txt \
+ README.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"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070223/6cfa8932/attachment.html
More information about the macports-changes
mailing list