1 | # $Id:$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name kile21 |
---|
6 | version 2.1b1 |
---|
7 | categories tex |
---|
8 | maintainers users.sourceforge.net:nicos_pavlov |
---|
9 | |
---|
10 | description KDE Integrated LaTeX Environment |
---|
11 | long_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 | |
---|
15 | homepage http://kile.sourceforge.net/ |
---|
16 | platforms darwin |
---|
17 | master_sites sourceforge:kile |
---|
18 | distname kile-${version} |
---|
19 | checksums md5 9e181c43e8b07e5ed26ab13b716bfc6d |
---|
20 | |
---|
21 | use_bzip2 yes |
---|
22 | |
---|
23 | depends_build port:cmake \ |
---|
24 | port:automoc |
---|
25 | |
---|
26 | depends_lib port:kdelibs4 \ |
---|
27 | port:kdegraphics4 |
---|
28 | |
---|
29 | configure.pre_args "-DCMAKE_INSTALL_PREFIX=/opt/local" |
---|
30 | configure.args "-DCMAKE_INCLUDE_PATH=/opt/local/include -DCMAKE_LIBRARY_PATH=/opt/local/lib" |
---|
31 | configure.cmd "${prefix}/bin/cmake" |
---|
32 | |
---|
33 | post-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 | |
---|
39 | variant debug description {Add debug support} { |
---|
40 | configure.args-append "-DCMAKE_BUILD_TYPE=\"Debug\" " |
---|
41 | } |
---|