# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup soimort translate-shell 0.9.0.7 v categories textproc maintainers chunyang openmaintainer supported_archs noarch description Google Translate to serve as a command-line tool long_description ${name} is a command-line translator powered by \ Google Translate. platforms darwin license public-domain homepage http://www.soimort.org/translate-shell/ checksums rmd160 baf28edaa59b8501537d96175f80a327493aea2a \ sha256 9bfd8a33029e9b764381e8673639628de01d9dac0a3a0934dcf24b5553d56143 depends_build port:gawk depends_run port:gawk use_configure no build.target release build.env PREFIX=${prefix} destroot { xinstall -m 755 ${worksrcpath}/build/trans ${destroot}${prefix}/bin/ xinstall -m 644 ${worksrcpath}/man/trans.1 \ ${destroot}${prefix}/share/man/man1/ # install additional documents set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ README.md LICENSE DISCLAIMER WAIVER CONTRIBUTING.md \ ${destroot}${docdir} }