Ticket #19941: patch-anjuta.diff
File patch-anjuta.diff, 4.4 KB (added by dbevans (David B. Evans), 15 years ago) |
---|
-
Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 PortSystem 1.0 4 name anjuta 5 version 1.2.4a 6 categories gnome devel 7 maintainers nomaintainer 8 description A gnome ide. 9 long_description ${description} 4 PortSystem 1.0 10 5 11 platforms darwin 6 name anjuta 7 version 2.26.2.0 8 set branch [join [lrange [split ${version} .] 0 1] .] 9 description A GNOME/GTK IDE 10 long_description ${description} 11 maintainers devans openmaintainer 12 categories gnome devel 13 platforms darwin 14 homepage http://anjuta.sourceforge.net/ 15 master_sites gnome:sources/${name}/${branch}/ 12 16 13 homepage http://anjuta.sourceforge.net/ 14 master_sites sourceforge 17 checksums md5 16435dc99012e9799525e1fbdda35e79 \ 18 sha1 b8d438f1938a8021143e6c410d61a4dc52fbdae7 \ 19 rmd160 c612ff9515ebeae6a82b49285d40049f454b10dd 15 20 16 checksums md5 7e6af289b4bfd1ec2ca72e2017efc4d3 21 patchfiles patch-libanjuta-anjuta-launcher.c.diff \ 22 patch-libanjuta-anjuta-utils.c.diff 17 23 18 depends_lib lib:libzvt-2:libzvt lib:libvte:vte lib:libpcreposix:pcre \ 19 lib:libgnomeprintui-2.2:libgnomeprintui 24 depends_build port:pkgconfig \ 25 port:intltool \ 26 port:p5-xml-parser \ 27 port:gnome-doc-utils \ 28 port:gtk-doc 20 29 21 post-extract { 22 reinplace "s|-lutil||g" ${worksrcpath}/src/Makefile.in 30 depends_lib port:autogen \ 31 port:gconf \ 32 port:gdl \ 33 port:libgda4 \ 34 port:libunique \ 35 port:vte 36 37 post-patch { 38 reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/scripts/glade2schema.pl 23 39 } 24 40 25 patchfiles patch-parser.h patch-launcher.c 41 configure.args --enable-static \ 42 --disable-scrollkeeper \ 43 --disable-schemas-install \ 44 --disable-plugin-devhelp \ 45 --disable-plugin-glade \ 46 --disable-graphviz \ 47 --disable-plugin-sourceview \ 48 --disable-plugin-valgrind \ 49 --disable-plugin-subversion 26 50 27 configure.cppflags-append "-L${prefix}/lib" 28 configure.cflags-append "-no-cpp-precomp -L${prefix}/lib" 51 variant devhelp description {Enable devhelp plugin support} { 52 configure.args-delete --disable-plugin-devhelp 53 depends_lib-append port:devhelp 54 } 29 55 56 variant glade description {Enable glade plugin support} { 57 configure.args-delete --disable-plugin-glade 58 depends_lib-append port:glade3 59 } 60 61 variant graphviz description {Enable class inheritance plugin support using graphviz} { 62 configure.args-delete --disable-graphviz 63 depends_lib-append port:graphviz 64 } 65 66 variant sourceview description {Enable gtksourceview editor plugin support instead of scintilla} { 67 configure.args-append --disable-plugin-scintilla 68 configure.args-delete --disable-plugin-sourceview 69 depends_lib-append port:gtksourceview2 70 } 71 72 variant subversion description {Enable subversion plugin support} { 73 configure.args-delete --disable-plugin-subversion 74 configure.args-append --with-subversion-dir=${prefix} \ 75 --with-svn-include=${prefix}/include/subversion-1 \ 76 --with-svn-lib=${prefix}/lib 77 depends_lib-append port:subversion 78 } 79 80 post-destroot { 81 system "cd ${destroot}${prefix}/lib/anjuta && ln -s libfile-manager.dylib libfile-manager.so" 82 } 83 84 post-activate { 85 system "scrollkeeper-update" 86 system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ 87 gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" 88 } 89 90 livecheck.check regex 91 livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ 92 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)} 93