PortSystem 1.0
PortGroup           makefile 1.0

name			cryptcat
version			1.2.1
revision            1
checksums           rmd160  90c66c134deb7a3188bf27c1b0a42e8ef9bf2b27 \
                    sha256  5dc9a9c2beac3d9658cc3e082c00f1127981a2f995b4ec485f281bf1800840d0 \
                    size    190464

set branch		[join [lrange [split ${version} .] 0 1] .]
categories		net security
license			BSD
platforms		darwin
maintainers		nomaintainer
description		lightweight netcat with integrated transport encryption
long_description	Cryptcat is a lightweight version of netcat with \
			integrated transport encryption capabilities.

homepage		http://cryptcat.sourceforge.net/
master_sites	sourceforge:project/cryptcat/cryptcat-unix-${branch}/cryptcat-unix-${version}
distname		cryptcat-unix-${version}
use_tar             yes

patchfiles		patch-Makefile.diff patch-netcat.c.diff

worksrcdir		unix

build.target	darwin

destroot {
    xinstall -m 0755 ${worksrcpath}/cryptcat ${destroot}${prefix}/bin
    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} Changelog Credits README README.cryptcat \
		${destroot}${prefix}/share/doc/${name}
}

livecheck.regex	/cryptcat-unix-(\\d+(?:\\.\\d+)*).tar
