Changeset 94470


Ignore:
Timestamp:
Jun 20, 2012, 3:08:14 AM (7 years ago)
Author:
ryandesign@…
Message:

mg: update to 20110905 (#32766); update homepage; use MacPorts ncurses; ensure we're UsingTheRightCompiler and -arch flags; install README file; fix livecheck

Location:
trunk/dports/editors/mg
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/mg/Portfile

    r51441 r94470  
    44
    55name            mg
    6 version         20090107
     6version         20110905
    77categories      editors
    88description     small Emacs-like editor
     
    1212maintainers     kerbit.net:lfk
    1313
    14 homepage        http://www.han.dds.nl/software/mg
     14homepage        http://homepage.boetes.org/software/mg/
    1515master_sites    ${homepage}
    1616
    17 checksums  md5  f25a139da44c3a2f760ffec531bd996e \
    18            sha1 3191c6dea4996347b6d40b34fa4c88a57e5ef42e
     17checksums       rmd160  721b2a2e9059ddf6ea637dafd205575150b58c8c \
     18                sha256  1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229
    1919
    20 # The mg sources have a cludge for a configure script that accepts no options
    21 # so subvert any attempt to pass args to it by setting configure.pre_args to nothing
     20depends_lib     port:ncurses
     21
     22patchfiles      patch-configure.diff
     23
     24# The mg configure script does not accept any arguments.
    2225configure.pre_args
     26configure.universal_args
     27
     28variant universal {}
     29
     30build.args      CC=${configure.cc} \
     31                CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
     32                LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
     33
    2334destroot.args   prefix=${prefix} mandir=${prefix}/share/man
     35
     36post-destroot {
     37    set docdir ${prefix}/share/doc/${name}
     38    xinstall -d ${destroot}${docdir}
     39    xinstall -m 644 -W ${worksrcpath} \
     40        README \
     41        ${destroot}${docdir}
     42}
     43
     44livecheck.type  regex
     45livecheck.url   ${homepage}
     46livecheck.regex >${name}-(\[0-9\]+)${extract.suffix}<
Note: See TracChangeset for help on using the changeset viewer.