# -*- 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 90683 2012-03-12 11:35:04Z snc@macports.org $ PortSystem 1.0 PortGroup kde4 1.1 name rocs version 4.8.1 categories kde kde4 maintainers snc sharky michaelld license GPL-2+ LGPL-2.1 GFDL-1.2 description Graph Theory IDE long_description KDE ${description} homepage http://www.kde.org platforms darwin depends_lib-append port:boost port:libkdeedu master_sites kde:stable/${version}/src/ use_bzip2 yes checksums rmd160 8d66518abfe677326508f83a81c57d0b088bea96 \ sha256 b48ce1454aa006f86432d978bf10b878b94ae53213a53e47e228332dc2e8bde4 if {![variant_isset doc]} { patchfiles-append patch-CMakeLists.txt.diff } post-build { system -W ${workpath}/build/lib "install_name_tool -id ${prefix}/lib/kde4/rocs_GraphStructure.dylib rocs_GraphStructure.dylib" system -W ${workpath}/build/lib "install_name_tool -change ${prefix}/lib/rocs_GraphStructure.dylib ${prefix}/lib/kde4/rocs_GraphStructure.dylib rocs_transformedgesplugin.so" } livecheck.url http://kde.mirrors.hoobly.com/stable/latest/src/ livecheck.regex ${name}-(\\d+(\\.\\d+)+) notes ${workpath}