[137662] trunk/dports/textproc
chunyang at macports.org
chunyang at macports.org
Tue Jun 16 11:08:02 PDT 2015
Revision: 137662
https://trac.macports.org/changeset/137662
Author: chunyang at macports.org
Date: 2015-06-16 11:08:02 -0700 (Tue, 16 Jun 2015)
Log Message:
-----------
translate-shell: new port, a command-line program for Google Translate
Added Paths:
-----------
trunk/dports/textproc/translate-shell/
trunk/dports/textproc/translate-shell/Portfile
Added: trunk/dports/textproc/translate-shell/Portfile
===================================================================
--- trunk/dports/textproc/translate-shell/Portfile (rev 0)
+++ trunk/dports/textproc/translate-shell/Portfile 2015-06-16 18:08:02 UTC (rev 137662)
@@ -0,0 +1,41 @@
+# -*- 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
+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}
+}
Property changes on: trunk/dports/textproc/translate-shell/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150616/33dbd8fc/attachment-0001.html>
More information about the macports-changes
mailing list