ports/textproc/py-transpopy/Makefile
Danilo G. Baio d8ccf484c6 Add textproc/py-transpopy: Translate PO file strings with Google Translate API
Transpopy uses the Google Translate API to convert/translate strings from a
PO (gettext Portable Object) file, keeping your lines or fuzzy references.

To use the Google Translate API it's needed an API key in json format.

WWW: https://github.com/kanazux/transpopy

PR:		230964
Submitted by:	Silvio Ap Silva <contato@kanazuchi.com>
2018-09-01 00:28:41 +00:00

21 lines
468 B
Makefile

# $FreeBSD$
PORTNAME= transpopy
PORTVERSION= 0.1.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= contato@kanazuchi.com
COMMENT= Translate PO file strings with Google Translate API
LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-cloud-translate>=0:www/py-google-cloud-translate@${PY_FLAVOR}
USES= python:3.4+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>