summaryrefslogtreecommitdiff
path: root/misc/latin-words-bin
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-09-20 22:54:44 +0000
committerwiz <wiz@pkgsrc.org>2004-09-20 22:54:44 +0000
commit05c77904e9544e6c06c5304cdca3983a584be141 (patch)
treea4f03a1c9803656ecfb90d3d4a17c337d9fd93de /misc/latin-words-bin
parent1ad063193c2dadb2b1eab0c2bb5a86ac335e941a (diff)
downloadpkgsrc-05c77904e9544e6c06c5304cdca3983a584be141.tar.gz
Initial import of latin-words-bin-1.97 (Linux binary).
This Latin dictionary program takes keyboard input or a file of Latin text lines and provides an analysis/morphology (declension, conjugation, case, tense, etc.) of each word individually, the dictionary form, and the translation (meaning). am.at V 1 1 PRES ACTIVE IND 3 S X amo, amare, amavi, amatus love, like; fall in love with; be fond of; have a tendency to; The dictionary contains over 30000 entries and, through additional word construction with hundreds of prefixes and suffixes, may generate more, leading to many hundreds of thousands of 'words' that can be formed by declension and conjugation. Present emphasis is on classical Latin and late Latin, but medieval Latin entries are increasing. WORDS provides a tool to help in translations for the Latin student and a memory jog for researchers.
Diffstat (limited to 'misc/latin-words-bin')
-rw-r--r--misc/latin-words-bin/DESCR16
-rw-r--r--misc/latin-words-bin/Makefile42
-rw-r--r--misc/latin-words-bin/PLIST14
-rw-r--r--misc/latin-words-bin/distinfo4
-rw-r--r--misc/latin-words-bin/files/latin-words.sh2
5 files changed, 78 insertions, 0 deletions
diff --git a/misc/latin-words-bin/DESCR b/misc/latin-words-bin/DESCR
new file mode 100644
index 00000000000..1efc65ec651
--- /dev/null
+++ b/misc/latin-words-bin/DESCR
@@ -0,0 +1,16 @@
+This Latin dictionary program takes keyboard input or a file of
+Latin text lines and provides an analysis/morphology (declension,
+conjugation, case, tense, etc.) of each word individually, the
+dictionary form, and the translation (meaning).
+
+ am.at V 1 1 PRES ACTIVE IND 3 S X
+ amo, amare, amavi, amatus
+ love, like; fall in love with; be fond of; have a tendency to;
+
+The dictionary contains over 30000 entries and, through additional
+word construction with hundreds of prefixes and suffixes, may
+generate more, leading to many hundreds of thousands of 'words'
+that can be formed by declension and conjugation. Present emphasis
+is on classical Latin and late Latin, but medieval Latin entries
+are increasing. WORDS provides a tool to help in translations for
+the Latin student and a memory jog for researchers.
diff --git a/misc/latin-words-bin/Makefile b/misc/latin-words-bin/Makefile
new file mode 100644
index 00000000000..0676ccd3a96
--- /dev/null
+++ b/misc/latin-words-bin/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/20 22:54:44 wiz Exp $
+#
+
+DISTNAME= words-1.97-linux
+PKGNAME= latin-words-bin-1.97
+CATEGORIES= misc
+MASTER_SITES= ftp://petrus.thomasaquinas.edu/pub/linux/words/
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://users.erols.com/whitaker/wordslux.htm
+COMMENT= Latin-to-English dictionary program (Linux binary)
+
+WRKSRC= ${WRKDIR}/words-1.97
+NO_BUILDLINK= YES
+NO_CONFIGURE= YES
+
+CHECK_SHLIBS= NO
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+DEPENDS+= suse_base>=6.1:../../emulators/${SUSE_DIR_PREFIX}_base
+.endif
+
+do-build:
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/latin-words.sh \
+ > ${WRKSRC}/latin-words
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/latin-words ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/words ${PREFIX}/libexec/latin-words
+ ${INSTALL_DATA_DIR} ${PREFIX}/libdata/latin-words
+.for f in ADDONS.LAT DICTFILE.GEN INDXFILE.GEN INFLECTS.SEC \
+ STEMFILE.GEN UNIQUES.LAT
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/libdata/latin-words
+.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/latin-words
+.for f in README wordsdoc.html wordsdoc.txt
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/latin-words
+.endfor
+
+.include "../../emulators/suse_linux/Makefile.application"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/latin-words-bin/PLIST b/misc/latin-words-bin/PLIST
new file mode 100644
index 00000000000..417b9184a43
--- /dev/null
+++ b/misc/latin-words-bin/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/20 22:54:44 wiz Exp $
+bin/latin-words
+libexec/latin-words
+libdata/latin-words/ADDONS.LAT
+libdata/latin-words/DICTFILE.GEN
+libdata/latin-words/INDXFILE.GEN
+libdata/latin-words/INFLECTS.SEC
+libdata/latin-words/STEMFILE.GEN
+libdata/latin-words/UNIQUES.LAT
+share/doc/latin-words/README
+share/doc/latin-words/wordsdoc.html
+share/doc/latin-words/wordsdoc.txt
+@dirrm share/doc/latin-words
+@dirrm libdata/latin-words
diff --git a/misc/latin-words-bin/distinfo b/misc/latin-words-bin/distinfo
new file mode 100644
index 00000000000..fa0bfdd2660
--- /dev/null
+++ b/misc/latin-words-bin/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/09/20 22:54:44 wiz Exp $
+
+SHA1 (words-1.97-linux.tar.gz) = dda625b5d9cc05a75719045b6795327939197597
+Size (words-1.97-linux.tar.gz) = 1730135 bytes
diff --git a/misc/latin-words-bin/files/latin-words.sh b/misc/latin-words-bin/files/latin-words.sh
new file mode 100644
index 00000000000..62788d2b2cf
--- /dev/null
+++ b/misc/latin-words-bin/files/latin-words.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+(cd @PREFIX@/libdata/latin-words && @PREFIX@/libexec/latin-words "$@")