Received: by mail.netbsd.org (Postfix, from userid 605) id 5744A84DA3; Sun, 3 Sep 2017 18:12:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DDE3584D97 for ; Sun, 3 Sep 2017 18:12:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id eS1wwTneABzF for ; Sun, 3 Sep 2017 18:12:27 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 5840284D28 for ; Sun, 3 Sep 2017 18:12:27 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id AF037FA97; Sun, 3 Sep 2017 18:12:18 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_150446233844430" MIME-Version: 1.0 Date: Sun, 3 Sep 2017 18:12:18 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/textproc/translate-shell To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20170903181218.AF037FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_150446233844430 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sun Sep 3 18:12:18 UTC 2017 Added Files: pkgsrc/textproc/translate-shell: DESCR Makefile PLIST distinfo Log Message: Import translate-shell-0.9.6.4 as textproc/translate-shell. Packaged for wip by Yorick Hardy and myself. Translate Shell (formerly Google Translate CLI) is a command-line translator powered by Google Translate (default), Bing Translator, and Yandex.Translate. It gives you easy access to one of these translation engines your terminal: $ trans 'Saluton, Mondo!' Saluton, Mondo! Hello, World! Translations of Saluton, Mondo! [ Esperanto -> English ] Saluton , Hello, Mondo ! World! To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/translate-shell/DESCR \ pkgsrc/textproc/translate-shell/Makefile \ pkgsrc/textproc/translate-shell/PLIST \ pkgsrc/textproc/translate-shell/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_150446233844430 Content-Disposition: inline Content-Length: 2930 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/textproc/translate-shell/DESCR diff -u /dev/null pkgsrc/textproc/translate-shell/DESCR:1.1 --- /dev/null Sun Sep 3 18:12:18 2017 +++ pkgsrc/textproc/translate-shell/DESCR Sun Sep 3 18:12:18 2017 @@ -0,0 +1,15 @@ +Translate Shell (formerly Google Translate CLI) is a command-line translator +powered by Google Translate (default), Bing Translator, and Yandex.Translate. +It gives you easy access to one of these translation engines your terminal: + +$ trans 'Saluton, Mondo!' +Saluton, Mondo! + +Hello, World! + +Translations of Saluton, Mondo! +[ Esperanto -> English ] +Saluton , + Hello, +Mondo ! + World! Index: pkgsrc/textproc/translate-shell/Makefile diff -u /dev/null pkgsrc/textproc/translate-shell/Makefile:1.1 --- /dev/null Sun Sep 3 18:12:18 2017 +++ pkgsrc/textproc/translate-shell/Makefile Sun Sep 3 18:12:18 2017 @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 2017/09/03 18:12:18 wiz Exp $ + +DISTNAME= translate-shell-0.9.6.4 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GITHUB:=soimort/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.soimort.org/translate-shell/ +COMMENT= Command-line translator +LICENSE= unlicense + +WRKSRC= ${WRKDIR}/translate-shell-${PKGVERSION_NOREV} +USE_LANGUAGES= # none +USE_TOOLS+= bash:run gawk:run + +DEPENDS+= rlwrap-[0-9]*:../../misc/rlwrap + +SUBST_CLASSES+= shebang +SUBST_FILES.shebang= build/trans +SUBST_SED.shebang= -e 's,/usr/bin/env bash,${BASH},' +SUBST_STAGE.shebang= post-build + +BUILD_TARGET= build + +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/build/trans ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/man/trans.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + +.include "../../audio/mpg123/buildlink3.mk" +.include "../../converters/fribidi/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/translate-shell/PLIST diff -u /dev/null pkgsrc/textproc/translate-shell/PLIST:1.1 --- /dev/null Sun Sep 3 18:12:18 2017 +++ pkgsrc/textproc/translate-shell/PLIST Sun Sep 3 18:12:18 2017 @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2017/09/03 18:12:18 wiz Exp $ +bin/trans +man/man1/trans.1 Index: pkgsrc/textproc/translate-shell/distinfo diff -u /dev/null pkgsrc/textproc/translate-shell/distinfo:1.1 --- /dev/null Sun Sep 3 18:12:18 2017 +++ pkgsrc/textproc/translate-shell/distinfo Sun Sep 3 18:12:18 2017 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/09/03 18:12:18 wiz Exp $ + +SHA1 (translate-shell-0.9.6.4.tar.gz) = 968b20c09be5b6b28366ee5afbcb495e0f9d5365 +RMD160 (translate-shell-0.9.6.4.tar.gz) = 2d5e32ee48edde9e5d3c640e787beb9f57106032 +SHA512 (translate-shell-0.9.6.4.tar.gz) = 98c4a329794d38a5d22d98bf7bb821f1adc3e42dac96d2fd791e7cf64d785458d0f6006e83b21497f259525b1a70f306ab69090d3a12996610f742323a371147 +Size (translate-shell-0.9.6.4.tar.gz) = 69788 bytes --_----------=_150446233844430--