OSDN Git Service

My MacPorts
[splhack/MacPorts.git] / editors / vim / files / gdb
1 set gdbdistfile vimgdb72-1.14.tar.gz
2 variant gdb description {Enable GDB integration} {
3         master_sites-append             sourceforge:clewn:gdb
4         distfiles-append                ${gdbdistfile}:gdb
5         checksums-append                ${gdbdistfile} md5 e406c64d29a3152a3f5d0fffe3d2bba8
6         configure.args-append   --enable-gdb
7         patchfiles-append       patch-gdb.c
8         post-extract {
9                 system "gnutar xvfz ${distpath}/${gdbdistfile} -C ${workpath}"
10         }
11         pre-patch {
12                 system "patch -d ${worksrcpath} -p0 < \
13                         ${workpath}/vimgdb/${distname}.diff"
14         }
15         post-destroot {
16                 system "gnutar xvfz ${workpath}/vimgdb/vimgdb_runtime.tgz \
17                         -C ${destroot}${prefix}/share/vim/${distname}"
18                 system "${destroot}${prefix}/bin/vim \
19                         --cmd \"helptag ${destroot}${prefix}/share/vim/${distname}/doc\" \
20                         --cmd exit"
21         }
22 }
23
24 variant my {}
25 if { [variant_isset my] } { default_variants +cscope +gdb +huge +ruby }