Ignore:
Timestamp:
Dec 7, 2010, 3:27:51 PM (9 years ago)
Author:
michaelld@…
Message:

KDE 1.1 PortGroup:

  • Make sure the build.dir is set for destroot, in case the user is installing by stages.
  • Add extra comments on the build.dir.
  • Fix spacing of Phonon reinplace.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/kde4-1.1.tcl

    r72552 r74206  
    3838PortGroup               qt4 1.0
    3939
     40# build in a separate directory; have to put these into phases because
     41# ${distname} and ${workpath} are not necessarily defined at the
     42# top-level while they are guaranteed to be by the pre-fetch phase.
     43
    4044# setup all KDE4 ports to build in a separate directory from the source;
    4145# this setting must be the full directory path
    4246post-extract            { file mkdir ${workpath}/build }
    4347
     48# Have to set for configure, build, and destroot phases only.
    4449pre-configure {
    4550    # standard post-arg, where to find the primary CMakeLists.txt file.
     
    4752    configure.dir       ${workpath}/build
    4853}
    49 
    5054pre-build {
     55    build.dir           ${workpath}/build
     56}
     57pre-destroot {
    5158    build.dir           ${workpath}/build
    5259}
     
    7986    # ...phonon... in all files that contain that header.
    8087    fs-traverse item ${workpath}/${distname} {
    81         if {[file isfile ${item}]} {
    82            reinplace "/#include/s@Phonon@phonon@" ${item}
    83         }
     88        if {[file isfile ${item}]} {
     89            reinplace "/#include/s@Phonon@phonon@" ${item}
     90        }
    8491    }
    8592}
Note: See TracChangeset for help on using the changeset viewer.