summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2002-06-17 19:41:50 +0000
committerroberto <roberto@FreeBSD.org>2002-06-17 19:41:50 +0000
commit1a7dbb9490e03af6a8acb2136aac848fe9d265d0 (patch)
treeffbeae894fd4904c8a436e66bb00d30f55beabe8 /misc
parent1e1bbce31796239d33d5b73fe956e249aaf39eed (diff)
downloadFreeBSD-ports-1a7dbb9490e03af6a8acb2136aac848fe9d265d0.zip
FreeBSD-ports-1a7dbb9490e03af6a8acb2136aac848fe9d265d0.tar.gz
translate uses the Babelfish engine from Altavista to translate sentences
in different languages. PR: ports/39242 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/translate/Makefile28
-rw-r--r--misc/translate/distinfo1
-rw-r--r--misc/translate/pkg-comment1
-rw-r--r--misc/translate/pkg-descr8
-rw-r--r--misc/translate/pkg-plist1
5 files changed, 39 insertions, 0 deletions
diff --git a/misc/translate/Makefile b/misc/translate/Makefile
new file mode 100644
index 0000000..475ed86
--- /dev/null
+++ b/misc/translate/Makefile
@@ -0,0 +1,28 @@
+# ex:ts=8
+# Ports collection makefile for: translate
+# Date created: Thu Jun 13, 2002
+# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= translate
+PORTVERSION= 1.00
+CATEGORIES= misc
+MASTER_SITES= http://www.freebsdcluster.org/~mich/software/ \
+ ${MASTER_SITE_LOCAL}
+DISTNAME= translate
+
+MAINTAINER= mich@freebsdcluster.org
+
+RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
+
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+USE_PERL5= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/misc/translate/distinfo b/misc/translate/distinfo
new file mode 100644
index 0000000..b49de08
--- /dev/null
+++ b/misc/translate/distinfo
@@ -0,0 +1 @@
+MD5 (translate.tar.gz) = c67a5e36c465276eaed6385ded4cc009
diff --git a/misc/translate/pkg-comment b/misc/translate/pkg-comment
new file mode 100644
index 0000000..d55cad6
--- /dev/null
+++ b/misc/translate/pkg-comment
@@ -0,0 +1 @@
+Translates string using Babelfish
diff --git a/misc/translate/pkg-descr b/misc/translate/pkg-descr
new file mode 100644
index 0000000..97768d3
--- /dev/null
+++ b/misc/translate/pkg-descr
@@ -0,0 +1,8 @@
+A small perl script, that takes a given string or word
+and translates it to a selected language using the altavista
+babelfish service.
+
+Requires perl.
+
+- Michael L. Hostbaek
+mich@freebsdcluster.org
diff --git a/misc/translate/pkg-plist b/misc/translate/pkg-plist
new file mode 100644
index 0000000..a29b9c3
--- /dev/null
+++ b/misc/translate/pkg-plist
@@ -0,0 +1 @@
+bin/translate
OpenPOWER on IntegriCloud