Ticket #20814: Porfile-kile-devel.diff
File Porfile-kile-devel.diff, 1.8 KB (added by nicos_pavlov@…, 15 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 54950 2009-08-04 23:18:52Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup cmake 1.0 5 6 6 7 name kile-devel 7 version 2.1b 18 version 2.1b2 8 9 categories tex 9 10 maintainers users.sourceforge.net:nicos_pavlov 10 11 … … 18 19 platforms darwin 19 20 master_sites sourceforge:kile 20 21 distname kile-${version} 21 checksums md5 9e181c43e8b07e5ed26ab13b716bfc6d 22 checksums md5 1fa720754e199037f6b47e541df767ff \ 23 sha1 750264405615b3c863bb8420f759d2d345856042 \ 24 rmd160 3b73bfe0b0d15690abdcb0e9a9b44327caa5047e 22 25 23 26 use_bzip2 yes 24 27 25 depends_build port:cmake \ 26 port:automoc 28 depends_build-append port:automoc 27 29 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" 30 depends_lib-append port:kdelibs4 \ 31 port:kdegraphics4 34 32 35 33 post-destroot { 36 34 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" 38 37 file attributes ${destroot}${prefix}/share/apps/kile -permissions ugo+w 39 38 } 40 39 41 variant debug description {Add debug support} {42 configure.args-append "-DCMAKE_BUILD_TYPE=\"Debug\" "43 }44