source: trunk/dports/tex/kde4-kile/Portfile @ 84705

Last change on this file since 84705 was 84705, checked in by ryandesign@…, 8 years ago

kde4-kile: rewrite master_sites to avoid redirects

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 84705 2011-09-30 00:01:27Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4 1.1
6
7name                kde4-kile
8version             2.1
9categories          tex kde kde4
10platforms           darwin
11license             GPL-2+
12maintainers         nicos openmaintainer
13
14description         KDE Integrated LaTeX Environment
15long_description    Kile is a user friendly TeX/LaTeX editor for the KDE \
16                    desktop environment. KDE is available for many \
17                    architectures such as PC, PowerPC (Mac for example) and \
18                    SPARC.
19
20homepage            http://kile.sourceforge.net/
21master_sites        sourceforge:project/kile/stable/kile-${version}
22distname            kile-${version}
23
24checksums           sha1    860ac96b68b6026f48b8a9c401c6024ba78e3cdf \
25                    rmd160  75592d6ccbd70d6d51de9313cb2812be12db6497
26
27use_bzip2           yes
28
29depends_lib-append  port:kdelibs4
30
31depends_run-append  port:okular \
32                    port:kate \
33                    port:ImageMagick \
34                    port:ghostscript \
35                    port:texlive-basic \
36                    port:texlive-latex
37
38patchfiles          patch-kilestdtools.rc.macports.diff \
39                    patch-runTests.sh.macports.diff
40
41post-patch {
42    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
43    reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
44}
45
46build.asroot        yes
Note: See TracBrowser for help on using the repository browser.