# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name             libopennet
version          0.9.9
categories       net
maintainers      nomaintainer
description      open_net(), similar to open()
long_description \
	Libopennet is a library that provides the function open_net() \
	which accepts the same parameters as the open() system call, \
	but the pathname argument can be an FTP or HTTP URL.
homepage         http://www.rkeene.org/oss/libopennet/
platforms        darwin
master_sites     http://www.rkeene.org/files/oss/libopennet/

checksums        md5     621294efc0d2d1a839d6262359b46f9c \
                 sha1    d15c698498401ec6036646eaf19914117d6f5c56 \
                 rmd160  551d6ce9ad7a262eeb7855e365c7f736f8763ee5

patchfiles       patch-Makefile 

configure.args   --mandir=\\\${prefix}/share/man

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
