Ticket #20079: Portfile.2

File Portfile.2, 1.3 KB (added by nicos_pavlov@…, 15 years ago)
Line 
1# $Id:$
2
3PortSystem          1.0
4
5name                kile-devel
6version             2.1b1
7categories          tex
8maintainers         users.sourceforge.net:nicos_pavlov
9
10description         KDE Integrated LaTeX Environment
11long_description    Kile is a user friendly TeX/LaTeX editor for the KDE desktop \
12                    environment. KDE is available for many architectures such as \
13                    PC, PowerPC (Mac for example) and SPARC.
14
15homepage            http://kile.sourceforge.net/
16platforms           darwin
17master_sites        sourceforge:kile
18distname            kile-${version}
19checksums           md5 9e181c43e8b07e5ed26ab13b716bfc6d
20
21use_bzip2           yes
22
23depends_build       port:cmake \
24                    port:automoc
25
26depends_lib         port:kdelibs4 \
27                    port:kdegraphics4
28
29configure.pre_args  "-DCMAKE_INSTALL_PREFIX=/opt/local -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake-mac"
30configure.args  "-DCMAKE_INCLUDE_PATH=/opt/local/include -DCMAKE_LIBRARY_PATH=/opt/local/lib"
31configure.cmd   "${prefix}/bin/cmake"
32
33post-destroot {
34    xinstall -d ${destroot}${applications_dir}
35    copy "${destroot}${prefix}/bin/kile.app" ${destroot}${applications_dir}
36    file attributes ${destroot}${prefix}/share/apps/kile -permissions ugo+w
37}
38
39variant debug description {Add debug support} {
40        configure.args-append "-DCMAKE_BUILD_TYPE=\"Debug\" "
41}