Changeset 147181


Ignore:
Timestamp:
Mar 30, 2016, 1:11:37 PM (20 months ago)
Author:
mojca@…
Message:

codeblocks: upgrade to version 16.01

Location:
trunk/dports/devel/codeblocks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/codeblocks/Portfile

    r136514 r147181  
    33
    44PortSystem          1.0
    5 PortGroup           github 1.0
    65PortGroup           wxWidgets 1.0
    76
    8 # alternative unofficial mirror to allow fetching from a tarball
    9 # or: https://cgit.jenslody.de/codeblocks/snapshot/codeblocks-<checksum>.tar.xz
    10 github.setup        obfuscated codeblocks_sf 33d975c
    117name                codeblocks
    12 version             13.12
    13 revision            3
    14 
    15 # fetch.type        svn
    16 # svn.url           https://svn.code.sf.net/p/codeblocks/code/trunk
    17 # svn.revision      10305
    18 # worksrcdir        trunk
     8version             16.01
    199
    2010platforms           darwin freebsd
     
    3121
    3222homepage            http://www.codeblocks.org/
     23master_sites        sourceforge:project/codeblocks/Sources/${version}
    3324
    34 checksums           rmd160  9af61b95628df2cbab91335f51f2402444c1e64c \
    35                     sha256  730be0560e57e9b3de8e7ad29f90e6794b6ba78bfc6429e49439c4975b178d02
     25distname            ${name}_${version}
     26worksrcdir          ${name}-${version}.release
    3627
    37 depends_build       port:autoconf \
    38                     port:automake \
    39                     port:libtool \
    40                     port:pkgconfig
     28checksums           rmd160  e98b034eb8d6cf52a89312f2d5eaa10b17f1355e \
     29                    sha256  30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03
     30
     31depends_build       port:pkgconfig
    4132
    4233depends_lib         port:boost \
    4334                    port:hunspell
    4435
    45 patchfiles          patch-sdk-configmanager.cpp
    46 
     36# TODO: for a weird reason CB tries to run autotools and fails
     37#       once a bug is fixed, we'll no longer need these dependencies
     38depends_build-append \
     39                    port:autoconf \
     40                    port:automake \
     41                    port:libtool
    4742use_autoconf        yes
    4843autoconf.cmd        ./bootstrap
     44
     45patchfiles          patch-sdk-configmanager.cpp
    4946
    5047# FileManager requires "gamin" to be installed when using wxGTK,
     
    6057    system "strip -S ${destroot}${prefix}/lib/libwxsmithlib*.so || true"
    6158    system "strip -S ${destroot}${prefix}/lib/libwxsmithlib*.dylib || true"
    62     system "strip -S ${destroot}${prefix}/lib/wxSmithContribItems/lib*.so || true"
    63     system "strip -S ${destroot}${prefix}/lib/wxSmithContribItems/lib*.dylib || true"
     59#   system "strip -S ${destroot}${prefix}/lib/wxSmithContribItems/lib*.so || true"
     60#   system "strip -S ${destroot}${prefix}/lib/wxSmithContribItems/lib*.dylib || true"
    6461    system "strip -S ${destroot}${prefix}/lib/codeblocks/plugins/*.so"
    6562
     
    10198    configure.args-append   --disable-pch
    10299}
    103 
    104 # TODO: keep the old variants/descriptions?
    105 # variant aqua / x11
    106 # variant aqua conflicts x11 description "Use the wxMac port of wxWidgets"
    107 # variant x11 description "Use the wxGTK port of wxWidgets"
    108 
    109 variant aqua {}
    110 variant x11 {}
    111100
    112101variant wxwidgets30 conflicts wxwidgets28 wxgtk30 wxgtk28 description {Use Cocoa-based wxWidgets 3.0} {
     
    169158
    170159if {![variant_isset wxwidgets30] && ![variant_isset wxwidgets28] && ![variant_isset wxgtk30] && ![variant_isset wxgtk28]} {
    171     if {[variant_isset aqua]} {
    172         default_variants +wxwidgets28
    173     } elseif {[variant_isset x11]} {
    174         default_variants +wxgtk28
    175     } else {
    176         default_variants +wxwidgets30
    177     }
     160    default_variants +wxwidgets30
    178161}
    179162
    180163livecheck.type      regex
    181164livecheck.url       ${homepage}/downloads/source
    182 livecheck.regex     <p>${name}_(\[0-9.\]+)-\\d+${extract.suffix}</p>
     165livecheck.regex     <p>${name}_(\[0-9.\]+)${extract.suffix}</p>
  • trunk/dports/devel/codeblocks/files/patch-sdk-configmanager.cpp

    r136514 r147181  
    55--- src/sdk/configmanager.cpp.orig
    66+++ src/sdk/configmanager.cpp
    7 @@ -1504,8 +1504,10 @@ void ConfigManager::InitPaths()
     7@@ -1503,8 +1503,10 @@ void ConfigManager::InitPaths()
    88 #ifdef CB_AUTOCONF
    99     if (plugin_path_global.IsEmpty())
Note: See TracChangeset for help on using the changeset viewer.