Files

49 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
name ascii
version 3.32
revision 0
checksums rmd160 11809c921e06ada0fbf2e57cb4b4bee1aa25fb66 \
sha256 29008abfcc87e784a7938da8761bd24753b98f3284e78a4f55a81bc33192b155 \
size 14063
categories textproc
maintainers {ryandesign @ryandesign} openmaintainer
license BSD
description provides conversion between ASCII character tables
long_description The ascii utility provides easy conversion between various \
byte representations and the American Standard Code for \
Information Interchange (ASCII) character table
homepage http://www.catb.org/~esr/ascii/
master_sites ${homepage}
# ascii.1 used to be included in the tarball but isn't in 3.32. If it reappears
# in a later version, this dependency can probably be removed again.
depends_build port:asciidoctor
use_configure no
variant universal {}
build.args CC=${configure.cc} \
CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
destroot.args PREFIX=${prefix}
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} \
COPYING \
README.adoc \
${destroot}${docdir}
}
livecheck.type regex
livecheck.regex ${name}-(\[0-9.\]+)[quotemeta ${extract.suffix}]