[20938] trunk/dports/graphics/wxWidgets/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Dec 12 08:57:44 PST 2006
Revision: 20938
http://trac.macosforge.org/projects/macports/changeset/20938
Author: jwa at macports.org
Date: 2006-12-12 08:57:43 -0800 (Tue, 12 Dec 2006)
Log Message:
-----------
Version bump to 2.8.0
Modified Paths:
--------------
trunk/dports/graphics/wxWidgets/Portfile
Modified: trunk/dports/graphics/wxWidgets/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets/Portfile 2006-12-12 15:54:36 UTC (rev 20937)
+++ trunk/dports/graphics/wxWidgets/Portfile 2006-12-12 16:57:43 UTC (rev 20938)
@@ -3,42 +3,32 @@
PortSystem 1.0
name wxWidgets
-version 2.6.3
+version 2.8.0
categories graphics devel
platforms darwin
-maintainers mww at opendarwin.org
+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.
+ 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/
-master_sites ftp://biolpc22.york.ac.uk/pub/${version}/ \
+distname wxWidgets
+master_sites ftp://biolpc22.york.ac.uk/pub/${version}/ \
sourceforge:wxwindows
use_bzip2 yes
-dist_subdir ${name}/${version}
-distfiles-append ${name}-${version}-Patch-2.tar.gz
+distfiles ${distname}-${version}${extract.suffix}
+dist_subdir ${distname}/${version}
+checksums ${distname}-${version}${extract.suffix} \
+ md5 4bf9c66cdb7cda1d2fe51376c211b9e1 \
+ ${distname}-${version}${extract.suffix} \
+ sha1 2deb6ad148381caaad8a7c3de75578fe5125ed96 \
+ ${distname}-${version}${extract.suffix} \
+ rmd160 3c8978e5081d851dd04d396d1839d96e62592a19
-fetch.user anonymous
-fetch.password darwinports at opendarwin.org
-fetch.use_epsv no
-
-checksums ${name}-${version}${extract.suffix} \
- md5 183a1fe136d7caacb60c717bbbef9788 \
- ${name}-${version}${extract.suffix} \
- sha1 fde71ac6b17ed8479b4063928a791f398d2f2dbf \
- ${name}-${version}${extract.suffix} \
- rmd160 6dcf6bd11f9ddeec2fe511282db94bf489f41e21 \
- ${name}-${version}-Patch-2.tar.gz \
- md5 1218551e47e42185f31d819703004c46 \
- ${name}-${version}-Patch-2.tar.gz \
- sha1 d2d9cb79fbf898f27b034bb454e32001f0052489 \
- ${name}-${version}-Patch-2.tar.gz \
- rmd160 ba84c8dee9d0fb9f1af8f663526098c0b4c7c4e4
-
depends_lib port:jpeg \
port:tiff \
port:libpng \
@@ -48,16 +38,13 @@
port:libsdl \
port:libsdl_mixer
-set worksrcdir build
+#set worksrcdir build
+set worksrcdir ${distname}-${version}/build
-extract.only ${name}-${version}${extract.suffix}
-post-extract {
- file mkdir ${worksrcpath}
- cd ${workpath}/${name}-${version}
- system "gunzip -c ${distpath}/${name}-${version}-Patch-2.tar.gz | tar xf -"
-}
+extract.only ${distname}-${version}${extract.suffix}
-configure.cmd ../${name}-${version}/configure
+#configure.cmd ../${distname}-${version}/configure
+configure.cmd ../configure
configure.env CPPFLAGS="-I${prefix}/include" \
CFLAGS="-I${prefix}/include" \
LDFLAGS="-L${prefix}/lib"
@@ -79,24 +66,27 @@
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"
+set contrib "gizmos stc ogl"
build.target
+
post-build {
- foreach target { ${contrib} } {
- system "cd ${build.dir} && make -C contrib/src/${target}"
- }
+ 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 {
- foreach target { ${contrib} } {
- system "cd ${destroot.dir} && make -C contrib/src/${target} 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}/${name}-${version} BuildCVS.txt CHANGES.txt \
- COPYING.LIB INSTALL-MAC.txt INSTALL-MGL.txt INSTALL-MOTIF.txt \
- INSTALL-OS2.txt INSTALL-X11.txt LICENCE.txt README-MAC.txt \
- README-MGL.txt README-MOTIF.txt README-X11.txt README.txt \
+ xinstall -m 644 -W ${workpath}/${distname}-${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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061212/19d71dee/attachment.html
More information about the macports-changes
mailing list