[110227] users/mojca/wxports/graphics/wxWidgets-2.8/Portfile
mojca at macports.org
mojca at macports.org
Wed Aug 28 21:29:07 PDT 2013
Revision: 110227
https://trac.macports.org/changeset/110227
Author: mojca at macports.org
Date: 2013-08-28 21:29:07 -0700 (Wed, 28 Aug 2013)
Log Message:
-----------
mojca/wxWidgets-2.8: minor changes
Modified Paths:
--------------
users/mojca/wxports/graphics/wxWidgets-2.8/Portfile
Modified: users/mojca/wxports/graphics/wxWidgets-2.8/Portfile
===================================================================
--- users/mojca/wxports/graphics/wxWidgets-2.8/Portfile 2013-08-29 03:49:37 UTC (rev 110226)
+++ users/mojca/wxports/graphics/wxWidgets-2.8/Portfile 2013-08-29 04:29:07 UTC (rev 110227)
@@ -30,25 +30,22 @@
homepage http://www.wxwidgets.org/
distname wxWidgets
-master_sites sourceforge:wxwindows \
+master_sites sourceforge:project/wxwindows/${version} \
http://biolpc22.york.ac.uk/pub/${version}/ \
- https://trac.macports.org/raw-attachment/ticket/19190/
-# TODO: the last location is just a temporary one
-# - looking for suggestion for a better name
-# - directory structure is not really needed, at least two top dirs could go
+ http://trac.macports.org/raw-attachment/ticket/19190/:trac
use_bzip2 yes
distfiles ${distname}-${version}${extract.suffix} \
- ${wxpythonsubset}${extract.suffix}
+ ${wxpythonsubset}${extract.suffix}:trac
dist_subdir ${distname}/${version}
checksums ${distname}-${version}${extract.suffix} \
rmd160 928e221abe1a00cd2d72d2a4fd3640ba639b9915 \
sha256 3b0ac1d2d017683851841501c8e1b744b97242d684a1668ded61809b0504f707 \
${wxpythonsubset}${extract.suffix} \
- rmd160 6028e4fd3ebfa837545f4470f171b843f923e01e \
- sha256 fb5dc3c417c7179c32fa0efc63e7df1ea31469b79ea189c39e7bcccecb54598b
+ rmd160 df824e5cd99cb2fc927194526edadd2f650a1c87 \
+ sha256 01d77736aca3d16d1c26aa1002748bf43cd8ad261802f35e9a8f7b75c2227e8a
subport wxgtk-2.8 {}
@@ -83,7 +80,7 @@
lib/libiconv.dylib \
lib/libexpat.dylib
-set worksrcdir ${distname}-${version}/build
+worksrcdir ${distname}-${version}/build
patchfiles patch-chkconf.diff \
patch-configure.diff \
@@ -92,8 +89,8 @@
patch.dir ${workpath}/${distname}-${version}
post-patch {
- reinplace "s|@@ARCHS@@|[get_canonical_archflags]|g" ${workpath}/${distname}-${version}/configure
- reinplace "s|@@PREFIX@@|${prefix}|g" ${workpath}/${distname}-${version}/configure
+ reinplace "s|@@ARCHS@@|[get_canonical_archflags]|g" ${patch.dir}/configure
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${patch.dir}/configure
}
configure.cmd ../configure
@@ -120,7 +117,7 @@
--with-macosx-version-min=${wxWidgets.macosx_version_min}
}
-# wxgtk-2.8
+# wxgtk-2.8 (it doesn't work with Quartz)
if {$subport != $name} {
depends_lib-append port:cairo \
port:gtk2 \
@@ -148,11 +145,11 @@
system -W ${build.dir} "make -C contrib/src/${c} install ${destroot.destdir}"
}
- # copy a subset of wxPython to wxWidgets to prevent a later conflict
+ # copy a subset of wxPython to wxWidgets to prevent a conflict
# between py2X-wxpython-2.8 and py2Y-wxpython-2.8
- copy ${workpath}/${wxpythonsubset}/include/wx-2.8/wx/wxPython \
- ${destroot}${wxWidgets.prefix}/include/wx-2.8/wx/
+ copy ${workpath}/wxPython ${destroot}${wxWidgets.prefix}/include/wx-2.8/wx/
+ # copy a subset of documetation
set destdocdir ${destroot}${wxWidgets.prefix}/share/doc/${distname}
xinstall -d -m 755 ${destdocdir}
xinstall -m 644 -W ${workpath}/${distname}-${version} \
@@ -177,6 +174,7 @@
set installtype debug
}
+# when version 3.0 gets released, the livecheck won't be valid any more
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/20130828/deae839d/attachment.html>
More information about the macports-changes
mailing list