source: trunk/dports/textproc/bibledit/Portfile @ 120912

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

git, git-core: update to version 2.0.0; rename to git (closes #37279) and update all dependent ports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 120912 2014-06-11 13:10:52Z ciserlohn@macports.org $
2
3PortSystem        1.0
4
5name              bibledit
6version           4.8
7revision          1
8categories        textproc
9maintainers       nomaintainer
10platforms         darwin
11
12description       A USFM text editor for Bible translators using Linux and Mac OS X.
13
14long_description  Bibledit is a USFM text editor that works in Linux or Mac OS X \
15                  for Bible translators to create Bible text. It is unique in that \
16                  it is organized in two distinct hierarchies. One, it has sections \
17                  and paragraphs, like any other text. Second, it is made up of \
18                  books that contain chapters that contain verses.
19
20homepage          http://www.nongnu.org/bibledit/
21master_sites      http://download.savannah.gnu.org/releases/bibledit/source/gtk/ \
22                  http://download-mirror.savannah.gnu.org/releases/bibledit/source/gtk/
23
24checksums       md5 e509449e52142757c2c75af124847941 \
25                rmd160 02e628f018d075cc72ff5c2bf8fb0989e2dc63cc
26
27depends_build   port:pkgconfig
28depends_lib     port:gtk2  \
29                port:sqlite3 \
30                port:git \
31                port:enchant \
32                port:nspr \
33                port:gtksourceview2 \
34                port:libsoup \
35                path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
36
37distname                        ${name}-gtk-${version}
38worksrcdir                      ${name}-gtk-${version}
39
40# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
41platform darwin {
42    set cxxstdlib {}
43
44    if {[info exists configure.cxx_stdlib] &&
45        ${configure.cxx_stdlib} ne {} &&
46        [string match *clang* ${configure.cxx}]} {
47        set cxxstdlib ${configure.cxx_stdlib}
48    } elseif {[string match *clang* ${configure.cxx}] &&
49              ${os.major} >= 13} {
50        set cxxstdlib libc++
51    } else {
52        set cxxstdlib libstdc++
53    }
54
55    if {${cxxstdlib} eq "libstdc++"} {
56       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
57       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
58    }
59}
Note: See TracBrowser for help on using the repository browser.