# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name libsigcxx2 set my_name libsigc++ version 2.2.10 license LGPL-2.1 set branch [join [lrange [split ${version} .] 0 1] .] categories devel platforms darwin maintainers nomaintainer description C++ signal callback system long_description \ libsigc++ implements a typesafe callback system for standard C++. It allows you to define signals and to \ connect those signals to any callback function, either global or a member function, regardless of whether it is \ static or virtual. homepage http://libsigc.sourceforge.net/ master_sites gnome:sources/${my_name}/${branch}/ distname ${my_name}-${version} use_bzip2 yes checksums sha1 240d3e0a02e764a6362f6ce1b32de71401e50844 \ rmd160 410d3d81189b9268c5f4cd23b6aaa013b3ddc90c configure.args --enable-static set docdir ${prefix}/share/doc/${my_name}-${version} post-destroot { xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO \ ${destroot}${docdir} if { [variant_isset doc]} { foreach {f} {images index.html reference tutorial} { file rename ${destroot}${prefix}/share/doc/libsigc++-2.0/${f} \ ${destroot}${docdir}/${f} } } file delete -force ${destroot}${prefix}/share/doc/libsigc++-2.0 } variant doc description {Install extra documentation} { } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/GNOME/sources/${my_name}/${branch}/?C=M&O=D livecheck.regex {libsigc\+\+-(\d+(?:\.\d+)*)}