# $Id: Portfile 65408 2010-03-26 01:10:51Z ryandesign@macports.org $

PortSystem 1.0

name			cryptcat
version			1.2.1
categories		net security
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
distname		cryptcat-unix-${version}
extract.suffix	.tar
checksums		md5 fc4afff350f3dd5e4fe51b0dd01a8e21
patchfiles		patch-Makefile.diff patch-netcat.c.diff

worksrcdir		unix

extract.cmd		cat
extract.pre_args

use_configure	no

build.target	darwin

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

livecheck.regex	(?i)<title>cryptcat-unix-.* cryptcat-unix-(.*) released.*</title>
