mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
|
|
|
PORTNAME= google-translate-cli
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.9.6.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Google Translate to serve as a command line tool
|
|
|
|
LICENSE= UNLICENSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= gawk:lang/gawk
|
|
RUN_DEPENDS= bash:shells/bash \
|
|
gawk:lang/gawk \
|
|
gbase64:sysutils/coreutils
|
|
TEST_DEPENDS= curl:ftp/curl \
|
|
emacs:editors/emacs@nox \
|
|
rlwrap:devel/rlwrap
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= soimort
|
|
GH_PROJECT= translate-shell
|
|
|
|
ALL_TARGET= build
|
|
TEST_ENV= LC_ALL=C.UTF-8
|
|
TEST_TARGET= test
|
|
NO_ARCH= yes
|
|
PLIST_FILES= bin/trans \
|
|
man/man1/trans.1.gz
|
|
|
|
OPTIONS_DEFINE= FRIBIDI READLINE TEXT2SPEECH
|
|
|
|
TEXT2SPEECH_DESC= Enable Text-to-Speech functionality via espeak
|
|
|
|
FRIBIDI_RUN_DEPENDS= fribidi:converters/fribidi
|
|
|
|
READLINE_RUN_DEPENDS= rlwrap:devel/rlwrap
|
|
|
|
TEXT2SPEECH_RUN_DEPENDS= espeak:audio/espeak
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/build/trans ${STAGEDIR}${PREFIX}/bin/trans
|
|
${INSTALL_MAN} ${WRKSRC}/man/trans.1 ${STAGEDIR}${MANPREFIX}/man/man1/trans.1
|
|
|
|
.include <bsd.port.mk>
|