summaryrefslogtreecommitdiff
path: root/misc/translate
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2002-06-17 19:41:50 +0000
committerOllivier Robert <roberto@FreeBSD.org>2002-06-17 19:41:50 +0000
commit487736ea12bbdee68c4689147e5438e4977e6c13 (patch)
tree4712e934a6a8e8d81f4331c1bdd919b9e6a3eaa0 /misc/translate
parentupgrade to 2.1.1 (diff)
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/translate')
-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 000000000000..475ed863a8d1
--- /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 000000000000..b49de08f6443
--- /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 000000000000..d55cad6c14d9
--- /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 000000000000..97768d387cb2
--- /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 000000000000..a29b9c334182
--- /dev/null
+++ b/misc/translate/pkg-plist
@@ -0,0 +1 @@
+bin/translate