Ticket #30214: Portfile

File Portfile, 1.6 KB (added by nicos_pavlov@…, 13 years ago)

New kde4-kile port

Line 
1PortSystem          1.0
2PortGroup           kde4 1.1
3
4name                kde4-kile
5version             2.1
6categories          tex kde kde4
7maintainers         users.sourceforge.net:nicos_pavlov openmaintainer
8
9description         KDE Integrated LaTeX Environment
10long_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
15conflicts           kile-devel
16
17homepage            http://kile.sourceforge.net/
18platforms           darwin
19master_sites        sourceforge:kile
20distname            kile-${version}
21
22checksums           sha1    860ac96b68b6026f48b8a9c401c6024ba78e3cdf \
23                    rmd160  75592d6ccbd70d6d51de9313cb2812be12db6497
24
25use_bzip2           yes
26
27depends_lib-append  port:kdelibs4 \
28                    port:kate
29
30depends_run-append  port:okular
31
32patchfiles          patch-kilestdtools.rc.macports.diff \
33                    patch-runTests.sh.macports.diff
34
35pre-configure {
36  reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/data/kilestdtools.rc
37  reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/data/kilestdtools.rc
38  reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/test/runTests.sh
39  reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/test/runTests.sh
40}
41
42variant texbin description "change support of kile for MacTeX TeXLive in texbin" {
43  patchfiles          patch-kilestdtools.rc.texbin.diff \
44                      patch-runTests.sh.texbin.diff
45}