source: trunk/dports/textproc/translate-shell/Portfile @ 137782

Last change on this file since 137782 was 137782, checked in by ryandesign@…, 5 years ago

translate-shell: supported_archs noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 137782 2015-06-19 14:48:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        soimort translate-shell 0.9.0.7 v
8categories          textproc
9maintainers         chunyang openmaintainer
10supported_archs     noarch
11
12description         Google Translate to serve as a command-line tool
13long_description    ${name} is a command-line translator powered by \
14                    Google Translate.
15
16platforms           darwin
17license             public-domain
18
19homepage            http://www.soimort.org/translate-shell/
20
21checksums           rmd160  baf28edaa59b8501537d96175f80a327493aea2a \
22                    sha256  9bfd8a33029e9b764381e8673639628de01d9dac0a3a0934dcf24b5553d56143
23
24depends_build       port:gawk
25
26depends_run         port:gawk
27
28use_configure       no
29
30build.target        release
31build.env           PREFIX=${prefix}
32
33destroot {
34    xinstall -m 755 ${worksrcpath}/build/trans ${destroot}${prefix}/bin/
35    xinstall -m 644 ${worksrcpath}/man/trans.1 \
36        ${destroot}${prefix}/share/man/man1/
37    # install additional documents
38    set docdir ${prefix}/share/doc/${name}
39    xinstall -d ${destroot}${docdir}
40    xinstall -m 644 -W ${worksrcpath} \
41        README.md LICENSE DISCLAIMER WAIVER  CONTRIBUTING.md \
42        ${destroot}${docdir}
43}
Note: See TracBrowser for help on using the repository browser.