Ticket #45170: patch-gtk-doc-highlighting.diff
File patch-gtk-doc-highlighting.diff, 1.4 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
5 5 6 6 name gtk-doc 7 7 version 1.21 8 revision 1 8 9 categories gnome devel 9 10 license GPL-2+ 10 11 installs_libs no … … 39 40 port:fop \ 40 41 port:docbook-xml \ 41 42 port:docbook-xsl \ 42 port:itstool \ 43 port:source-highlight 43 port:itstool 44 44 45 45 configure.perl ${prefix}/bin/perl5.16 46 46 configure.env-append XSLTPROC=${prefix}/bin/xsltproc 47 47 configure.args --with-xml-catalog=${prefix}/etc/xml/catalog \ 48 --with-highlight= source-highlight48 --with-highlight=no 49 49 50 50 # TODO Enable test support. 51 51 52 variant highlighting description {Enable syntax highlighting using GNU source-highlight} { 53 depends_lib-append port:source-highlight 54 configure.args-replace --with-highlight=no --with-highlight=source-highlight 55 } 56 57 platform darwin { 58 # source-highlight depends on boost which currently does not build on 10.5(?) and earlier (#44918, #45170). 59 if {${os.major} > 9} { 60 default_variants +highlighting 61 } 62 } 63 52 64 variant python25 conflicts python26 python27 description {Use python 2.5} { 53 65 depends_lib-append port:python25 54 66 depends_run-append port:py25-libxml2