source: trunk/dports/python/py25-sip/Portfile @ 54879

Last change on this file since 54879 was 54879, checked in by macsforever2000@…, 11 years ago

Update to version 4.8.2. Set to openmaintainer. (#20481)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 54879 2009-08-03 15:43:19Z macsforever2000@macports.org $
2
3PortSystem 1.0
4
5name                    py25-sip
6version                 4.8.2
7platforms               macosx
8categories              python devel
9maintainers             saispo openmaintainer
10description             create Python bindings for C and C++ libraries
11long_description        SIP is a tool that makes it very easy to create \
12                                Python bindings for C and C++ libraries. \
13                                It was originally developed to create PyQt, \
14                                the Python bindings for the Qt toolkit, \
15                                but can be used to create bindings for any \
16                                C or C++ library.
17
18homepage        http://www.riverbankcomputing.co.uk/software/sip/intro
19master_sites    http://www.riverbankcomputing.com/static/Downloads/sip4/ \
20                http://gentoo.mirrors.easynews.com/linux/gentoo/distfiles/ \
21                http://gentoo.osuosl.org/distfiles/ \
22                http://www.gtlib.gatech.edu/pub/gentoo/distfiles/
23
24distname        sip-${version}
25checksums       md5    7ae60712aa6b4095a8cdab11b437f8f0 \
26                        sha1   0364027c34eb69ce8c51d316c68f10a02a42d036 \
27                        rmd160 5b390d09a5b1a5e5fbf29d245aee8543397a1f19
28dist_subdir     python
29
30depends_lib     port:python25
31
32configure.cmd   ${prefix}/bin/python2.5 configure.py
33configure.pre_args  -d ${prefix}/lib/python2.5/site-packages \
34                                -e ${prefix}/include/python2.5 \
35                                -v ${prefix}/share/sip \
36                                -p macx-g++
37configure.post_args     LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
38
39test.run        yes
40test.cmd        cd siplib && ${prefix}/bin/python2.5 -c 'import sip'
41
42post-destroot {
43        xinstall -m 755 -d ${destroot}${prefix}/share/doc
44        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
45        xinstall -m 644 -W ${worksrcpath} LICENSE NEWS README \
46                ${destroot}${prefix}/share/doc/${name}
47        system "${prefix}/bin/python2.5 ${prefix}/lib/python2.5/compileall.py ${destroot}${prefix}"
48        system "${prefix}/bin/python2.5 -O ${prefix}/lib/python2.5/compileall.py ${destroot}${prefix}"
49}
Note: See TracBrowser for help on using the repository browser.