You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
72 lines
2.3 KiB
Tcl
72 lines
2.3 KiB
Tcl
# -*- 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 deprecated 1.0
|
|
|
|
name py-orbit
|
|
set my_name pyorbit
|
|
version 2.24.0
|
|
revision 1
|
|
|
|
set branch [join [lrange [split $version .] 0 1] .]
|
|
categories python gnome
|
|
license LGPL-2.1+
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
|
|
description Python binding for the ORBit2 CORBA ORB - Default branch.
|
|
long_description PyORBit is a Python binding for the ORBit2 CORBA ORB. It \
|
|
was developped to suit the needs of the bonobo bindings \
|
|
in GNOME-Python, but is usable for other purposes as well. \
|
|
It aims to follow the standard Python language mapping for \
|
|
CORBA. It can generate stubs at runtime from typelibs, IDL \
|
|
files, or by introspecting remote objects using ORBit2's \
|
|
IModule typelib capabilities.
|
|
|
|
homepage http://www.pygtk.org/
|
|
master_sites gnome:sources/${my_name}/${branch}/
|
|
use_bzip2 yes
|
|
distname ${my_name}-${version}
|
|
|
|
checksums rmd160 55aa1c3ac0739d398d8e9bbda93ef36f7c659360 \
|
|
sha256 8754669b8220aa1f151b920360029d5ea28c42bec55769059676725fe28397b8 \
|
|
size 293054
|
|
|
|
subport py27-orbit {
|
|
set pyversion 2.7
|
|
}
|
|
|
|
deprecated.upstream_support no
|
|
|
|
if {${subport} ne ${name}} {
|
|
depends_build-append \
|
|
port:pkgconfig
|
|
|
|
depends_lib-append port:orbit2 \
|
|
port:python[string map {. {}} ${pyversion}]
|
|
|
|
set python.prefix ${frameworks_dir}/Python.framework/Versions/${pyversion}
|
|
|
|
patchfiles patch-configure.diff
|
|
post-patch {
|
|
reinplace "s|@@PYTHON_PREFIX@@|${python.prefix}|g" ${worksrcpath}/configure
|
|
}
|
|
|
|
configure.args --includedir=${python.prefix}/include/python${pyversion}
|
|
configure.python ${prefix}/bin/python${pyversion}
|
|
|
|
build.args PYTHON_LDFLAGS= PYTHON_LIBS=
|
|
|
|
post-destroot {
|
|
move ${destroot}${prefix}/lib/pkgconfig ${destroot}${python.prefix}/lib
|
|
}
|
|
livecheck.type none
|
|
} else {
|
|
PortGroup stub 1.0
|
|
|
|
depends_lib port:py27-orbit
|
|
|
|
livecheck.type gnome
|
|
livecheck.name ${my_name}
|
|
}
|