source: trunk/dports/textproc/bibledit/Portfile

Last change on this file was 127373, checked in by devans@…, 3 years ago

bibledit: apply upstream patches to fix build on Mavericks, Yosemite, update desktop database post-activate, livecheck (#45607).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 127373 2014-10-26 14:13:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                bibledit
7set gname           bibledit-gtk
8version             4.8
9revision            2
10categories          textproc
11license             GPL-3+
12maintainers         nomaintainer
13platforms           darwin
14
15description         A USFM text editor for Bible translators using Linux and Mac OS X.
16
17long_description    Bibledit is a USFM text editor that works in Linux or Mac OS X \
18                    for Bible translators to create Bible text. It is unique in that \
19                    it is organized in two distinct hierarchies. One, it has sections \
20                    and paragraphs, like any other text. Second, it is made up of \
21                    books that contain chapters that contain verses.
22
23homepage            http://www.nongnu.org/bibledit/
24master_sites        http://download.savannah.gnu.org/releases/bibledit/source/gtk/ \
25                    http://download-mirror.savannah.gnu.org/releases/bibledit/source/gtk/
26
27checksums           md5 e509449e52142757c2c75af124847941 \
28                    rmd160 02e628f018d075cc72ff5c2bf8fb0989e2dc63cc
29
30depends_build       port:pkgconfig \
31                    bin:merge:rcs
32
33depends_lib         port:desktop-file-utils \
34                    port:gtk2  \
35                    port:sqlite3 \
36                    port:git \
37                    port:enchant \
38                    port:nspr \
39                    port:gtksourceview2 \
40                    port:libsoup \
41                    path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
42
43distname            ${gname}-${version}
44worksrcdir          ${gname}-${version}
45
46patchfiles          patch-src-keyterms.cpp.diff
47
48platform darwin {
49    if {${configure.cxx_stdlib} eq "libstdc++"} {
50       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
51       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
52    }
53}
54
55post-activate {
56        system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
57}
58
59livecheck.type      regex
60livecheck.url       [lindex ${master_sites} 0]
61livecheck.regex     "${gname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.