Ticket #20814: Porfile-kile-devel.diff

File Porfile-kile-devel.diff, 1.8 KB (added by nicos_pavlov@…, 15 years ago)
  • Portfile

    old new  
    22# $Id: Portfile 54950 2009-08-04 23:18:52Z ryandesign@macports.org $
    33
    44PortSystem          1.0
     5PortGroup           cmake 1.0
    56
    67name                kile-devel
    7 version             2.1b1
     8version             2.1b2
    89categories          tex
    910maintainers         users.sourceforge.net:nicos_pavlov
    1011
     
    1819platforms           darwin
    1920master_sites        sourceforge:kile
    2021distname            kile-${version}
    21 checksums           md5 9e181c43e8b07e5ed26ab13b716bfc6d
     22checksums           md5     1fa720754e199037f6b47e541df767ff \
     23                    sha1    750264405615b3c863bb8420f759d2d345856042 \
     24                    rmd160  3b73bfe0b0d15690abdcb0e9a9b44327caa5047e
    2225
    2326use_bzip2           yes
    2427
    25 depends_build       port:cmake \
    26                     port:automoc
     28depends_build-append       port:automoc
    2729
    28 depends_lib         port:kdelibs4 \
    29                     port:kdegraphics4
    30 
    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"
     30depends_lib-append         port:kdelibs4 \
     31                           port:kdegraphics4
    3432
    3533post-destroot {
    3634    xinstall -d ${destroot}${applications_dir}
    37     copy "${destroot}${prefix}/bin/kile.app" ${destroot}${applications_dir}
     35    move "${destroot}/Applications/KDE4/kile.app" ${destroot}${applications_dir}
     36    copy "${destroot}${prefix}/bin/kile.app/Contents/Resources" "${destroot}${applications_dir}/kile.app/Contents"
    3837    file attributes ${destroot}${prefix}/share/apps/kile -permissions ugo+w
    3938}
    4039
    41 variant debug description {Add debug support} {
    42     configure.args-append "-DCMAKE_BUILD_TYPE=\"Debug\" "
    43 }
    44