1 | # -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup qt4 1.0 |
---|
6 | PortGroup cmake 1.0 |
---|
7 | |
---|
8 | name py27-pyside-tools |
---|
9 | version 0.2.7 |
---|
10 | #revision 1 |
---|
11 | categories python devel |
---|
12 | platforms macosx |
---|
13 | maintainers openmaintainer |
---|
14 | description PySide-tools contains build tools for the PySide Qt4 binding. |
---|
15 | long_description \ |
---|
16 | PySide-tools contains build tools for the PySide Qt4 bindings (uic, ...). |
---|
17 | homepage http://www.pyside.org/ |
---|
18 | master_sites http://www.pyside.org/files/ |
---|
19 | distname pyside-tools-${version} |
---|
20 | use_bzip2 yes |
---|
21 | dist_subdir devel |
---|
22 | |
---|
23 | checksums md5 43d31a95dfa1344095809f3176ab2cca \ |
---|
24 | sha1 e71c5f6a3688e0f11a644480dca8c62100896b1a \ |
---|
25 | rmd160 2f4f99f38d7e709ac102912fd08cdb4a57ea1c03 |
---|
26 | |
---|
27 | depends_lib-append port:py27-pyside |
---|
28 | |
---|
29 | worksrcdir ${distname}/build |
---|
30 | |
---|
31 | configure.args-append -DSITE_PACKAGE=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ .. |
---|
32 | |
---|
33 | |
---|
34 | post-extract { |
---|
35 | # Need to create the build dir: |
---|
36 | file mkdir ${worksrcpath} |
---|
37 | } |
---|
38 | |
---|
39 | set pyversion 2.7 |
---|
40 | set pyversion_join [join [split ${pyversion} "."] ""] |
---|
41 | |
---|
42 | post-destroot { |
---|
43 | reinplace "s|^#!/usr/bin/env python$|#!/usr/bin/env python${pyversion}|g" ${destroot}/opt/local/bin/pyside-uic |
---|
44 | } |
---|
45 | |
---|