Changeset 20264


Ignore:
Timestamp:
Oct 31, 2006, 10:48:09 PM (14 years ago)
Author:
blair@…
Message:

Whitespace cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyqt3/Portfile

    r20263 r20264  
    11# $Id$
    22
    3 PortSystem      1.0
    4 name                py-pyqt3
    5 version             3.16
    6 revision                1
    7 platforms       macosx
    8 categories          python devel
    9 maintainers         darwinports@opendarwin.org
    10 description      PyQt is a set of Python bindings for the Qt toolkit
    11 long_description PyQt is a set of Python bindings for the Qt toolkit. The bindings \
    12                  are implemented as a set of Python modules: qt, qtcanvas, qtgl, \
    13                  qtnetwork, qtsql, qttable, qtui and qtxml, and contains 300 \
    14                  classes and over 5,750 functions and methods.
    15 homepage         http://www.riverbankcomputing.co.uk/pyqt/index.php
     3PortSystem      1.0
     4name            py-pyqt3
     5version         3.16
     6revision        1
     7platforms       macosx
     8categories      python devel
     9maintainers     darwinports@opendarwin.org
     10description     PyQt is a set of Python bindings for the Qt toolkit
     11long_description \
     12                PyQt is a set of Python bindings for the Qt toolkit. The \
     13                bindings are implemented as a set of Python modules: qt, \
     14                qtcanvas, qtgl, qtnetwork, qtsql, qttable, qtui and qtxml, \
     15                and contains 300 classes and over 5,750 functions and methods.
     16homepage        http://www.riverbankcomputing.co.uk/pyqt/index.php
    1617master_sites    http://www.riverbankcomputing.com/Downloads/PyQt3/GPL/
    17 distname        PyQt-mac-gpl-${version}
     18distname        PyQt-mac-gpl-${version}
    1819
    1920checksums       md5 46deec16bad11e3f216b19fd5e3d1f9b \
     
    2122                rmd160 8bd8c70bf3737988ed0570de140a48b66ce0ec22
    2223
    23 depends_lib     port:py-sip \
    24                 port:qt3-mac
    25                
    26 patchfiles      patch-configure.py             
     24depends_lib     port:py-sip port:qt3-mac
    2725
    28 pre-configure   {
    29                     file copy -force ${prefix}/share/qt3/mkspecs/macx-g++/qmake.conf \
    30                         ${worksrcpath}/qmake.conf
    31                        
    32                     reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \
    33                         ${worksrcpath}/qmake.conf
    34                 }
     26patchfiles      patch-configure.py
    3527
    36 configure.cmd   "echo yes | ${prefix}/bin/python configure.py \
    37                      -g ${prefix}/include/qt3 -q ${prefix} -y qt-mt"
     28pre-configure {
     29        file copy -force ${prefix}/share/qt3/mkspecs/macx-g++/qmake.conf \
     30                ${worksrcpath}/qmake.conf
     31
     32        reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \
     33                ${worksrcpath}/qmake.conf
     34}
     35
     36configure.cmd   "echo yes | ${prefix}/bin/python configure.py \
     37                        -g ${prefix}/include/qt3 -q ${prefix} -y qt-mt"
    3838configure.pre_args
    3939configure.post_args     LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
     
    4343
    4444post-destroot {
    45                        xinstall -m 755 -d ${destroot}/${prefix}/share/doc
    46                        file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
    47                        file copy ${worksrcpath}/examples2 ${destroot}/${prefix}/share/doc/${name}
    48                        file copy ${worksrcpath}/examples3 ${destroot}/${prefix}/share/doc/${name}
    49                        xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE NEWS README THANKS \
    50                               ${destroot}${prefix}/share/doc/${name}
    51               }
     45        xinstall -m 755 -d ${destroot}/${prefix}/share/doc
     46        file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
     47        file copy ${worksrcpath}/examples2 \
     48                ${destroot}/${prefix}/share/doc/${name}
     49        file copy ${worksrcpath}/examples3 \
     50                ${destroot}/${prefix}/share/doc/${name}
     51        xinstall -m 644 -W ${worksrcpath} \
     52                ChangeLog LICENSE NEWS README THANKS \
     53                ${destroot}${prefix}/share/doc/${name}
     54}
Note: See TracChangeset for help on using the changeset viewer.