Files
2026-04-05 21:14:12 -04:00

39 lines
1.6 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup makefile 1.0
name tree
version 2.3.2
categories sysutils
license GPL-2+
maintainers {larryv @larryv} openmaintainer
description display tree-view of directories with optional \
color/HTML output
long_description Tree is a simple utility that displays a tree-view \
of directories and files. It has options to use ANSI \
color escape-sequences or ASCII graphic characters, \
and can also output in HTML format. Tree was written \
by Steve Baker for Linux.
homepage https://oldmanprogrammer.net/source.php?dir=projects/tree
master_sites https://oldmanprogrammer.net/tar/${name}/
extract.suffix .tgz
checksums rmd160 2b8d8c4331509654ecb13164b8902f81b75e8c7f \
sha256 6b941dd6cbecfb4d3250700e4d08d8e0c251488981dd4868b90d744234300e21 \
size 70885
compiler.c_standard 2011
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
xinstall -m 0644 ${worksrcpath}/doc/${name}.1 ${destroot}${prefix}/share/man/man1/
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 -W ${worksrcpath} README CHANGES LICENSE \
${destroot}${prefix}/share/doc/${name}
}
livecheck.type regex
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"