Changeset 119543


Ignore:
Timestamp:
Apr 29, 2014, 11:20:21 PM (6 years ago)
Author:
devans@…
Message:

gtksourceview2: add +glade variant to enable building of a widget catalog for glade3, update m4/intltool.m4 and autoreconf to fix intltool configuration, buld deps.

Location:
trunk/dports/gnome/gtksourceview2
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gtksourceview2/Portfile

    r115403 r119543  
    3636depends_build   port:intltool \
    3737                port:pkgconfig \
     38                port:gnome-common \
    3839                port:gtk-doc
    3940
     
    4445    port:libxml2
    4546
    46 patchfiles      patch-gtksourceview_gtksourceview-i18n.c.diff
     47patchfiles      patch-configure.ac.diff \
     48                patch-gtksourceview_gtksourceview-i18n.c.diff
     49
     50# update m4/intltool.m4 and autoreconf
     51
     52pre-configure {
     53    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
     54}
     55
     56use_autoreconf  yes
     57autoreconf.args -fvi
     58
     59configure.args  --enable-compile-warnings=minimum
    4760
    4861test.run        yes
     
    5467    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.lib MAINTAINERS \
    5568        NEWS README ${destroot}${docdir}
     69
     70# glade-3 expects catalog modules and libraries to have a .so suffix
     71
     72    if {[variant_isset glade]} {
     73        set libdir ${prefix}/lib
     74        ln -s ${libdir}/libgtksourceview-2.0.dylib ${destroot}${libdir}/libgtksourceview-2.0.so
     75    }
    5676}
    5777
     
    6080}
    6181
     82variant glade description {Build glade catalog} {
     83    depends_lib-append port:glade3
     84    configure.args-append   --enable-glade-catalog
     85}
     86
    6287livecheck.type  regex
    6388livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
Note: See TracChangeset for help on using the changeset viewer.