Ticket #20079: Portfile-kile-devel.diff

File Portfile-kile-devel.diff, 1.1 KB (added by nerdling (Jeremy Lavergne), 15 years ago)

how's this look for the cmake portgroup?

  • Portfile

     
    22# $Id$
    33
    44PortSystem          1.0
     5PortGroup           cmake 1.0
    56
    67name                kile-devel
    78version             2.1b1
     
    2223
    2324use_bzip2           yes
    2425
    25 depends_build       port:cmake \
    26                     port:automoc
     26depends_build       port:automoc
    2727
    2828depends_lib         port:kdelibs4 \
    2929                    port:kdegraphics4
    3030
    31 configure.pre_args  "-DCMAKE_INSTALL_PREFIX=${prefix} -DQT_QMAKE_EXECUTABLE=${prefix}/bin/qmake-mac"
    32 configure.args      "-DCMAKE_INCLUDE_PATH=${prefix}/include -DCMAKE_LIBRARY_PATH=${prefix}/lib"
    33 configure.cmd       "${prefix}/bin/cmake"
     31configure.pre_args-append  "-DQT_QMAKE_EXECUTABLE=${prefix}/bin/qmake-mac"
    3432
    3533post-destroot {
    3634    xinstall -d ${destroot}${applications_dir}
     
    3836    file attributes ${destroot}${prefix}/share/apps/kile -permissions ugo+w
    3937}
    4038
    41 variant debug description {Add debug support} {
    42     configure.args-append "-DCMAKE_BUILD_TYPE=\"Debug\" "
    43 }
    44