Ignore:
Timestamp:
Nov 26, 2008, 9:10:42 PM (11 years ago)
Author:
illogic-al@…
Message:

Update portfiles to a) use ${prefix} b) use distfiles and checksums c) look prettier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/kdepimlibs4/Portfile

    r42545 r42616  
    22
    33PortSystem          1.0
     4
    45name                kdepimlibs4
    56version             4.1.3
     
    910description         KDE4 core PIM libraries
    1011long_description    Core libraries necessary for Personal Information Management (PIM) in KDE4
     12platforms           darwin
    1113homepage            http://www.kde.org
    12 platforms           darwin
    13 master_sites        http://anonsvn.kde.org/
    14 distname            kdepimlibs
    15 
    16 fetch.type          svn
    17 svn.url             svn://anonsvn.kde.org/home/kde/tags/KDE/${version}/${distname}
     14master_sites        http://ftp.kde.org/stable/${version}/src/
     15use_bzip2           yes
     16distname            kdepimlibs-${version}
     17distfiles           ${distname}.tar.bz2
     18checksums           md5 e6db27f7074d31cdad26fb705ece2825
    1819
    1920depends_lib         port:kdelibs4 \
     
    2425
    2526use_parallel_build  yes
     27worksrcdir          build
     28pre-configure       { file mkdir ${worksrcpath} }
    2629
    27 worksrcdir      build
    28 
    29 pre-configure { file mkdir ${worksrcpath} }
    30 
    31 configure.cmd           cmake
    32 
    33 configure.args  ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \
     30configure.cmd       cmake
     31configure.ccache    no
     32configure.args  ../${distname} -DBUILD_SHARED_LIBS=ON \
    3433                -DCMAKE_VERBOSE_MAKEFILE=ON \
    3534                -DCMAKE_BUILD_TYPE=Release \
    36                 -DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \
     35                -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
    3736                -DCMAKE_INSTALL_PREFIX=${prefix} \
    3837                -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
    3938                -DPHONON_INCLUDE_DIR=${prefix}/include \
    4039                -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \
    41         -DCMAKE_OSX_SYSROOT=${sysroot} \
    42                 -Wno-dev 
     40                -DCMAKE_OSX_SYSROOT=${sysroot} \
     41                -Wno-dev
    4342
    4443variant universal description "Compile for ppc and intel architectures" {
     
    4847
    4948variant debug description "Enable debug binaries" {
    50         configure.args-delete           -DCMAKE_BUILD_TYPE=Release
    51         configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
    52 
     49        configure.args-delete           -DCMAKE_BUILD_TYPE=Release
     50        configure.args-append           -DCMAKE_BUILD_TYPE=debugFull
    5351}
Note: See TracChangeset for help on using the changeset viewer.