Ticket #20079: Portfile

File Portfile, 1.2 KB (added by nicos_pavlov@…, 15 years ago)

portfile for kile21

Line 
1# $Id:$
2
3PortSystem          1.0
4
5name                kile21
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_lib         port:kdelibs4 \
24                    port:kdegraphics4
25
26configure.pre_args  "-DCMAKE_INSTALL_PREFIX=/opt/local"
27configure.args  "-DCMAKE_INCLUDE_PATH=/opt/local/include -DCMAKE_LIBRARY_PATH=/opt/local/lib"
28configure.cmd   "${prefix}/bin/cmake"
29
30post-destroot {
31    xinstall -d ${destroot}${applications_dir}
32    copy "${destroot}${prefix}/bin/kile.app" ${destroot}${applications_dir}
33    file attributes ${destroot}${prefix}/share/apps/kile -permissions ugo+w
34}
35
36variant debug description {Add debug support} {
37        configure.args-append "-DCMAKE_BUILD_TYPE=\"Debug\" "
38}