Files

46 lines
1.5 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 nnap
version 1.1
checksums rmd160 de86591ccf20c6b5a0da8c4d290f2f8533d3aefb \
sha256 7364c4f78a84bc481322daee121bc033e9b89793e28236a85c131f8ed0d52de7 \
size 9438
platforms darwin
categories news
maintainers nomaintainer
description Nnap is a lightweight NNTP authentication proxy
long_description A small program that implements just enough of the NNTP \
protocol to authenticate client requests. After \
authentication client requests. After authentication nnap \
bounces the client TCP connection to an open NNTP server.
homepage http://www.freebsdcluster.org/~lasse/
master_sites http://www.freebsdcluster.org/~lasse/software/
livecheck.version [string map {. _} ${version}]
distname ${name}-${livecheck.version}
extract.suffix .c
extract.mkdir yes
extract {
copy ${distpath}/${distfiles} ${worksrcpath}
}
use_configure no
universal_variant yes
build {
system -W ${worksrcpath} "${configure.cc} [get_canonical_archflags cc] -o ${name} ${distfiles}"
}
destroot {
xinstall -W ${worksrcpath} ${name} ${destroot}${prefix}/sbin
}
livecheck.regex ${name}-(\\d+(?:_\\d+)*)[quotemeta ${extract.suffix}]