[27545] trunk/dports/graphics/wxWidgets-devel/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 7 11:14:27 PDT 2007
Revision: 27545
http://trac.macosforge.org/projects/macports/changeset/27545
Author: jwa at macports.org
Date: 2007-08-07 11:14:27 -0700 (Tue, 07 Aug 2007)
Log Message:
-----------
version bump to 2.8.5-rc1, this is the first trial of it, added the ability not to build a single library and debug version, too, as variants, plus livecheck
Modified Paths:
--------------
trunk/dports/graphics/wxWidgets-devel/Portfile
Modified: trunk/dports/graphics/wxWidgets-devel/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets-devel/Portfile 2007-08-07 14:51:20 UTC (rev 27544)
+++ trunk/dports/graphics/wxWidgets-devel/Portfile 2007-08-07 18:14:27 UTC (rev 27545)
@@ -3,41 +3,41 @@
PortSystem 1.0
name wxWidgets-devel
-version 2.8.4-rc2
+version 2.8.5-rc1
categories graphics devel
platforms darwin
maintainers jwa mww 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/
distname wxWidgets
master_sites http://biolpc22.york.ac.uk/pub/CVS_HEAD/v2/files/ \
- http://biolpc22.york.ac.uk/pub/${version}/
+ 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 e1fe148e923d29298c85400961cd3cfa \
- ${distname}-${version}${extract.suffix} \
- sha1 5ecf15f3fa41817b217cc0a071a2d8102e02827a \
- ${distname}-${version}${extract.suffix} \
- rmd160 4a10d86fe8f90ee3ce88e0a8cd746b8e1485c887
+ md5 759fd5f92c6fd4e31c04e2edb1d6bfe9 \
+ ${distname}-${version}${extract.suffix} \
+ sha1 4eabfa314eccca1aca85111825b4a232784d89c0 \
+ ${distname}-${version}${extract.suffix} \
+ rmd160 2d79ca59a438cfc9153efda8426f067209f8d2c0
depends_lib port:jpeg \
- port:tiff \
- port:libpng \
- port:zlib \
- port:libiconv \
- port:expat \
- port:libsdl \
- port:libsdl_mixer
+ port:tiff \
+ port:libpng \
+ port:zlib \
+ port:libiconv \
+ port:expat \
+ port:libsdl \
+ port:libsdl_mixer
#set worksrcdir build
set worksrcdir ${distname}-${version}/build
@@ -48,22 +48,22 @@
configure.cmd ../configure
configure.ldflags -L${build.dir}/lib
configure.args --mandir=${prefix}/share/man \
- --libdir=${prefix}/lib/${sub} \
- --bindir=${prefix}/lib/${sub}/bin \
- --includedir=${prefix}/include/${sub} \
- --datadir=${prefix}/share/${sub} \
- --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
+ --libdir=${prefix}/lib/${sub} \
+ --bindir=${prefix}/lib/${sub}/bin \
+ --includedir=${prefix}/include/${sub} \
+ --datadir=${prefix}/share/${sub} \
+ --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
@@ -74,21 +74,33 @@
build.target
post-build {
- 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"
+ foreach c { ${contrib} } {
+ system "cd ${build.dir} && make -C contrib/src/${c}"
+ }
}
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}"
- system "cd ${destroot.dir} && make -C contrib/src/ogl install ${destroot.destdir}"
+ foreach c { ${contrib} } {
+ system "cd ${destroot.dir} && make -C contrib/src/${c} 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-cocoa.txt \
+ readme-gtk.txt readme-mac.txt \
+ readme-mgl.txt readme-motif.txt readme-x11.txt \
+ ${destroot}${prefix}/share/doc/${name}
+}
- 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-cocoa.txt \
- readme-gtk.txt readme-mac.txt \
- readme-mgl.txt readme-motif.txt readme-x11.txt \
- ${destroot}${prefix}/share/doc/${name}
+variant nonmonolithic {
+ configure.args-delete --enable-monolithic
}
+
+variant debug {
+ configure.args-append --enable-debug
+ set installtype debug
+}
+
+livecheck.check regex
+livecheck.url http://biolpc22.york.ac.uk/pub/
+livecheck.regex (2.8.\[0-9\]+-rc\[0-9\])/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070807/a690bba7/attachment.html
More information about the macports-changes
mailing list