# -*- 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 java 1.0 name zanata-cli version 4.6.2 categories devel platforms any supported_archs noarch license LGPL-2.1+ maintainers {l2dy @l2dy} openmaintainer description Zanata Java command-line client long_description {*}${description}. Zanata is a web-based system for \ translators to translate documentation and software \ online using a web browser. homepage https://github.com/zanata/zanata-platform master_sites https://search.maven.org/remotecontent?filepath=org/zanata/zanata-cli/${version} extract.suffix -dist.tar.gz checksums rmd160 cbb4088aba89ad708e02ea11d72f974f45614845 \ sha256 6d4bac8c5b908abf734ff23e0aca9b05f4bc13e66588c526448f241d90473132 \ size 16985975 java.version 1.8+ java.fallback openjdk8 use_configure no build {} destroot { file attributes ${worksrcpath}/bin/zanata-cli -permissions 0755 xinstall -m 755 -d ${destroot}${prefix}/share/java copy ${worksrcpath}/ ${destroot}${prefix}/share/java/${name} ln -s ${prefix}/share/java/${name}/bin/zanata-cli ${destroot}${prefix}/bin/zanata-cli set completions_path ${destroot}${prefix}/share/bash-completion/completions xinstall -d ${completions_path} xinstall -m 644 ${worksrcpath}/bin/zanata-cli-completion ${completions_path}/zanata-cli }