source: trunk/dports/tex/kile-devel/Portfile @ 54950

Last change on this file since 54950 was 54950, checked in by ryandesign@…, 11 years ago

kile-devel: use ${prefix}; see #20079

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 54950 2009-08-04 23:18:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                kile-devel
7version             2.1b1
8categories          tex
9maintainers         users.sourceforge.net:nicos_pavlov
10
11description         KDE Integrated LaTeX Environment
12long_description    Kile is a user friendly TeX/LaTeX editor for the KDE \
13                    desktop environment. KDE is available for many \
14                    architectures such as PC, PowerPC (Mac for example) and \
15                    SPARC.
16
17homepage            http://kile.sourceforge.net/
18platforms           darwin
19master_sites        sourceforge:kile
20distname            kile-${version}
21checksums           md5 9e181c43e8b07e5ed26ab13b716bfc6d
22
23use_bzip2           yes
24
25depends_build       port:cmake \
26                    port:automoc
27
28depends_lib         port:kdelibs4 \
29                    port:kdegraphics4
30
31configure.pre_args  "-DCMAKE_INSTALL_PREFIX=${prefix} -DQT_QMAKE_EXECUTABLE=${prefix}/bin/qmake-mac"
32configure.args      "-DCMAKE_INCLUDE_PATH=${prefix}/include -DCMAKE_LIBRARY_PATH=${prefix}/lib"
33configure.cmd       "${prefix}/bin/cmake"
34
35post-destroot {
36    xinstall -d ${destroot}${applications_dir}
37    copy "${destroot}${prefix}/bin/kile.app" ${destroot}${applications_dir}
38    file attributes ${destroot}${prefix}/share/apps/kile -permissions ugo+w
39}
40
41variant debug description {Add debug support} {
42    configure.args-append "-DCMAKE_BUILD_TYPE=\"Debug\" "
43}
44
Note: See TracBrowser for help on using the repository browser.