# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup qmake5 1.0 epoch 1 github.setup goldendict goldendict 1.5.0 revision 0 checksums rmd160 be6a97dfe705a637f0e7bb86514ce5faf4fe960d \ sha256 d9ddaca3abc6fced591ecd6060066891a70e672fd687a7c676135b273bf90a67 \ size 20371056 # FIXME: add proper categories categories office maintainers {ryandesign @ryandesign} openmaintainer license GPL-3+ description Dictionary lookup program long_description A feature-rich dictionary lookup program, \ supporting multiple dictionary formats \ (StarDict/Babylon/Lingvo/Dictd) and online \ dictionaries, featuring perfect article \ rendering with the complete markup, \ illustrations and other content retained, \ and allowing you to type in words without \ any accents or correct case. homepage http://goldendict.org/ depends_lib-append port:bzip2 \ port:eb \ path:lib/libavcodec.dylib:ffmpeg \ port:hunspell \ port:libao \ port:libogg \ port:libvorbis \ port:libiconv \ port:lzo2 \ port:opencc \ port:zlib \ port:zstd post-extract { delete ${worksrcpath}/maclibs ${worksrcpath}/winlibs } patchfiles patch-goldendict.pro.diff \ patch-epwing_book.cc.diff \ patch-epwing_book.hh.diff \ patch-tiff.cc.diff qt5.depends_component qtwebkit qt5.depends_build_component qttools configure.args-append goldendict.pro post-patch { reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/goldendict.pro } destroot { copy ${worksrcpath}/GoldenDict.app ${destroot}${applications_dir} } github.livecheck.regex {([0-9.]+)}