# -*- 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 # $Id: Portfile 94798 2012-06-29 22:34:33Z cal@macports.org $ PortSystem 1.0 name libopennet version 0.9.9 revision 1 license LGPL-2.1 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 post-destroot { system "install_name_tool -id ${prefix}/lib/libopennet.0.dylib ${destroot}${prefix}/lib/libopennet.dylib" } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"