[100045] trunk/dports/devel/codeblocks/Portfile
afb at macports.org
afb at macports.org
Sun Nov 25 02:40:57 PST 2012
Revision: 100045
https://trac.macports.org/changeset/100045
Author: afb at macports.org
Date: 2012-11-25 02:40:57 -0800 (Sun, 25 Nov 2012)
Log Message:
-----------
codeblocks: add license for distribution, define compiler and sdk
Modified Paths:
--------------
trunk/dports/devel/codeblocks/Portfile
Modified: trunk/dports/devel/codeblocks/Portfile
===================================================================
--- trunk/dports/devel/codeblocks/Portfile 2012-11-25 07:36:35 UTC (rev 100044)
+++ trunk/dports/devel/codeblocks/Portfile 2012-11-25 10:40:57 UTC (rev 100045)
@@ -7,6 +7,7 @@
revision 2
platforms darwin freebsd
categories devel aqua x11
+license GPL-3+
maintainers afb
description Open Source, Cross-platform, Free C/C++/D IDE
long_description Code::Blocks is a free C++ IDE built specifically \
@@ -24,9 +25,8 @@
sha1 b7697f512de69ad731f0febac4b91bb6c605fa57 \
rmd160 a1b4e93f4cc41ae6b7fd955689dae8648f0fd2f9
-# apparently only works with gcc
if {${configure.compiler} == "clang"} {
- configure.compiler gcc
+ configure.compiler llvm-gcc-4.2
}
configure.args --with-contrib-plugins=all
@@ -58,6 +58,15 @@
supported_archs i386 ppc
depends_lib port:wxWidgets
+platform darwin 11 {
+ macosx_deployment_target 10.6
+ if {[vercmp $xcodeversion 4.3] >= 0} {
+ configure.sdkroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
+ } else {
+ configure.sdkroot ${developer_dir}/SDKs/MacOSX10.6.sdk
+ }
+}
+
patchfiles-append codeblocks-splashscreen.diff codeblocks-keybinder.diff codeblocks-debugger.diff
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121125/9b32cb8b/attachment.html>
More information about the macports-changes
mailing list