source: trunk/dports/sysutils/tree/Portfile

Last change on this file was 154275, checked in by larryv@…, 11 months ago

tree: Assume maintainership

  • 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:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154275 2016-10-25 20:36:06Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tree
7version             1.7.0
8categories          sysutils
9platforms           darwin
10license             GPL-2+
11maintainers         larryv
12
13description         display tree-view of directories with optional \
14                    color/HTML output
15long_description    Tree is a simple utility that displays a tree-view \
16                    of directories and files. It has options to use ANSI \
17                    color escape-sequences or ASCII graphic characters, \
18                    and can also output in HTML format. Tree was written \
19                    by Steve Baker for Linux.
20homepage            http://mama.indstate.edu/users/ice/tree
21
22master_sites        ${homepage}/src/ \
23                    ftp://mama.indstate.edu/linux/tree/ \
24                    ftp://mama.indstate.edu/linux/tree/old/
25extract.suffix      .tgz
26checksums           rmd160  238a8d89b3a993679dad68fef871b3d7d0011354 \
27                    sha256  6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
28
29patchfiles          patch-Makefile.diff
30
31use_configure       no
32
33variant universal {}
34
35build.args          CC=${configure.cc} \
36                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
37                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
38
39destroot.args       BINDIR=${destroot}${prefix}/bin \
40                    MANDIR=${destroot}${prefix}/share/man/man1
41
42post-destroot {
43    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 0644 -W ${worksrcpath} README CHANGES LICENSE \
45        ${destroot}${prefix}/share/doc/${name}
46}
47
48livecheck.type      regex
49livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.