# -*- 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
github.setup vslavik poedit 2.1.1 v -oss
maintainers {l2dy @l2dy} openmaintainer
description Gettext translations editor
long_description This program is GUI frontend to GNU gettext utilities \
and catalogs editor/source code parser.
homepage https://poedit.net/
depends_build port:gsed \
if {${os.platform} eq "darwin" && ${os.major} < 15} {
ui_error "${name} @${version} requires OS X 10.11 or later."
return -code error "incompatible OS X version"
system -W ${worksrcpath} "git submodule update --init"
patchfiles patch-deps-tool-path.diff \
patch-remove-sparkle.diff
if {${configure.sdkroot} eq ""} {
patchfiles-append patch-deps-sdkroot.diff
reinplace -W "${worksrcpath}" "s|@@PREFIX@@|${prefix}|g" \
deps/build.vars.ninja deps/build_deps.sh
xcode.configuration "Release"
build.pre_args -workspace Poedit2.xcworkspace \
-derivedDataPath ./DerivedData
copy ${worksrcpath}/build/Release/Poedit.app ${destroot}${applications_dir}