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>
This commit is contained in:
Kirill Ponomarev 2004-01-17 08:53:03 +00:00
parent c2a3ee282a
commit 4a67954051
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98377
6 changed files with 91 additions and 0 deletions

View File

@ -19,6 +19,7 @@
SUBDIR += linux-mozillafirebird
SUBDIR += messarge
SUBDIR += mtc
SUBDIR += mueller-dic
SUBDIR += muttprint
SUBDIR += ooodict-ru_RU
SUBDIR += openoffice-1.0

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (mueller-dic/Mueller7accentGPL.tgz) = b882581e130ffa0ea3baea5eeea484a2
MD5 (mueller-dic/yusupov_mf.tgz) = 6d32c801ab00ce1cdb87391ff8b26db7

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,7 @@
bin/mueller
bin/muellerfind
%%DATADIR%%/Mueller7accentGPL.koi
%%DATADIR%%/Mueller7accentGPL.koi.h
@dirrm %%DATADIR%%
%%PORTDOCS%%%%DOCSDIR%%/Mueller7.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%