source: trunk/dports/editors/mg/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            mg
6version         20110905
7revision        1
8categories      editors
9description     small Emacs-like editor
10long_description    Micro GNU/Emacs: a small, fast, lightweight, emacs-like editor.\
11                    No extension language, just a basic editor for text & code.
12platforms       darwin
13maintainers     nomaintainer
14
15homepage        http://homepage.boetes.org/software/mg/
16master_sites    ${homepage}
17
18checksums       rmd160  721b2a2e9059ddf6ea637dafd205575150b58c8c \
19                sha256  1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229
20
21depends_lib     port:ncurses
22
23patchfiles      patch-configure.diff
24
25# The mg configure script does not accept any arguments.
26configure.pre_args
27configure.universal_args
28
29variant universal {}
30
31build.args      CC=${configure.cc} \
32                CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
33                LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
34
35destroot.args   prefix=${prefix} mandir=${prefix}/share/man
36
37post-destroot {
38    set docdir ${prefix}/share/doc/${name}
39    xinstall -d ${destroot}${docdir}
40    xinstall -m 644 -W ${worksrcpath} \
41        README \
42        ${destroot}${docdir}
43}
44
45livecheck.type  regex
46livecheck.url   ${homepage}
47livecheck.regex >${name}-(\[0-9\]+)${extract.suffix}<
Note: See TracBrowser for help on using the repository browser.