diff options
author | pav <pav@FreeBSD.org> | 2005-12-21 00:15:32 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-12-21 00:15:32 +0000 |
commit | b5c1905c726d1a0fde016f39fbac303becd4c77b (patch) | |
tree | 1886bde4431f50648c03ba5b82c2e1b3e66d1fac /textproc/romdict | |
parent | 6eccaa64e70d0a76d973d5aae61accb9b593a90f (diff) | |
download | FreeBSD-ports-b5c1905c726d1a0fde016f39fbac303becd4c77b.zip FreeBSD-ports-b5c1905c726d1a0fde016f39fbac303becd4c77b.tar.gz |
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/
PR: ports/90620
Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
Diffstat (limited to 'textproc/romdict')
-rw-r--r-- | textproc/romdict/Makefile | 32 | ||||
-rw-r--r-- | textproc/romdict/distinfo | 3 | ||||
-rw-r--r-- | textproc/romdict/files/pkg-message.in | 8 | ||||
-rw-r--r-- | textproc/romdict/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/romdict/pkg-plist | 3 |
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/romdict/Makefile b/textproc/romdict/Makefile new file mode 100644 index 0000000..d7c2440 --- /dev/null +++ b/textproc/romdict/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: romdict +# Date created: 2005-12-18 +# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> +# +# $FreeBSD$ +# $Tecnik: ports/textproc/romdict/Makefile,v 1.1 2005/12/18 23:40:33 itetcu Exp $ + +PORTNAME= romdict +PORTVERSION= 0.5 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTFILES= eng-rom-${PORTVERSION} + +MAINTAINER= itetcu@people.tecnik93.com +COMMENT= Dictd database for Eng-Ro dictionary + +RUN_DEPENDS= ${LOCALBASE}/sbin/dictd:${PORTSDIR}/net/dictd + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +SUB_FILES= pkg-message + +do-install: + ${MKDIR} ${PREFIX}/lib/dictd + ${INSTALL_DATA} ${WRKSRC}/eng-rom.dict.dz ${PREFIX}/lib/dictd/ + ${INSTALL_DATA} ${WRKSRC}/eng-rom.index ${PREFIX}/lib/dictd/ + + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/textproc/romdict/distinfo b/textproc/romdict/distinfo new file mode 100644 index 0000000..f75bc4b --- /dev/null +++ b/textproc/romdict/distinfo @@ -0,0 +1,3 @@ +MD5 (eng-rom-0.5) = f5c41c2bc664a07d42f6bfd378bcdd25 +SHA256 (eng-rom-0.5) = 980983717074cb9aea2ff190306f2c4aa7fc96d1afa6489c18dda746fc57fc65 +SIZE (eng-rom-0.5) = 21493 diff --git a/textproc/romdict/files/pkg-message.in b/textproc/romdict/files/pkg-message.in new file mode 100644 index 0000000..f62e3bb --- /dev/null +++ b/textproc/romdict/files/pkg-message.in @@ -0,0 +1,8 @@ +=============================================================================== +To enable your new dictionary add to your +%%LOCALBASE%%/etc/dictd/conf the lines +database romdict { data "%%PREFIX%%/lib/dict/eng-rom.dict.dz" + index "%%PREFIX%%/lib/dict/eng-rom.index" } +and run: +%%LOCALBASE%%/etc/rc.d/dictd.sh restart +=============================================================================== diff --git a/textproc/romdict/pkg-descr b/textproc/romdict/pkg-descr new file mode 100644 index 0000000..3df9bb7 --- /dev/null +++ b/textproc/romdict/pkg-descr @@ -0,0 +1,4 @@ +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/ diff --git a/textproc/romdict/pkg-plist b/textproc/romdict/pkg-plist new file mode 100644 index 0000000..ac2ede2 --- /dev/null +++ b/textproc/romdict/pkg-plist @@ -0,0 +1,3 @@ +lib/dictd/eng-rom.dict.dz +lib/dictd/eng-rom.index +@unexec rmdir %D/lib/dictd 2>/dev/null || true |