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

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

Relinquish maintainership of various ports

  • 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 69969 2010-07-24 12:49:28Z nox@macports.org $
3
4PortSystem      1.0
5
6name            cedet-devel
7set my_name     cedet
8version         1.0pre6
9revision        1
10categories      editors
11platforms       darwin
12maintainers     nomaintainer
13description     Infrastructure for parser based text analysis in Emacs
14
15long_description \
16    Semantic is an infrastructure for parser based text analysis in Emacs. \
17    It is a lexer, parser-generator, and parser. It is written in Emacs \
18    Lisp and is customized to the way Emacs thinks about language files, \
19    and is optimized to use Emacs' parsing capabilities.
20
21homepage        http://cedet.sourceforge.net/
22master_sites    sourceforge:$my_name
23distname        $my_name-$version
24
25checksums       md5     775c74493b146bd64352969c1590f96b \
26                sha1    e8978695e0a552e1d9484721172ce0251658900c \
27                rmd160  9c82cdb47d7141703825cdc976dd47984b5b4750
28
29depends_build   port:emacs
30
31depends_run     port:emacs
32
33use_configure   no
34
35use_parallel_build  yes
36
37destroot {
38    set lispdir $prefix/share/emacs/site-lisp
39
40    set packages {
41        common
42        ede
43        speedbar
44        eieio
45        semantic
46        cogre
47        contrib
48        srecode
49    }
50
51    proc destroot_package package_dir {
52        global  destroot worksrcpath
53        upvar   lispdir lispdir
54
55        xinstall -d $destroot$lispdir/$package_dir
56        foreach f [glob -directory $worksrcpath/$package_dir *] {
57            if {[file isdirectory $f]} {
58                set p [file tail $f]
59
60                if {$p ne "." && $p ne ".."} {
61                    destroot_package $package_dir/$p
62                }
63            } else {
64                set ext [file extension $f]
65
66                if {$ext eq ".el" || $ext eq ".elc"} {
67                    xinstall -m 644 $f $destroot$lispdir/$package_dir
68                }
69            }
70        }
71    }
72
73    foreach p $packages {
74        destroot_package $p
75    }
76}
77
78universal_variant   no
Note: See TracBrowser for help on using the repository browser.