Import a port to handle openoffice3 dictionaries.
Currently on en_GB, en_US, de_DE and hu_HU dictionaries are installed. Upon package installation the dictionary extension(s) are going to be registered with unopkg (openoffice's extension manager). If anyone needs another language, just send me an email. (diffs are accepted too :))
This commit is contained in:
parent
9f52ecadee
commit
26a52ff665
54
editors/openoffice3-dicts/Makefile
Normal file
54
editors/openoffice3-dicts/Makefile
Normal file
@ -0,0 +1,54 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/02/05 21:32:48 robert Exp $
|
||||
|
||||
PKG_ARCH= *
|
||||
|
||||
V= 0.1
|
||||
NAME= openoffice3-dicts
|
||||
PKGNAME= ${NAME}-${V}
|
||||
|
||||
CATEGORIES= editors
|
||||
|
||||
HOMEPAGE= http://extensions.services.openoffice.org/dictionary
|
||||
|
||||
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
||||
|
||||
# opensource/notspecified
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://blade2k.humppa.hu/openoffice3-dicts/
|
||||
|
||||
LANGUAGES= de_DE en_GB en_US hu_HU
|
||||
|
||||
EXTRACT_CASES= *.oxt) break;;
|
||||
|
||||
RUN_DEPENDS= openoffice::editors/openoffice3
|
||||
|
||||
DIST_SUBDIR= ${NAME}-${V}
|
||||
NO_EXTRACT= Yes
|
||||
NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
# define one language for the main package
|
||||
SUBPACKAGE?= -en_GB
|
||||
|
||||
.for i in ${LANGUAGES}
|
||||
MULTI_PACKAGES+=-$i
|
||||
DISTFILES+= $i.oxt
|
||||
PKGNAME-$i= ${NAME}-$i-${V}
|
||||
COMMENT-$i= $i dictionary for OpenOffice.Org 3
|
||||
.endfor
|
||||
PKGNAME-en_GB= ${NAME}-en_GB-${V}
|
||||
|
||||
# use the same for all subpackages
|
||||
MESSAGE= ${PKGDIR}/MESSAGE
|
||||
|
||||
do-install:
|
||||
.for i in ${LANGUAGES}
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/openoffice.org3/share/extension/install/
|
||||
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$i.oxt ${PREFIX}/openoffice.org3/share/extension/install/
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
20
editors/openoffice3-dicts/distinfo
Normal file
20
editors/openoffice3-dicts/distinfo
Normal file
@ -0,0 +1,20 @@
|
||||
MD5 (openoffice3-dicts-0.1/de_DE.oxt) = qiMQfckxT0odNF/h+7HH1w==
|
||||
MD5 (openoffice3-dicts-0.1/en_GB.oxt) = 3G2fivt5XLRa+Ghj8yqKRQ==
|
||||
MD5 (openoffice3-dicts-0.1/en_US.oxt) = 4uq4B3KrGqCXFpVCGTUagA==
|
||||
MD5 (openoffice3-dicts-0.1/hu_HU.oxt) = B5qKi3OstpgE/Z+jtS1S2A==
|
||||
RMD160 (openoffice3-dicts-0.1/de_DE.oxt) = 2nfNq2vERmV5afUaUXyifSebn8s=
|
||||
RMD160 (openoffice3-dicts-0.1/en_GB.oxt) = AXnmjAn7kZt4KZLhs67JhCYHlKM=
|
||||
RMD160 (openoffice3-dicts-0.1/en_US.oxt) = 7OUC+on7hCsH1TImx/BqLm5ENnk=
|
||||
RMD160 (openoffice3-dicts-0.1/hu_HU.oxt) = mzFk8ApTXs9tXY4umd09gUPIhzU=
|
||||
SHA1 (openoffice3-dicts-0.1/de_DE.oxt) = LRo/776Q7w3ja/dNsT+cyWzR8Bk=
|
||||
SHA1 (openoffice3-dicts-0.1/en_GB.oxt) = 61rsyBjuHlBLFwss2GpNzbJOTTE=
|
||||
SHA1 (openoffice3-dicts-0.1/en_US.oxt) = 9vdPbJkPK1QnAUGdNAlQX6EggyU=
|
||||
SHA1 (openoffice3-dicts-0.1/hu_HU.oxt) = 6XiN7+zusmb/VSRI7kOawtG50IA=
|
||||
SHA256 (openoffice3-dicts-0.1/de_DE.oxt) = md3d+RpYnFX3OeL2nYLaagcwABN07IpHRAox/Ei6rtg=
|
||||
SHA256 (openoffice3-dicts-0.1/en_GB.oxt) = lA+xpCKmy3uu3uEexG1WaErOBa/iUb9/A7DJHJ3E0ro=
|
||||
SHA256 (openoffice3-dicts-0.1/en_US.oxt) = YaUtizvWolX0u1XeEDm9f7/FlifVfdk0Ag446r5yaDk=
|
||||
SHA256 (openoffice3-dicts-0.1/hu_HU.oxt) = v/1KuZjJxgekTFdk8mzWe1WsnieSLIvuCjMgtGm3goU=
|
||||
SIZE (openoffice3-dicts-0.1/de_DE.oxt) = 2081230
|
||||
SIZE (openoffice3-dicts-0.1/en_GB.oxt) = 235258
|
||||
SIZE (openoffice3-dicts-0.1/en_US.oxt) = 229064
|
||||
SIZE (openoffice3-dicts-0.1/hu_HU.oxt) = 1964127
|
3
editors/openoffice3-dicts/pkg/DESCR-de_DE
Normal file
3
editors/openoffice3-dicts/pkg/DESCR-de_DE
Normal file
@ -0,0 +1,3 @@
|
||||
Dictionary pack (de_DE) for OpenOffice.Org 3.
|
||||
This extension will add German dictionaries (spell checking, hyphenation, thesaurus)
|
||||
using the "official" resources of OpenOffice.org - deutschsprachiges Projekt.
|
2
editors/openoffice3-dicts/pkg/DESCR-en_GB
Normal file
2
editors/openoffice3-dicts/pkg/DESCR-en_GB
Normal file
@ -0,0 +1,2 @@
|
||||
Dictionary pack (en_GB) for OpenOffice.Org 3.
|
||||
This dictionary is based on OED (Oxford English Dictionary)
|
1
editors/openoffice3-dicts/pkg/DESCR-en_US
Normal file
1
editors/openoffice3-dicts/pkg/DESCR-en_US
Normal file
@ -0,0 +1 @@
|
||||
Dictionary pack (en_US) for OpenOffice.Org 3.
|
5
editors/openoffice3-dicts/pkg/DESCR-hu_HU
Normal file
5
editors/openoffice3-dicts/pkg/DESCR-hu_HU
Normal file
@ -0,0 +1,5 @@
|
||||
Dictionary pack (en_HU) for OpenOffice.Org 3.
|
||||
Contains Hungarian spellchecking dictionary, hyphenation patterns and
|
||||
thesaurus, as prepared by Laszlo Nemeth et.al. for the Hungarian
|
||||
Native-Lang Project. For version information see DictHuOxt page at
|
||||
Openscope Wiki.
|
7
editors/openoffice3-dicts/pkg/MESSAGE
Normal file
7
editors/openoffice3-dicts/pkg/MESSAGE
Normal file
@ -0,0 +1,7 @@
|
||||
To configure a dictionary for OpenOffice.Org 3, Open Tools ->
|
||||
Options -> Language Settings -> Languages.
|
||||
|
||||
From the drop-down menus select your Locale Language to the
|
||||
one you want.
|
||||
(If spell checking is available for a language you are going
|
||||
to see an icon prefixing the language name.)
|
6
editors/openoffice3-dicts/pkg/PLIST-de_DE
Normal file
6
editors/openoffice3-dicts/pkg/PLIST-de_DE
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST-de_DE,v 1.1.1.1 2009/02/05 21:32:48 robert Exp $
|
||||
@pkgpath editors/openoffice3-dicts-i18n
|
||||
@pkgpath editors/openoffice3-dicts-i18n,-main
|
||||
openoffice.org3/share/extension/install/de_DE.oxt
|
||||
@exec %D/openoffice.org3/program/unopkg add --shared %D/openoffice.org3/share/extension/install/de_DE.oxt > /dev/null 2>&1
|
||||
@unexec %D/openoffice.org3/program/unopkg remove --shared German.new.DE-only.dictionaries.from.org.openoffice.de.by.Karl.Zeiler > /dev/null 2>&1
|
7
editors/openoffice3-dicts/pkg/PLIST-en_GB
Normal file
7
editors/openoffice3-dicts/pkg/PLIST-en_GB
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST-en_GB,v 1.1.1.1 2009/02/05 21:32:48 robert Exp $
|
||||
@pkgpath editors/openoffice3-dicts-i18n
|
||||
@pkgpath editors/openoffice3-dicts-i18n,-main
|
||||
openoffice.org3/share/extension/install/en_GB.oxt
|
||||
@exec %D/openoffice.org3/program/unopkg add --shared %D/openoffice.org3/share/extension/install/en_GB.oxt > /dev/null 2>&1
|
||||
@unexec %D/openoffice.org3/program/unopkg remove --shared en_GB-oed.dictionary.port > /dev/null 2>&1
|
||||
|
7
editors/openoffice3-dicts/pkg/PLIST-en_US
Normal file
7
editors/openoffice3-dicts/pkg/PLIST-en_US
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST-en_US,v 1.1.1.1 2009/02/05 21:32:48 robert Exp $
|
||||
@pkgpath editors/openoffice3-dicts-i18n
|
||||
@pkgpath editors/openoffice3-dicts-i18n,-main
|
||||
openoffice.org3/share/extension/install/en_US.oxt
|
||||
@exec %D/openoffice.org3/program/unopkg add --shared %D/openoffice.org3/share/extension/install/en_US.oxt > /dev/null 2>&1
|
||||
@unexec %D/openoffice.org3/program/unopkg remove --shared org.openoffice.en-US.hunspell.dictionaries > /dev/null 2>&1
|
||||
|
6
editors/openoffice3-dicts/pkg/PLIST-hu_HU
Normal file
6
editors/openoffice3-dicts/pkg/PLIST-hu_HU
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST-hu_HU,v 1.1.1.1 2009/02/05 21:32:48 robert Exp $
|
||||
@pkgpath editors/openoffice3-dicts-i18n
|
||||
@pkgpath editors/openoffice3-dicts-i18n,-main
|
||||
openoffice.org3/share/extension/install/hu_HU.oxt
|
||||
@exec %D/openoffice.org3/program/unopkg add --shared %D/openoffice.org3/share/extension/install/hu_HU.oxt > /dev/null 2>&1
|
||||
@unexec %D/openoffice.org3/program/unopkg remove --shared org.openoffice.hu.hunspell.dictionaries > /dev/null 2>&1
|
Loading…
x
Reference in New Issue
Block a user