forked from Lainports/freebsd-ports
API Client library for the Cloud Translation API Cloud Translation can dynamically translate text between thousands of language pairs. Translation lets websites and programs programmatically integrate with the translation service. Actual client classes for the various versions of this API are defined in versioned client gems, with names of the form google-cloud-translate-v*. The gem google-cloud-translate is the main client library that brings the verisoned gems in as dependencies, and provides high-level methods for constructing clients. WWW: https://github.com/googleapis/google-cloud-ruby WWW: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-translate
24 lines
618 B
Makefile
24 lines
618 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= google-cloud-translate
|
|
PORTVERSION= 3.0.3
|
|
CATEGORIES= textproc rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Ruby Client for the Cloud Translation API
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
RUN_DEPENDS= rubygem-google-cloud-core>=1.5<2:net/rubygem-google-cloud-core \
|
|
rubygem-google-cloud-translate-v2>=0.0<1:textproc/rubygem-google-cloud-translate-v2 \
|
|
rubygem-google-cloud-translate-v3>=0.0<1:textproc/rubygem-google-cloud-translate-v3
|
|
|
|
USES= gem
|
|
USE_RUBY= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|