Ignore:
Timestamp:
Oct 12, 2011, 8:27:09 PM (8 years ago)
Author:
devans@…
Message:

gimp2-devel: reconcile differences between this Portfile and that of gimp2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/gimp2-devel/Portfile

    r84955 r85337  
    1111homepage        http://www.gimp.org/
    1212platforms       darwin
    13 
    1413
    1514description     The GNU Image Manipulation Program
     
    6665                patch-app-gui-ige-mac-menu.c.diff
    6766
     67platform darwin 9 {
     68    post-patch {
     69        reinplace "s|-export-symbols-regex.*||g" ${worksrcpath}/plug-ins/pygimp/Makefile.am
     70        reinplace "s|-export-symbols-regex.*||g" ${worksrcpath}/plug-ins/pygimp/Makefile.in
     71    }
     72}
     73
    6874pre-configure {
    6975    if {[file exists ${prefix}/lib/gtk-2.0/include/gdkconfig.h]} {
     
    7177        set gtk_not_x11 [catch {exec grep -q GDK_WINDOWING_X11 ${prefix}/lib/gtk-2.0/include/gdkconfig.h}]
    7278        if {[variant_isset quartz] && ${gtk_not_quartz}} {
    73             error "+quartz variant selected, but gtk2+x11 is installed"
    74         } elseif {[variant_isset x11] && ${gtk_not_x11}} {
    75             error "+quartz variant is not selected, but gtk2+quartz is installed"
     79            error "+quartz variant selected, but gtk2+x11 is installed. Install gtk2+quartz."
     80        } elseif {![variant_isset quartz] && ${gtk_not_x11}} {
     81            error "+quartz variant is not selected, but gtk2+quartz is installed. Install gtk2+x11."
    7682        }
    7783    } else {
     
    8490                --with-pdbgen \
    8591                --with-x \
     92                --x-includes=${prefix}/include \
     93                --x-libraries=${prefix}/lib \
    8694                --without-alsa \
    8795                --without-gudev \
     
    142150
    143151variant quartz {
    144     configure.args-delete --with-x
     152    configure.args-delete --with-x \
     153                          --x-includes=${prefix}/include \
     154                          --x-libraries=${prefix}/lib
    145155    configure.args-append --without-x
    146156    configure.ldflags-append   -framework Carbon
     
    149159default_variants +debug
    150160
     161post-activate {
     162        system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
     163}
     164
    151165livecheck.type  regex
    152166livecheck.url   http://gimp.mirrors.hoobly.com/gimp/v${branch}/
Note: See TracChangeset for help on using the changeset viewer.