# $Id: Portfile 115137 2013-12-26 02:12:09Z jeremyhu@macports.org $ PortSystem 1.0 name bibledit version 4.8 categories textproc maintainers nomaintainer platforms darwin description A USFM text editor for Bible translators using Linux and Mac OS X. long_description Bibledit is a USFM text editor that works in Linux or Mac OS X \ for Bible translators to create Bible text. It is unique in that \ it is organized in two distinct hierarchies. One, it has sections \ and paragraphs, like any other text. Second, it is made up of \ books that contain chapters that contain verses. homepage http://www.nongnu.org/bibledit/ master_sites http://download.savannah.gnu.org/releases/bibledit/source/gtk/ \ http://download-mirror.savannah.gnu.org/releases/bibledit/source/gtk/ checksums md5 e509449e52142757c2c75af124847941 \ rmd160 02e628f018d075cc72ff5c2bf8fb0989e2dc63cc depends_build port:pkgconfig depends_lib port:gtk2 \ port:sqlite3 \ port:git-core \ port:enchant \ port:nspr \ port:gtksourceview2 \ port:libsoup \ path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk distname ${name}-gtk-${version} worksrcdir ${name}-gtk-${version} # TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released platform darwin { set cxxstdlib {} if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} { set cxxstdlib ${configure.cxx_stdlib} } elseif {[string match *clang* ${configure.cxx}] && ${os.major} >= 13} { set cxxstdlib libc++ } else { set cxxstdlib libstdc++ } if {${cxxstdlib} eq "libstdc++"} { depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0 } }