source: trunk/dports/editors/aee/Portfile

Last change on this file was 134316, checked in by ionic@…, 2 years ago

aee: add modeline. Fix permissions of xinstall on binary file. Revbump. Patch provided by Eitan Adler.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 134316 2015-03-22 05:37:40Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name             aee
7version          2.2.15b
8revision         2
9categories       editors
10license          Artistic-1
11maintainers      nomaintainer
12description      easy to use text editor
13long_description \
14        An easy to use text editor. Intended to be usable with \
15        little or no instruction. Provides both a terminal \
16        (curses based) interface and native X-Windows interface \
17        (in which case the executable is called xae). Features \
18        include pop-up menus, journalling (to recover from \
19        system crash or loss of connection), cut-and-paste, \
20        multiple buffers (associated with files or not), and \
21        much more.
22homepage         http://www.users.qwest.net/~hmahon/
23platforms        darwin
24
25master_sites     ${homepage}sources/
26checksums        md5 f8c3a4196f1bfd46beb6b76d73ecb7a2 \
27                 sha1 63ba64fe43e7c0d0b0b55d6ffd3a6b54ed47316c \
28                 rmd160 b8b74c7714fcfa915eee5e88482c4ec47887133a
29
30use_configure    no
31
32build.target     main
33
34destroot {
35        set binDir ${destroot}${prefix}/bin
36        set manDir ${destroot}${prefix}/share/man/man1
37        set docDir ${destroot}${prefix}/share/doc/aee
38
39        xinstall -m 755 ${worksrcpath}/aee ${binDir}
40        system "ln ${binDir}/aee ${binDir}/rae"
41
42        xinstall -m 444 ${worksrcpath}/aee.1 ${manDir}
43        system "ln ${manDir}/aee.1 ${manDir}/rae.1"
44
45        if {[variant_isset x11]} {
46                xinstall -m 555 ${worksrcpath}/xae ${binDir}
47                system "ln ${binDir}/xae ${binDir}/rxae"
48
49                system "ln ${manDir}/aee.1 ${manDir}/xae.1"
50                system "ln ${manDir}/aee.1 ${manDir}/rxae.1"
51        }
52
53        file mkdir ${docDir}
54        xinstall -m 444 ${worksrcpath}/help.ae ${docDir}
55}
56
57variant x11 {
58        build.target        both
59        depends_lib-append  port:xorg-libX11
60}
61
62use_parallel_build  no
Note: See TracBrowser for help on using the repository browser.