Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
68 lines (50 sloc) 2.35 KB
# -*- 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
PortSystem 1.0
PortGroup github 1.0
PortGroup gobject_introspection 1.0
github.setup engla keybinder 0.3.1 v
categories gnome devel
platforms darwin
maintainers ryandesign openmaintainer
license GPL-2+
description library for global keyboard shortcuts in GTK applications
long_description ${name} is a library for registering global keyboard \
shortcuts in GTK2-based applications using the X Window \
System.
checksums rmd160 5540b349f193c49413e5e443c40dec2291a715c9 \
sha256 3c4636965a228902ef70fb8df34e3cc11036b82c2c3be45819d0780f34345b7b
depends_build port:pkgconfig \
port:autoconf \
port:automake \
port:libtool \
port:gnome-common \
port:gtk-doc
depends_lib port:gtk2
patchfiles patch-configure.ac.diff \
patch_python-keybinder_Makefile.am.diff
configure.cmd ./autogen.sh
configure.args --disable-silent-rules \
--enable-gtk-doc \
--disable-lua
if {${name} eq ${subport}} {
configure.args-append --disable-python
gobject_introspection yes
}
set python.versions {27}
foreach v ${python.versions} {
set python.version ${v}
set python.branch [string range ${python.version} 0 end-1].[string index ${python.version} end]
set python.bin ${prefix}/bin/python${python.branch}
set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
subport py${python.version}-keybinder {
depends_lib-append port:${name} \
port:python${python.version} \
port:py${python.version}-gobject \
port:py${python.version}-pygtk
configure.args-append --enable-python \
PYGOBJECT_CODEGEN=${python.prefix}/bin/pygtk-codegen-2.0
configure.python ${python.bin}
configure.pkg_config_path ${python.prefix}/lib/pkgconfig
build.dir ${worksrcpath}/python-keybinder
}
}
You can’t perform that action at this time.