[118531] trunk/dports/graphics/wxLua/Portfile
mojca at macports.org
mojca at macports.org
Thu Apr 3 17:01:59 PDT 2014
Revision: 118531
https://trac.macports.org/changeset/118531
Author: mojca at macports.org
Date: 2014-04-03 17:01:59 -0700 (Thu, 03 Apr 2014)
Log Message:
-----------
wxLua: fetch released files rather than from svn
Modified Paths:
--------------
trunk/dports/graphics/wxLua/Portfile
Modified: trunk/dports/graphics/wxLua/Portfile
===================================================================
--- trunk/dports/graphics/wxLua/Portfile 2014-04-03 23:59:59 UTC (rev 118530)
+++ trunk/dports/graphics/wxLua/Portfile 2014-04-04 00:01:59 UTC (rev 118531)
@@ -6,9 +6,12 @@
PortGroup wxWidgets 1.0
name wxLua
-svn.revision 219
-version 2.8.12.3_r${svn.revision}
+version 2.8.12.3
revision 1
+# TODO: I didn't increase the epoch because it's basically the same version
+# as in SVN and there is no need to update the port at the moment
+# If there is a need for revbumping the port before 2.8.12.4 gets released,
+# you might want to set the epoch
categories graphics devel
platforms darwin freebsd
maintainers nomaintainer
@@ -19,46 +22,27 @@
library for extending C++ programs with a fast, small, \
fully embeddable scripting language.
-# fetching sources from SVN because no sources seem to have been released recently,
-# but they are needed in order to work with wxWidgets 2.9.
-# There were only windows binaries. As soon as some recent version gets released,
-# fetching from SVN should stop.
homepage http://wxlua.sourceforge.net/
+master_sites sourceforge:wxlua
+distname ${name}-${version}-src
-## this could work if the project would release any files recently, but the files are too old
-#master_sites sourceforge:wxlua
-#distname ${name}-${version}-src
-#
-## SVN repository (apparently not desirable to use)
-fetch.type svn
-svn.url https://svn.code.sf.net/p/wxlua/svn/trunk/${name}
-worksrcdir ${name}
+## SVN repository
+# fetch.type svn
+# svn.url https://svn.code.sf.net/p/wxlua/svn/trunk/${name}
+# worksrcdir ${name}
-## temporary URL from SourceForge
-## (one needs to initiate the transfer manually first and it gets wiped out after a while;
-## to make it worse checksums change after manually downloading the files again after a while)
-## https://sourceforge.net/p/wxlua/svn/${svn.revision}/tree/
-# master_sites http://sourceforge.net/code-snapshots/svn/w/wx/wxlua/svn/
-# distname wxlua-svn-${svn.revision}-trunk
-# use_zip yes
-# worksrcdir ${distname}/wxLua
+checksums rmd160 c09c3e64b0abde69e1d3ecc62a703b225c78e278 \
+ sha256 dbfc1d0ed7a89524c7adac66b8ae4b792f4c06255c5c0fea304d439fc87a6d50
wxWidgets.use wxWidgets-3.0
-depends_lib port:lua \
- port:readline \
+depends_lib port:readline \
port:${wxWidgets.port}
-# port:wxstedit seems to be built in now, but the exact relationship is not clear
+# https://trac.macports.org/ticket/42872
+configure.cppflags-delete \
+ -I${prefix}/include
-# TODO: not sure how to translate these options from the previous version of the port
-#
-# configure.args --mandir=${prefix}/share/man \
-# --with-wx-prefix=${prefix} \
-# --enable-wxbindstc --enable-luamodule \
-# --with-lua-prefix=${prefix} \
-# --enable-wxluafreeze-app
-
configure.args-append \
-DwxWidgets_CONFIG_EXECUTABLE=${wxWidgets.wxconfig} \
-DwxLua_LUA_LIBRARY_BUILD_SHARED=OFF \
@@ -82,6 +66,9 @@
move "${destroot}${prefix}/bin/${app}.app" ${destroot}${applications_dir}
}
+ # delete a generic wxWidgets library
+ delete ${destroot}${prefix}/lib/libwx.dylib
+
# these files need to be deleted if wxstedit remains a separate port
xinstall -d -m 0755 ${destroot}${prefix}/share/wxstedit
move ${destroot}${prefix}/doc/wxStEdit ${destroot}${prefix}/share/wxstedit/doc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140403/20e569ff/attachment.html>
More information about the macports-changes
mailing list