# -*- 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$ PortSystem 1.0 name libconfig-hr version 1.3.2 categories devel maintainers devans openmaintainer platforms darwin homepage http://www.hyperrealm.com/libconfig/ master_sites ${homepage} distname libconfig-${version} checksums md5 094a82afd382aa2305c6cc3c06025c2d \ sha1 0dce0cd5fc103c4801feea2f68a9c57dcb16d6dc \ rmd160 b3d2e8898eee651311d5fc8154d4bd905e50ca89 description \ A new libconfig implementation with both C and C++ bindings. long_description \ A new libconfig implementation with both C and C++ bindings, a \ completely new API, pkg-config support and superior documentation. \ This port is incompatible with the older port libconfig which should be \ deactivated or uninstalled prior to installation of this port. pre-configure { if {[file exists ${prefix}/include/libconfig.h]} { if {![file exists ${prefix}/include/libconfig.h++]} { error " **** Port libconfig is installed and must be deactivated **** or uninstalled before this port can be installed. " } } } livecheck.type regex livecheck.url ${master_sites} livecheck.regex ">libconfig-(\\d+(?:\\.\\d+)*)${extract.suffix}<"