1 | # $Id$ |
---|
2 | PortSystem 1.0 |
---|
3 | |
---|
4 | name efte |
---|
5 | version 0.95 |
---|
6 | categories editors |
---|
7 | description configurable programmers editor |
---|
8 | long_description \ |
---|
9 | eFTE is a lightweight, extendable, folding text editor \ |
---|
10 | geared toward the programmer. eFTE is a fork of FTE with goals of \ |
---|
11 | taking FTE to the next step, hence, Enhanced FTE. |
---|
12 | |
---|
13 | homepage http://efte.sourceforge.net |
---|
14 | platforms darwin |
---|
15 | master_sites http://downloads.sourceforge.net/sourceforge/efte/ |
---|
16 | checksums efte-${version}.tar.gz md5 20c5ca30ed1990f473581e6cafda6a4b |
---|
17 | |
---|
18 | depends_build bin:cmake:cmake |
---|
19 | |
---|
20 | configure.args -DCMAKE_BUIL_TYPE=Release \ |
---|
21 | -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ |
---|
22 | -DUSE_GPM=OFF -DBUILD_CONSOLE=ON -DBUILD_X=OFF |
---|
23 | |
---|
24 | configure { |
---|
25 | system "cd ${worksrcpath} && ${configure.env} cmake ${configure.args} ${worksrcpath}" |
---|
26 | } |
---|
27 | |
---|
28 | variant x11 { |
---|
29 | depends_build-append lib:libX11:XFree86 |
---|
30 | configure.args-delete "-DBUILD_X=OFF" |
---|
31 | configure.args-append "-DBUILD_X=ON" |
---|
32 | } |
---|
33 | |
---|
34 | post-destroot { |
---|
35 | system "cd ${destroot}${prefix}/share/efte && ../../bin/cefte config/mymain.fte system.fterc" |
---|
36 | } |
---|