Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2005 01:42:52 +0200
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/90620: [NEW PORT] textproc/romdict: Dictd database for Eng-Ro dictionary
Message-ID:  <1134949372.0@it.buh.tecnik93.com>
Resent-Message-ID: <200512182350.jBINo2TX069848@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         90620
>Category:       ports
>Synopsis:       [NEW PORT] textproc/romdict: Dictd database for Eng-Ro dictionary
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 18 23:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.0-STABLE #5: Thu Dec  1 02:08:55 EET 2005


>Description:


The RomDict project includes (for now) only an English -- Romanian dictionary.
This port installs it in the data format for use with dictd server.

WWW: http://romdict.sourceforge.net/


>How-To-Repeat:





>Fix:


--- romdict.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:
#
#	romdict
#	romdict/Makefile
#	romdict/distinfo
#	romdict/pkg-descr
#	romdict/pkg-plist
#	romdict/files
#	romdict/files/pkg-message.in
#
echo c - romdict
mkdir -p romdict > /dev/null 2>&1
echo x - romdict/Makefile
sed 's/^X//' >romdict/Makefile << 'END-of-romdict/Makefile'
X# New ports collection makefile for:	romdict
X# Date created:				2005-12-18
X# Whom:			Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
X#
X# $FreeBSD$
X# $Tecnik: ports/textproc/romdict/Makefile,v 1.1 2005/12/18 23:40:33 itetcu Exp $
X
XPORTNAME=		romdict
XPORTVERSION=		0.5
XCATEGORIES=		textproc # should (will) be romaninan
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTFILES=		eng-rom-${PORTVERSION}
X
XMAINTAINER=	itetcu@people.tecnik93.com
XCOMMENT=	Dictd database for Eng-Ro dictionary
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XRUN_DEPENDS=	${LOCALBASE}/sbin/dictd:${PORTSDIR}/net/dictd
X
XSUB_FILES+=	pkg-message
X
Xdo-install:
X	@${MKDIR} ${DATADIR}
X#	cd ${WRKSRC} && ${INSTALL_DATA} eng-rom.* ${DATADIR}
X	@${MKDIR} ${PREFIX}/lib/dictd/ || true
X	cd ${WRKSRC} && ${INSTALL_DATA} eng-rom.dict.dz ${PREFIX}/lib/dictd/
X	cd ${WRKSRC} && ${INSTALL_DATA} eng-rom.index ${PREFIX}/lib/dictd/
X
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-romdict/Makefile
echo x - romdict/distinfo
sed 's/^X//' >romdict/distinfo << 'END-of-romdict/distinfo'
XMD5 (eng-rom-0.5) = f5c41c2bc664a07d42f6bfd378bcdd25
XSHA256 (eng-rom-0.5) = 980983717074cb9aea2ff190306f2c4aa7fc96d1afa6489c18dda746fc57fc65
XSIZE (eng-rom-0.5) = 21493
END-of-romdict/distinfo
echo x - romdict/pkg-descr
sed 's/^X//' >romdict/pkg-descr << 'END-of-romdict/pkg-descr'
XThe RomDict project includes (for now) only an English -- Romanian dictionary.
XThis port installs it in the data format for use with dictd server.
X
XWWW: http://romdict.sourceforge.net/
X
X
END-of-romdict/pkg-descr
echo x - romdict/pkg-plist
sed 's/^X//' >romdict/pkg-plist << 'END-of-romdict/pkg-plist'
Xlib/dictd/eng-rom.dict.dz
Xlib/dictd/eng-rom.index
X@unexec rmdir %D/dictd 2>/dev/null || true
END-of-romdict/pkg-plist
echo c - romdict/files
mkdir -p romdict/files > /dev/null 2>&1
echo x - romdict/files/pkg-message.in
sed 's/^X//' >romdict/files/pkg-message.in << 'END-of-romdict/files/pkg-message.in'
X===============================================================================
XTo enable your new dictionary add to your
X%%LOCALBASE%%/etc/dictd/conf the lines
Xdatabase romdict { data "%%PREFIX%%/lib/dict/eng-rom.dict.dz"
X		   index "%%PREFIX%%/lib/dict/eng-rom.index" }
Xand do a:
X%%LOCALBASE%%/etc/rc.d/dictd.sh restart
X===============================================================================
END-of-romdict/files/pkg-message.in
exit

--- romdict.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1134949372.0>