From owner-svn-ports-branches@FreeBSD.ORG Wed Aug 27 18:41:18 2014 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83480C06; Wed, 27 Aug 2014 18:41:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D9533905; Wed, 27 Aug 2014 18:41:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7RIfIA6015553; Wed, 27 Aug 2014 18:41:18 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7RIfIsS015551; Wed, 27 Aug 2014 18:41:18 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201408271841.s7RIfIsS015551@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Wed, 27 Aug 2014 18:41:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r366338 - branches/2014Q3/textproc/google-translate-cli X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2014 18:41:18 -0000 Author: antoine Date: Wed Aug 27 18:41:17 2014 New Revision: 366338 URL: http://svnweb.freebsd.org/changeset/ports/366338 QAT: https://qat.redports.org/buildarchive/r366338/ Log: MFH: r366021 - Unbreak by updating to 0.8.19 - Fix LICENSE_PERMS - Add lang/gawk to (BUILD|TEST)_DEPENDS - Remove conflicts with misc/translate - Add 3 new options (default off) to support RTL languages, enable text-to-speech functionality and readline-style editing and history in interactive mode - Remove pkg-plist Build Log: https://redports.org/buildarchive/20140824220804-65990/ Deleted: branches/2014Q3/textproc/google-translate-cli/pkg-plist Modified: branches/2014Q3/textproc/google-translate-cli/Makefile branches/2014Q3/textproc/google-translate-cli/distinfo (contents, props changed) Directory Properties: branches/2014Q3/ (props changed) Modified: branches/2014Q3/textproc/google-translate-cli/Makefile ============================================================================== --- branches/2014Q3/textproc/google-translate-cli/Makefile Wed Aug 27 18:24:04 2014 (r366337) +++ branches/2014Q3/textproc/google-translate-cli/Makefile Wed Aug 27 18:41:17 2014 (r366338) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= google-translate-cli -PORTVERSION= 0.0.1 +PORTVERSION= 0.8.19 #PORTREVISION= 0 CATEGORIES= textproc @@ -12,59 +12,40 @@ COMMENT= Google Translate to serve as a LICENSE= BW LICENSE_NAME= Beerware LICENSE_TEXT= http://www.sax.de/~joerg/beerware-license.txt -LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk +BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ + gawk:${PORTSDIR}/lang/gawk +TEST_DEPENDS= gawk:${PORTSDIR}/lang/gawk -# same binary file bin/translate -CONFLICTS_INSTALL= translate-* +ALL_TARGET= build + +FRIBIDI_RUN_DEPENDS= fribidi:${PORTSDIR}/converters/fribidi GH_ACCOUNT= soimort -GH_COMMIT= 2f59fc6 +GH_COMMIT= ae2696e +GH_PROJECT= translate-shell GH_TAGNAME= ${GH_COMMIT} -gawk_CMD= ${SETENV} -S gawk -gawk_OLD_CMD= /usr/bin/gawk -MARKDOWN_CMD= ${LOCALBASE}/bin/markdown +OPTIONS_DEFINE= DOCS FRIBIDI READLINE TEXT2SPEECH + +PLIST_FILES= bin/trans man/man1/trans.1.gz -OPTIONS_DEFINE= DOCS +READLINE_RUN_DEPENDS= rlwrap:${PORTSDIR}/devel/rlwrap -SHEBANG_FILES= ${WRKSRC}/translate.awk -SHEBANG_LANG= gawk +TEXT2SPEECH_DESC= Enable Text-to-Speech functionality via espeak +TEXT2SPEECH_RUN_DEPENDS= espeak:${PORTSDIR}/audio/espeak USE_GITHUB= yes -USES= shebangfix .include -post-patch: - @${REINPLACE_CMD} -e 's,^gawk,${LOCALBASE}/bin/&,1' \ - -e 's,translate.awk,${DATADIR}/&,1' ${WRKSRC}/translate - -.if !${PORT_OPTIONS:MDOCS} -NO_BUILD= yes -.else -BUILD_DEPENDS+= markdown:${PORTSDIR}/textproc/discount - -do-build: - @(cd ${WRKSRC} && \ - ${MARKDOWN_CMD} README.md > README.tmp && \ - echo "${COMMENT}" | \ - ${CAT} - ${WRKSRC}/README.tmp $(${ECHO_CMD} "") > README.html) - -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR} -.endif - do-install: - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/translate ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/translate.awk ${STAGEDIR}${DATADIR} - ${LN} -sf ${DATADIR}/translate ${STAGEDIR}${PREFIX}/bin/translate - ${LN} -sf ${DATADIR}/translate ${STAGEDIR}${PREFIX}/bin/trs + ${INSTALL_SCRIPT} ${WRKSRC}/build/trans ${STAGEDIR}${PREFIX}/bin/trans + ${INSTALL_MAN} ${WRKSRC}/man/trans.1 ${STAGEDIR}${MANPREFIX}/man/man1/trans.1 regression-test test: build - @(cd ${WRKSRC} ; ${MAKE} test) + @(cd ${WRKSRC} && ${MAKE} test) .include Modified: branches/2014Q3/textproc/google-translate-cli/distinfo ============================================================================== --- branches/2014Q3/textproc/google-translate-cli/distinfo Wed Aug 27 18:24:04 2014 (r366337) +++ branches/2014Q3/textproc/google-translate-cli/distinfo Wed Aug 27 18:41:17 2014 (r366338) @@ -1,2 +1,2 @@ -SHA256 (google-translate-cli-0.0.1.tar.gz) = ba778fadbbd91f93b431bfc769b6ea537931cd5475f2c811b024b4fe7dc70a02 -SIZE (google-translate-cli-0.0.1.tar.gz) = 4741 +SHA256 (google-translate-cli-0.8.19.tar.gz) = 807e94e4b63ba1b81fa9b089a2ab619afe231ef990dff0feb24edd01be9f45d6 +SIZE (google-translate-cli-0.8.19.tar.gz) = 25881