1 | PortSystem 1.0 |
---|
2 | PortGroup kde4 1.1 |
---|
3 | |
---|
4 | name kde4-kile |
---|
5 | version 2.1 |
---|
6 | categories tex kde kde4 |
---|
7 | maintainers users.sourceforge.net:nicos_pavlov openmaintainer |
---|
8 | |
---|
9 | description KDE Integrated LaTeX Environment |
---|
10 | long_description Kile is a user friendly TeX/LaTeX editor for the KDE \ |
---|
11 | desktop environment. KDE is available for many \ |
---|
12 | architectures such as PC, PowerPC (Mac for example) and \ |
---|
13 | SPARC. |
---|
14 | |
---|
15 | conflicts kile-devel |
---|
16 | |
---|
17 | homepage http://kile.sourceforge.net/ |
---|
18 | platforms darwin |
---|
19 | master_sites sourceforge:kile |
---|
20 | distname kile-${version} |
---|
21 | |
---|
22 | checksums sha1 860ac96b68b6026f48b8a9c401c6024ba78e3cdf \ |
---|
23 | rmd160 75592d6ccbd70d6d51de9313cb2812be12db6497 |
---|
24 | |
---|
25 | use_bzip2 yes |
---|
26 | |
---|
27 | depends_lib-append port:kdelibs4 \ |
---|
28 | port:kate |
---|
29 | |
---|
30 | depends_run-append port:okular \ |
---|
31 | port:texlive-basic \ |
---|
32 | port:texlive-latex \ |
---|
33 | port:texlive-bin-extra \ |
---|
34 | port:ImageMagick \ |
---|
35 | port:ghostscript \ |
---|
36 | port:kde4-baseapps |
---|
37 | |
---|
38 | patchfiles patch-kilestdtools.rc.macports.diff \ |
---|
39 | patch-runTests.sh.macports.diff |
---|
40 | |
---|
41 | pre-configure { |
---|
42 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/data/kilestdtools.rc |
---|
43 | reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/data/kilestdtools.rc |
---|
44 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/test/runTests.sh |
---|
45 | reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/test/runTests.sh |
---|
46 | } |
---|
47 | |
---|
48 | variant texbin description "change support of kile for MacTeX TeXLive in texbin" { |
---|
49 | depends_run-delete port:texlive-basic \ |
---|
50 | port:texlive-latex \ |
---|
51 | port:texlive-bin-extra \ |
---|
52 | |
---|
53 | patchfiles patch-kilestdtools.rc.texbin.diff \ |
---|
54 | patch-runTests.sh.texbin.diff |
---|
55 | } |
---|