summaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-17 08:53:03 +0000
committerkrion <krion@FreeBSD.org>2004-01-17 08:53:03 +0000
commitcab6aa362fcccbaa2cb9da44a249ee8f1bc1d1b8 (patch)
tree65b9cc5753f5212a02e31a9eac7827927ee14242 /russian
parent48bd7360819ce8a1ca150ad3788f1481be58d86d (diff)
downloadFreeBSD-ports-cab6aa362fcccbaa2cb9da44a249ee8f1bc1d1b8.zip
FreeBSD-ports-cab6aa362fcccbaa2cb9da44a249ee8f1bc1d1b8.tar.gz
Add mueller-dic 1.2,
This is the GPL'd 7th edition of the very well known English-Russian dictionary by V.K.Mueller. It is arranged as single text file with cyrillic letters KOI8-R encoded. Transcription symbols correspond to the IPA (International Phonetic Alphabet) standard. There is also a simple dictionary search utility is included in this port. PR: 61455 Submitted by: Igor Pokrovsky <tiamat@comset.net>
Diffstat (limited to 'russian')
-rw-r--r--russian/Makefile1
-rw-r--r--russian/mueller-dic/Makefile50
-rw-r--r--russian/mueller-dic/distinfo2
-rw-r--r--russian/mueller-dic/files/patch-Makefile20
-rw-r--r--russian/mueller-dic/pkg-descr11
-rw-r--r--russian/mueller-dic/pkg-plist7
6 files changed, 91 insertions, 0 deletions
diff --git a/russian/Makefile b/russian/Makefile
index af72739..77306c3 100644
--- a/russian/Makefile
+++ b/russian/Makefile
@@ -19,6 +19,7 @@
SUBDIR += linux-mozillafirebird
SUBDIR += messarge
SUBDIR += mtc
+ SUBDIR += mueller-dic
SUBDIR += muttprint
SUBDIR += ooodict-ru_RU
SUBDIR += openoffice-1.0
diff --git a/russian/mueller-dic/Makefile b/russian/mueller-dic/Makefile
new file mode 100644
index 0000000..ddff605
--- /dev/null
+++ b/russian/mueller-dic/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: mueller-dic
+# Date created: 14 Jan 2004
+# Whom: Igor Pokrovsky <tiamat@comset.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mueller-dic
+PORTVERSION= 1.2
+CATEGORIES= russian
+MASTER_SITES= http://mueller-dic.chat.ru/
+DISTFILES= Mueller7accentGPL.tgz yusupov_mf.tgz
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= tiamat@comset.net
+COMMENT= Mueller English-Russian dictionary
+
+USE_GMAKE= yes
+
+WRKSRC= ${WRKDIR}/mf
+WRKSRC_DIC= ${WRKDIR}/usr/local/share/dict
+WRKSRC_DOC= ${WRKDIR}/usr/local/share/mova
+
+pre-install:
+ # rebuild dictionary hash
+ ${WRKSRC}/mf -d ${WRKSRC_DIC}/Mueller7accentGPL.koi -hash
+
+do-install:
+ # install program with different name (it conflicts with teTeX)
+ ${INSTALL_PROGRAM} ${WRKSRC}/mf ${PREFIX}/bin/muellerfind
+ @(${ECHO_CMD} "#!/bin/sh"; ${ECHO_CMD} "${PREFIX}/bin/muellerfind \
+ -d ${DATADIR}/Mueller7accentGPL.koi \$$@") >${PREFIX}/bin/mueller
+ @${CHMOD} ugo+x ${PREFIX}/bin/mueller
+
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.koi ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.koi.h ${DATADIR}
+
+.ifndef (NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC_DOC}/Mueller7.txt ${DOCSDIR}
+.endif
+
+post-install:
+ @${ECHO_CMD} "==============================================="
+ @${ECHO_CMD} " You can look up words in dictionary with: "
+ @${ECHO_CMD} " ${PREFIX}/bin/mueller word"
+ @${ECHO_CMD} "==============================================="
+
+.include <bsd.port.mk>
diff --git a/russian/mueller-dic/distinfo b/russian/mueller-dic/distinfo
new file mode 100644
index 0000000..e0892ab
--- /dev/null
+++ b/russian/mueller-dic/distinfo
@@ -0,0 +1,2 @@
+MD5 (mueller-dic/Mueller7accentGPL.tgz) = b882581e130ffa0ea3baea5eeea484a2
+MD5 (mueller-dic/yusupov_mf.tgz) = 6d32c801ab00ce1cdb87391ff8b26db7
diff --git a/russian/mueller-dic/files/patch-Makefile b/russian/mueller-dic/files/patch-Makefile
new file mode 100644
index 0000000..e42bfda
--- /dev/null
+++ b/russian/mueller-dic/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig Fri Jan 16 11:22:34 2004
++++ Makefile Fri Jan 16 11:27:47 2004
+@@ -13,7 +13,7 @@
+ SOURCE_SUFFIX = c
+
+ # C compiler
+-CC = gcc
++CC ?= gcc
+
+ # source files directory
+ srcdir = .
+@@ -28,7 +28,7 @@
+ LNK_LIBS = -lm
+
+ # other compilation options (no value if unsure)
+-COMPILE_OPTS =
++COMPILE_OPTS = ${CFLAGS}
+
+ # basic compiler warning options (for GOAL_EXE)
+ BWARN_OPTS = -Wall -Wno-uninitialized -ansi -pedantic
diff --git a/russian/mueller-dic/pkg-descr b/russian/mueller-dic/pkg-descr
new file mode 100644
index 0000000..f7acfc2
--- /dev/null
+++ b/russian/mueller-dic/pkg-descr
@@ -0,0 +1,11 @@
+This is the GPL'd 7th edition of the very well known English-Russian
+dictionary by V.K.Mueller. It is arranged as single text file with
+cyrillic letters KOI8-R encoded. Transcription symbols correspond to the
+IPA (International Phonetic Alphabet) standard. There is also a simple
+dictionary search utility is included in this port. Look at specified
+URL for other available tools.
+
+WWW: http://mueller-dic.chat.ru/
+
+- Igor Pokrovsky
+tiamat@comset.net
diff --git a/russian/mueller-dic/pkg-plist b/russian/mueller-dic/pkg-plist
new file mode 100644
index 0000000..7549a1f
--- /dev/null
+++ b/russian/mueller-dic/pkg-plist
@@ -0,0 +1,7 @@
+bin/mueller
+bin/muellerfind
+%%DATADIR%%/Mueller7accentGPL.koi
+%%DATADIR%%/Mueller7accentGPL.koi.h
+@dirrm %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/Mueller7.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud