# -*- 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 PortGroup muniversal 1.0 name dbus-devel set name_package dbus conflicts ${name_package} version 1.5.8 distname ${name_package}-${version} maintainers pixilla openmaintainer categories devel platforms darwin license {AFL-2.1 GPL-2+} description A message bus system, a simple way for applications to talk to one another. (Development version) long_description ${description} homepage http://www.freedesktop.org/Software/dbus master_sites http://dbus.freedesktop.org/releases/dbus checksums rmd160 e83cbc25adcded4e94fa4dcc0cd063bddb2b764e \ sha256 6e1cd5248562b5362e9a1ad8314459fe2f60ee3b9622ce0afd68cc9df8ae7c5e depends_lib port:expat depends_build port:pkgconfig configure.args --disable-doxygen-docs \ --disable-xml-docs \ --without-x \ --enable-launchd \ --with-session-socket-dir=/tmp use_parallel_build yes destroot.keepdirs \ ${destroot}${prefix}/share/dbus-1/services \ ${destroot}${prefix}/var/run/dbus \ ${destroot}${prefix}/etc/dbus-1/system.d \ ${destroot}${prefix}/etc/dbus-1/session.d # universal_archs_to_use might not be set before pre-fetch. pre-destroot { global merger_dont_diff merger_configure_env # PortGroup muniversal has difficulty merging three files. if {[info exists universal_archs_to_use] && [llength ${universal_archs_to_use}] == 3} { set merger_dont_diff "${prefix}/lib/dbus-1.0/include/dbus/dbus-arch-deps.h" } } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ">${name_package}-((?!\${extract.suffix}).*)${extract.suffix}<" variant no_startupitem description {Do not install startup files.} { configure.args-delete --enable-launchd } if {![variant_isset no_startupitem]} { notes " ################################################################################## # A LaunchAgent plist has been generated that will aid in starting dbus. # # Execute the following command to start dbus on demand with launchd: # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist # ################################################################################## " }