source: trunk/dports/editors/jed/Portfile

Last change on this file was 112069, checked in by jmr@…, 4 years ago

jed: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# $Id: Portfile 112069 2013-10-11 04:02:58Z ryandesign@macports.org $
2
3PortSystem                  1.0
4
5name                        jed
6version                     0.99-19
7revision                    1
8categories                  editors
9license                     GPL-2+
10platforms                   darwin
11maintainers                 nomaintainer
12
13description                 JED is a powerful editor for programmers.
14
15long_description            JED is a powerful editor designed for use by \
16                            programmers, its drop-down menu facility make it \
17                            one of the friendliest text editors around. Hence \
18                            it is ideal for composing simple email messages \
19                            as well as editing complex programs in a variety \
20                            of computer languages.
21
22homepage                    http://www.jedsoft.org/jed/
23master_sites                ftp://space.mit.edu/pub/davis/jed/v0.99/ \
24                            ftp://space.mit.edu/pub/davis/jed/v0.99/old/
25use_bzip2                   yes
26
27checksums                   md5     c9b2f58a3defc6f61faa1ce7d6d629ea \
28                            sha1    7783ac9035c7221575e74b544902151309d0d0ef \
29                            rmd160  c6182d918322c30922f7590c7e8b15a1da0ba22f
30
31depends_lib                 port:slang2
32
33patchfiles                  patch-pty.c \
34                            patch-unix.c
35
36configure.args              --mandir=${prefix}/share/man \
37                            --with-slang=${prefix}
38configure.cppflags-append   -L${prefix}/lib
39configure.env               JED_ROOT=${prefix}/share/jed
40
41destroot {
42    xinstall ${worksrcpath}/src/objs/jed ${destroot}${prefix}/bin
43    if {[variant_isset x11]} {
44        xinstall ${worksrcpath}/src/objs/xjed ${destroot}${prefix}/bin
45    }
46
47    xinstall ${worksrcpath}/doc/manual/jed.1 ${destroot}${prefix}/share/man/man1/
48
49    xinstall -d ${destroot}${prefix}/share/jed/lib
50    foreach f [glob -nocomplain [file join ${worksrcpath}/lib *]] {
51        if {![file isdirectory $f] } {
52            xinstall $f ${destroot}${prefix}/share/jed/lib/
53        }
54    }
55
56    xinstall -d ${destroot}${prefix}/share/jed/lib/colors
57    foreach f [glob -nocomplain [file join ${worksrcpath}/lib/colors *]] {
58        if {![file isdirectory $f] } {
59            xinstall $f ${destroot}${prefix}/share/jed/lib/colors/
60        }
61    }
62
63    xinstall -d ${destroot}${prefix}/share/jed/lib/colors/Xjed
64    foreach f [glob -nocomplain [file join ${worksrcpath}/lib/colors/Xjed *]] {
65        if {![file isdirectory $f] } {
66            xinstall $f ${destroot}${prefix}/share/jed/lib/colors/Xjed/
67        }
68    }
69}
70
71variant x11 description {Build xjed} {
72    depends_lib-append port:Xft2
73    configure.args-append --with-x
74    build.target-append xjed
75}
76
77livecheck.type              regex
78livecheck.url               ${homepage}download.html
79livecheck.regex             { is ([0-9.-]+) }
Note: See TracBrowser for help on using the repository browser.