Ticket #48131: oxygen-gtk.diff

File oxygen-gtk.diff, 1.9 KB (added by ryandesign (Ryan Carsten Schmidt), 9 years ago)
  • Portfile

     
    33# $Id$
    44
    55PortSystem          1.0
     6PortGroup           cmake 1.0
    67PortGroup           muniversal 1.0
    78
    89name                oxygen-gtk2
     
    2627maintainers         gmail.com:rjvbertin
    2728
    2829homepage            http://kde-look.org/content/show.php/Oxygen+Gtk?content=136216
     30default master_sites {"kde:stable/${subport}/${version}/src/
     31                    ftp://ftp.kde.org/pub/kde/stable/${subport}/${version}/src"}
     32default distname    {${subport}-${version}}
    2933
    3034if {${subport} eq "oxygen-gtk3"} {
    3135    version             1.4.1
    32     distname            ${subport}-${version}
    3336
    34     PortGroup           cmake 1.0
    35     cmake.out_of_source yes
    36 
    37     master_sites        kde:stable/${subport}/${version}/src/ \
    38                         ftp://ftp.kde.org/pub/kde/stable/${subport}/${version}/src
    3937    livecheck.regex     "oxygen-gtk3 - version.*(1\\.\\d+?(\\.\\d+))"
    4038
    4139    checksums           rmd160  3279bfd21840cd4c7fa85e4d411c2a962cffa9e3 \
     
    4543} else {
    4644    version             1.4.5
    4745
    48     PortGroup           cmake 1.0
    49     cmake.out_of_source yes
    50 
    51     master_sites        kde:stable/${name}/${version}/src/ \
    52                         ftp://ftp.kde.org/pub/kde/stable/${name}/${version}/src
    5346    livecheck.regex     "Oxygen Gtk.*(1\\.\\d+?(\\.\\d+))"
    5447
    5548    checksums           rmd160  51360c2b16887b22d093e29fea3456210d92e335 \
     
    6861                    path:lib/pkgconfig/cairo.pc:cairo \
    6962                    port:dbus
    7063
     64cmake.out_of_source yes
     65
    7166post-configure {
    7267    # Default libraries extension is ".dylib" on Darwin, not ".so", but gtk-engines must have a .so extension
    7368    # NB: replacing the extension post-destroot seems to work too, but this seems cleaner to me even if more complicated.