source: trunk/dports/editors/ecb/Portfile

Last change on this file was 102308, checked in by ryandesign@…, 4 years ago

ecb: fix "sed: RE error: illegal byte sequence" on Mountain Lion (#37841)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
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
2# $Id: Portfile 102308 2013-01-30 11:41:54Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            ecb
7version         2.40
8revision        2
9categories      editors
10platforms       darwin
11license         GPL-2+
12maintainers     nomaintainer
13supported_archs noarch
14
15description     Emacs Code Browser
16
17long_description \
18    While Emacs already has good editing support for many modes, \
19    its browsing support is somewhat lacking. That's where ECB comes \
20    in: it displays a number of informational windows that allow for \
21    easy source code navigation and overview.
22
23homepage        http://ecb.sourceforge.net/
24master_sites    sourceforge
25
26checksums       md5 7f1df8e1c15b8d95641b40abbd706cd7 \
27                sha1 9d790b10572711cbcd032b306dfa2245950835f0 \
28                rmd160 f0ccbbb4f8303f2557ce32c93a65de12226116b9
29
30depends_lib     port:emacs port:cedet
31
32post-extract {
33    fs-traverse dir ${worksrcpath}/ecb-images {
34        if {[file isdirectory ${dir}]} {
35            file attributes ${dir} -permissions 0755
36        } else {
37            file attributes ${dir} -permissions 0644
38        }
39    }
40}
41
42use_configure   no
43
44set lispdir     ${prefix}/share/emacs/site-lisp
45
46build.args      CEDET=${lispdir}
47
48# sed: RE error: illegal byte sequence
49build.args-append LC_CTYPE=C
50
51destroot {
52    xinstall -d ${destroot}${lispdir}
53    eval xinstall -m 0644 [glob -directory ${worksrcpath} *.el *.elc] \
54        ${destroot}${lispdir}
55
56    foreach {dir} {ecb-images info-help} {
57        copy ${worksrcpath}/${dir} ${destroot}${lispdir}
58    }
59}
60
61livecheck.regex "<title>${name} ${name}-(.*) released.*</title>"
Note: See TracBrowser for help on using the repository browser.