Ignore:
Timestamp:
Feb 4, 2005, 6:51:29 PM (14 years ago)
Author:
rshaw
Message:

Updated tree to version 1.5.0

Submitted by: Kent Karlsson
Reviewed by: rshaw@
Approved by: rshaw@

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/tree/Portfile

    r3977 r10835  
    1 # $Id: Portfile,v 1.5 2003/11/17 21:20:04 jkh Exp $
    2 PortSystem 1.0
     1# $Id: Portfile,v 1.6 2005/02/04 18:51:29 rshaw Exp $
     2PortSystem              1.0
    33
    4 name            tree
    5 version         1.3
    6 categories      sysutils
    7 maintainers     rshaw@opendarwin.org
    8 description     display tree-view of directories with optional color/HTML output
     4name                    tree
     5version                 1.5.0
     6categories              sysutils
     7maintainers             rshaw@opendarwin.org
     8description             display tree-view of directories with optional color/HTML output
    99long_description        Tree is a simple utility that displays a \
    10                         tree-view of directories and files. It has \
    11                         options to use ANSI color escape-sequences or \
    12                         ASCII graphic characters, and can also output in \
    13                         HTML format.  Tree was written by Steve Baker \
    14                         for Linux.
     10                                        tree-view of directories and files. It has \
     11                                        options to use ANSI color escape-sequences or \
     12                                        ASCII graphic characters, and can also output in \
     13                                        HTML format.  Tree was written by Steve Baker \
     14                                        for Linux.
    1515master_sites    ftp://mama.indstate.edu/linux/tree/
    1616extract.suffix  .tgz
    17 checksums       md5 610dff913f65c1d4743f1a7e1adc0ae4
     17checksums               md5 e0d090c564e7ea5afa16bac80620c7e0
     18platforms               darwin
    1819
    19 configure       { reinplace "s%(\\*dir)->size%(long)&%" ${worksrcpath}/tree.c
    20                   reinplace "s%and/or$%&\\\\%" ${worksrcpath}/tree.c }
     20configure {
     21        reinplace "s%extern size_t MB_CUR_MAX%extern int MB_CUR_MAX%" \
     22                ${worksrcpath}/tree.c
     23}
    2124
    22 build.args      CFLAGS="-no-cpp-precomp"
     25build.args              CFLAGS="-no-cpp-precomp"
    2326
    2427destroot.args   BINDIR=${destroot}${prefix}/bin \
    25                 MANDIR=${destroot}${prefix}/share/man/man1
     28                                MANDIR=${destroot}${prefix}/share/man/man1
     29post-destroot {
     30        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
     31        xinstall -m 0644 -W ${worksrcpath} README CHANGES LICENSE \
     32                ${destroot}${prefix}/share/doc/${name}
     33}
    2634
Note: See TracChangeset for help on using the changeset viewer.