source: trunk/dports/aqua/LyX/Portfile @ 112925

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

LyX: texlive doesn't provide tex; texlive-basic does

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 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 112925 2013-11-04 05:27:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           qt4 1.0
6
7name                LyX
8conflicts           LyX1
9version             2.0.6
10set branch          [join [lrange [split ${version} .] 0 1] .]
11categories          aqua
12license             GPL-2+
13maintainers         nomaintainer
14description         WYSIWYM document processor
15homepage            http://www.lyx.org/
16long_description    LyX is an advanced open source document processor \
17                    that encourages an approach to writing based on \
18                    the structure of your documents, not their \
19                    appearance. LyX lets you concentrate on writing, \
20                    leaving details of visual layout to the software.
21
22platforms           darwin
23depends_lib-append  bin:tex:texlive-basic \
24                    port:ImageMagick \
25                    port:boost
26
27use_xz              yes
28distname            lyx-${version}
29
30master_sites        http://lyx.cybermirror.org/stable/${branch}.x/ \
31                    http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/${branch}.x/ \
32                    ftp://ftp.ntua.gr/pub/X11/LyX/stable/${branch}.x/ \
33                    ftp://ftp.lyx.org/pub/lyx/stable/${branch}.x/ \
34                    http://gd.tuwien.ac.at/publishing/tex/lyx/stable/${branch}.x/
35
36checksums           rmd160  8e0e3af80726f566fdd8498f7410c36cffa6bdda \
37                    sha256  a5cb2bedee6e154b50881acd2316cf9d79162d6754e3aa159a6d579f5a828ad2
38
39patchfiles          patch-configure.diff \
40                    patch-libc++_compliance.diff
41
42configure.pre_args  --prefix=${applications_dir}/LyX.app
43configure.args      --with-frontend=qt4 --without-x --with-included-gettext --without-included-boost \
44                    --enable-optimization=-Os --disable-concept-checks \
45                    --with-version-suffix=-${branch}
46
47variant python25 conflicts python26 python27 description {Use python25} {
48    depends_build-append    port:python25
49    configure.python        ${prefix}/bin/python2.5
50}
51
52variant python26 conflicts python25 python27 description {Use python26} {
53    depends_build-append    port:python26
54    configure.python        ${prefix}/bin/python2.6
55}
56
57variant python27 conflicts python25 python26 description {Use python27} {
58    depends_build-append    port:python27
59    configure.python        ${prefix}/bin/python2.7
60}
61
62if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} {
63    default_variants +python27
64}
65
66post-configure {
67    reinplace -E \
68        "s|mkdir -p \\\$\\(pkgdatadir\\)|\
69           mkdir -p \\\$\\(DESTDIR\\)\\\$\\(pkgdatadir\\)|" \
70        ${worksrcpath}/development/MacOSX/Makefile
71}
72
73livecheck.type      regex
74livecheck.url       ${homepage}
75livecheck.regex     "${name} (\\d+\\.\\d+\\.\\d+(\\.\\d+)?) released"
Note: See TracBrowser for help on using the repository browser.