mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
61 lines
1.6 KiB
Tcl
61 lines
1.6 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name ecb
|
|
version 2.40
|
|
revision 2
|
|
categories editors
|
|
platforms any
|
|
license GPL-2+
|
|
maintainers nomaintainer
|
|
supported_archs noarch
|
|
|
|
description Emacs Code Browser
|
|
|
|
long_description \
|
|
While Emacs already has good editing support for many modes, \
|
|
its browsing support is somewhat lacking. That's where ECB comes \
|
|
in: it displays a number of informational windows that allow for \
|
|
easy source code navigation and overview.
|
|
|
|
homepage http://ecb.sourceforge.net/
|
|
master_sites sourceforge
|
|
|
|
checksums md5 7f1df8e1c15b8d95641b40abbd706cd7 \
|
|
sha1 9d790b10572711cbcd032b306dfa2245950835f0 \
|
|
rmd160 f0ccbbb4f8303f2557ce32c93a65de12226116b9
|
|
|
|
depends_lib port:emacs port:cedet
|
|
|
|
post-extract {
|
|
fs-traverse dir ${worksrcpath}/ecb-images {
|
|
if {[file isdirectory ${dir}]} {
|
|
file attributes ${dir} -permissions 0755
|
|
} else {
|
|
file attributes ${dir} -permissions 0644
|
|
}
|
|
}
|
|
}
|
|
|
|
use_configure no
|
|
|
|
set lispdir ${prefix}/share/emacs/site-lisp
|
|
|
|
build.args CEDET=${lispdir}
|
|
|
|
# sed: RE error: illegal byte sequence
|
|
build.args-append LC_CTYPE=C
|
|
|
|
destroot {
|
|
xinstall -d ${destroot}${lispdir}
|
|
xinstall -m 0644 {*}[glob -directory ${worksrcpath} *.el *.elc] \
|
|
${destroot}${lispdir}
|
|
|
|
foreach {dir} {ecb-images info-help} {
|
|
copy ${worksrcpath}/${dir} ${destroot}${lispdir}
|
|
}
|
|
}
|
|
|
|
livecheck.regex "ecb-(\\d+(?:\\.\\d+)*).tar.gz"
|