ports/61455: New port: russian/mueller-dic Mueller English-Russian dictionary
Igor Pokrovsky
tiamat at comset.net
Sat Jan 17 03:30:23 UTC 2004
>Number: 61455
>Category: ports
>Synopsis: New port: russian/mueller-dic Mueller English-Russian dictionary
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 16 19:30:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Igor Pokrovsky
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.9-STABLE FreeBSD 4.9-STABLE #1: Sun Dec 14 13:12:44 MSK 2003 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386
>Description:
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.
>How-To-Repeat:
>Fix:
--- mueller-dic.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mueller-dic
# mueller-dic/pkg-plist
# mueller-dic/pkg-descr
# mueller-dic/distinfo
# mueller-dic/Makefile
# mueller-dic/files
# mueller-dic/files/patch-Makefile
#
echo c - mueller-dic
mkdir -p mueller-dic > /dev/null 2>&1
echo x - mueller-dic/pkg-plist
sed 's/^X//' >mueller-dic/pkg-plist << 'END-of-mueller-dic/pkg-plist'
Xbin/mueller
Xbin/muellerfind
X%%DATADIR%%/Mueller7accentGPL.koi
X%%DATADIR%%/Mueller7accentGPL.koi.h
X at dirrm %%DATADIR%%
X%%PORTDOCS%%%%DOCSDIR%%/Mueller7.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-mueller-dic/pkg-plist
echo x - mueller-dic/pkg-descr
sed 's/^X//' >mueller-dic/pkg-descr << 'END-of-mueller-dic/pkg-descr'
XThis is the GPL'd 7th edition of the very well known English-Russian
Xdictionary by V.K.Mueller. It is arranged as single text file with
Xcyrillic letters KOI8-R encoded. Transcription symbols correspond to the
XIPA (International Phonetic Alphabet) standard. There is also a simple
Xdictionary search utility is included in this port. Look at specified
XURL for other available tools.
X
XWWW: http://mueller-dic.chat.ru/
X
X- Igor Pokrovsky
Xtiamat at comset.net
END-of-mueller-dic/pkg-descr
echo x - mueller-dic/distinfo
sed 's/^X//' >mueller-dic/distinfo << 'END-of-mueller-dic/distinfo'
XMD5 (mueller-dic/Mueller7accentGPL.tgz) = b882581e130ffa0ea3baea5eeea484a2
XMD5 (mueller-dic/yusupov_mf.tgz) = 6d32c801ab00ce1cdb87391ff8b26db7
END-of-mueller-dic/distinfo
echo x - mueller-dic/Makefile
sed 's/^X//' >mueller-dic/Makefile << 'END-of-mueller-dic/Makefile'
X# New ports collection makefile for: mueller-dic
X# Date created: 14 Jan 2004
X# Whom: Igor Pokrovsky <tiamat at comset.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mueller-dic
XPORTVERSION= 1.2
XCATEGORIES= russian
XMASTER_SITES= http://mueller-dic.chat.ru/
XDISTFILES= Mueller7accentGPL.tgz yusupov_mf.tgz
XDIST_SUBDIR= ${PORTNAME}
X
XMAINTAINER= tiamat at comset.net
XCOMMENT= Mueller English-Russian dictionary
X
XUSE_GMAKE= yes
X
XWRKSRC= ${WRKDIR}/mf
XWRKSRC_DIC= ${WRKDIR}/usr/local/share/dict
XWRKSRC_DOC= ${WRKDIR}/usr/local/share/mova
X
Xpre-install:
X # rebuild dictionary hash
X ${WRKSRC}/mf -d ${WRKSRC_DIC}/Mueller7accentGPL.koi -hash
X
Xdo-install:
X # install program with different name (it conflicts with teTeX)
X ${INSTALL_PROGRAM} ${WRKSRC}/mf ${PREFIX}/bin/muellerfind
X @(${ECHO_CMD} "#!/bin/sh"; ${ECHO_CMD} "${PREFIX}/bin/muellerfind \
X -d ${DATADIR}/Mueller7accentGPL.koi \$$@") >${PREFIX}/bin/mueller
X @${CHMOD} ugo+x ${PREFIX}/bin/mueller
X
X @${MKDIR} ${DATADIR}
X ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.koi ${DATADIR}
X ${INSTALL_DATA} ${WRKSRC_DIC}/Mueller7accentGPL.koi.h ${DATADIR}
X
X.ifndef (NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC_DOC}/Mueller7.txt ${DOCSDIR}
X.endif
X
Xpost-install:
X @${ECHO_CMD} "==============================================="
X @${ECHO_CMD} " You can look up words in dictionary with: "
X @${ECHO_CMD} " ${PREFIX}/bin/mueller word"
X @${ECHO_CMD} "==============================================="
X
X.include <bsd.port.mk>
END-of-mueller-dic/Makefile
echo c - mueller-dic/files
mkdir -p mueller-dic/files > /dev/null 2>&1
echo x - mueller-dic/files/patch-Makefile
sed 's/^X//' >mueller-dic/files/patch-Makefile << 'END-of-mueller-dic/files/patch-Makefile'
X--- Makefile.orig Fri Jan 16 11:22:34 2004
X+++ Makefile Fri Jan 16 11:27:47 2004
X@@ -13,7 +13,7 @@
X SOURCE_SUFFIX = c
X
X # C compiler
X-CC = gcc
X+CC ?= gcc
X
X # source files directory
X srcdir = .
X@@ -28,7 +28,7 @@
X LNK_LIBS = -lm
X
X # other compilation options (no value if unsure)
X-COMPILE_OPTS =
X+COMPILE_OPTS = ${CFLAGS}
X
X # basic compiler warning options (for GOAL_EXE)
X BWARN_OPTS = -Wall -Wno-uninitialized -ansi -pedantic
END-of-mueller-dic/files/patch-Makefile
exit
--- mueller-dic.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list