[90281] trunk/dports/graphics/wxWidgets/Portfile
jwa at macports.org
jwa at macports.org
Wed Feb 29 05:53:35 PST 2012
Revision: 90281
http://trac.macports.org/changeset/90281
Author: jwa at macports.org
Date: 2012-02-29 05:53:33 -0800 (Wed, 29 Feb 2012)
Log Message:
-----------
whitespace changes only
Modified Paths:
--------------
trunk/dports/graphics/wxWidgets/Portfile
Modified: trunk/dports/graphics/wxWidgets/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets/Portfile 2012-02-29 13:11:18 UTC (rev 90280)
+++ trunk/dports/graphics/wxWidgets/Portfile 2012-02-29 13:53:33 UTC (rev 90281)
@@ -2,47 +2,47 @@
# $Id$
PortSystem 1.0
-PortGroup archcheck 1.0
+PortGroup archcheck 1.0
-name wxWidgets
-conflicts wxgtk wxWidgets-python
-epoch 3
-version 2.8.12
+name wxWidgets
+conflicts wxgtk wxWidgets-python
+epoch 3
+version 2.8.12
-categories graphics devel
-license LGPL-2+
-platforms darwin
-maintainers jwa
-description mature cross-platform C++ GUI framework
-long_description wxWidgets is a mature open-source cross-platform C++ \
+categories graphics devel
+license LGPL-2+
+platforms darwin
+maintainers jwa
+description mature cross-platform C++ GUI framework
+long_description wxWidgets is a mature open-source cross-platform C++ \
GUI framework for Mac OS, Unix, Linux, Windows. It can \
make use of a variety of native widget sets as well as \
its own widget set: Mac OS, 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}/
+homepage http://www.wxwidgets.org/
+distname wxWidgets
+master_sites sourceforge:wxwindows \
+ http://biolpc22.york.ac.uk/pub/${version}/
-use_bzip2 yes
+use_bzip2 yes
-distfiles ${distname}-${version}${extract.suffix}
-dist_subdir ${distname}/${version}
+distfiles ${distname}-${version}${extract.suffix}
+dist_subdir ${distname}/${version}
-checksums md5 4103e37e277abeb8aee607b990c215c4 \
- sha1 c1a3c25de3ab43e2d722c2b7c4048e999c57ef21 \
- rmd160 928e221abe1a00cd2d72d2a4fd3640ba639b9915
+checksums md5 4103e37e277abeb8aee607b990c215c4 \
+ sha1 c1a3c25de3ab43e2d722c2b7c4048e999c57ef21 \
+ rmd160 928e221abe1a00cd2d72d2a4fd3640ba639b9915
-depends_lib port:jpeg \
- port:tiff \
- port:libpng \
- port:zlib \
- port:libiconv \
- port:expat \
- path:lib/pkgconfig/sdl.pc:libsdl \
- port:libsdl_mixer
+depends_lib port:jpeg \
+ port:tiff \
+ port:libpng \
+ port:zlib \
+ port:libiconv \
+ port:expat \
+ path:lib/pkgconfig/sdl.pc:libsdl \
+ port:libsdl_mixer
archcheck.files lib/libjpeg.dylib \
lib/libtiff.dylib \
@@ -53,49 +53,49 @@
lib/libSDL.dylib \
lib/libSDL_mixer.dylib
-set worksrcdir ${distname}-${version}/build
+set worksrcdir ${distname}-${version}/build
-extract.only ${distname}-${version}${extract.suffix}
+extract.only ${distname}-${version}${extract.suffix}
-#patchfiles patch-chkconf.diff patch-TECConvertText.diff
-patchfiles patch-chkconf.diff
-patch.dir ${workpath}/${distname}-${version}
+#patchfiles patch-chkconf.diff patch-TECConvertText.diff
+patchfiles patch-chkconf.diff
+patch.dir ${workpath}/${distname}-${version}
if {${configure.compiler} == "clang"} {
configure.compiler llvm-gcc-4.2
}
-#configure.cmd ../${distname}-${version}/configure
-configure.cmd ../configure
-configure.ldflags -L${build.dir}/lib -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
+#configure.cmd ../${distname}-${version}/configure
+configure.cmd ../configure
+configure.ldflags -L${build.dir}/lib -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
-set contrib "gizmos stc ogl"
-set installtype release
+set contrib "gizmos stc ogl"
+set installtype release
build.target
-universal_variant no
-use_parallel_build no
+universal_variant no
+use_parallel_build no
-supported_archs i386 ppc
-configure.cppflags-append -arch ${configure.build_arch}
+supported_archs i386 ppc
+configure.cppflags-append -arch ${configure.build_arch}
platform darwin 11 {
- configure.args-append \
- --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk \
- --with-macosx-version-min=10.6
+ configure.args-append \
+ --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk \
+ --with-macosx-version-min=10.6
if {$xcodeversion == "4.3"} {
configure.args-delete \
--with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk
@@ -106,36 +106,36 @@
post-build {
foreach c { ${contrib} } {
- system "cd ${build.dir} && make -C contrib/src/${c}"
+ system "cd ${build.dir} && make -C contrib/src/${c}"
}
}
post-destroot {
foreach c { ${contrib} } {
- system "cd ${build.dir} && make -C contrib/src/${c} install ${destroot.destdir}"
+ system "cd ${build.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}
+ 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}
set confscript ${prefix}/lib/wx/config/mac-unicode-${installtype}-2.8
reinplace "s|-L${build.dir}/lib||" ${destroot}${confscript}
ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config
}
variant monolithic description {build only one library} {
- configure.args-append --enable-monolithic
+ configure.args-append --enable-monolithic
}
variant debug description {add debug info to libraries} {
- configure.args-append --enable-debug
+ configure.args-append --enable-debug
set installtype debug
}
-livecheck.type regex
-livecheck.url ${homepage}/downloads/
-livecheck.regex Current Stable Release.*(2\\.\[0-9\]\\.\[0-9\]+)
+livecheck.type regex
+livecheck.url ${homepage}/downloads/
+livecheck.regex Current Stable Release.*(2\\.\[0-9\]\\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120229/c49779fe/attachment.html>
More information about the macports-changes
mailing list