source: trunk/dports/editors/cedet-devel/Portfile @ 71544

Last change on this file since 71544 was 71544, checked in by jmr@…, 10 years ago

cedet-devel: update to 1.0pre7 (#25571)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 71544 2010-09-16 12:26:37Z jmr@macports.org $
3
4PortSystem      1.0
5
6name            cedet-devel
7set my_name     cedet
8version         1.0pre7
9categories      editors
10platforms       darwin
11maintainers     nomaintainer
12description     Infrastructure for parser based text analysis in Emacs
13
14long_description \
15    Semantic is an infrastructure for parser based text analysis in Emacs. \
16    It is a lexer, parser-generator, and parser. It is written in Emacs \
17    Lisp and is customized to the way Emacs thinks about language files, \
18    and is optimized to use Emacs' parsing capabilities.
19
20homepage        http://cedet.sourceforge.net/
21master_sites    sourceforge:$my_name
22distname        $my_name-$version
23
24checksums       md5     e9862e293d27ae03c74f510a2a40c1eb \
25                sha1    b48bfe50df43b6941e9ffd40256c10d58b14b832 \
26                rmd160  4f90db2ad9c63a3d8ff6ac9e3a1c83f99fb2b777
27
28depends_lib     port:emacs
29
30use_configure   no
31
32use_parallel_build  yes
33
34destroot {
35    set lispdir $prefix/share/emacs/site-lisp
36
37    set packages {
38        common
39        ede
40        speedbar
41        eieio
42        semantic
43        cogre
44        contrib
45        srecode
46    }
47
48    proc destroot_package package_dir {
49        global  destroot worksrcpath
50        upvar   lispdir lispdir
51
52        xinstall -d $destroot$lispdir/$package_dir
53        foreach f [glob -directory $worksrcpath/$package_dir *] {
54            if {[file isdirectory $f]} {
55                set p [file tail $f]
56
57                if {$p ne "." && $p ne ".."} {
58                    destroot_package $package_dir/$p
59                }
60            } else {
61                set ext [file extension $f]
62
63                if {$ext eq ".el" || $ext eq ".elc"} {
64                    xinstall -m 644 $f $destroot$lispdir/$package_dir
65                }
66            }
67        }
68    }
69
70    foreach p $packages {
71        destroot_package $p
72    }
73}
Note: See TracBrowser for help on using the repository browser.