Platform

The main Radix cross Linux repository contains build scripts of the GNU/Linux distribution.

809 Commits   5 Branches   3 Tags   |
Index: dict/scowl/7.1/Makefile
===================================================================
--- dict/scowl/7.1/Makefile	(nonexistent)
+++ dict/scowl/7.1/Makefile	(revision 73)
@@ -0,0 +1,126 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+src_dir_name        = scowl-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+SCOWL_PKG_NAME                = scowl
+SCOWL_PKG_VERSION             = 7.1
+SCOWL_PKG_ARCH                = $(TOOLCHAIN)
+SCOWL_PKG_DISTRO_NAME         = kxLab
+SCOWL_PKG_DISTRO_VERSION      = 1.0
+SCOWL_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+SCOWL_PKG_SHORT_DESCRIPTION   = scowl $(version)
+SCOWL_PKG_URL                 = http://www.kxLab.com
+SCOWL_PKG_LICENSE             = public
+SCOWL_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(SCOWL_PKG_NAME)-pkg-description
+SCOWL_PKG_DESCRIPTION_FILE_IN = $(SCOWL_PKG_NAME)-pkg-description.in
+SCOWL_PKG_INSTALL_SCRIPT      = $(SCOWL_PKG_NAME)-pkg-install.sh
+
+SCOWL_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(SCOWL_PKG_NAME)-package
+
+pkg_basename     = $(SCOWL_PKG_NAME)-$(SCOWL_PKG_VERSION)-$(SCOWL_PKG_ARCH)-$(SCOWL_PKG_DISTRO_NAME)-$(SCOWL_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(SCOWL_PKG)/usr/share/dict/scowl
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp final/*.[0-9][0-9] $(SCOWL_PKG)/usr/share/dict/scowl ; \
+	   chmod 0644 $(SCOWL_PKG)/usr/share/dict/scowl/* \
+	 )
+	# ======= documentation =======
+	@mkdir -p $(SCOWL_PKG)/usr/doc/$(src_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(SCOWL_PKG)/usr/doc/$(src_dir_name)
+	@mkdir -p $(SCOWL_PKG)/usr/share/doc/$(src_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(SCOWL_PKG)/usr/share/doc/$(src_dir_name) ; \
+	 )
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(SCOWL_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(SCOWL_PKG_DESCRIPTION_FILE): $(SCOWL_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(SCOWL_PKG_DESCRIPTION_FILE) $(SCOWL_PKG_INSTALL_SCRIPT)
+	@cp $(SCOWL_PKG_DESCRIPTION_FILE) $(SCOWL_PKG)/.DESCRIPTION
+	@cp $(SCOWL_PKG_INSTALL_SCRIPT) $(SCOWL_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(SCOWL_PKG)/.REQUIRES
+	@echo "pkgname=$(SCOWL_PKG_NAME)"                            >  $(SCOWL_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(SCOWL_PKG_VERSION)"                          >> $(SCOWL_PKG)/.PKGINFO ; \
+	 echo "arch=$(SCOWL_PKG_ARCH)"                               >> $(SCOWL_PKG)/.PKGINFO ; \
+	 echo "distroname=$(SCOWL_PKG_DISTRO_NAME)"                  >> $(SCOWL_PKG)/.PKGINFO ; \
+	 echo "distrover=$(SCOWL_PKG_DISTRO_VERSION)"                >> $(SCOWL_PKG)/.PKGINFO ; \
+	 echo "group=$(SCOWL_PKG_GROUP)"                             >> $(SCOWL_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(SCOWL_PKG_SHORT_DESCRIPTION)\"" >> $(SCOWL_PKG)/.PKGINFO ; \
+	 echo "url=$(SCOWL_PKG_URL)"                                 >> $(SCOWL_PKG)/.PKGINFO ; \
+	 echo "license=$(SCOWL_PKG_LICENSE)"                         >> $(SCOWL_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(SCOWL_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/scowl/7.1/PATCHES
===================================================================
--- dict/scowl/7.1/PATCHES	(nonexistent)
+++ dict/scowl/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/scowl/7.1/doc/build-wordlists/build.mk
===================================================================
--- dict/scowl/7.1/doc/build-wordlists/build.mk	(nonexistent)
+++ dict/scowl/7.1/doc/build-wordlists/build.mk	(revision 73)
@@ -0,0 +1,125 @@
+#!/usr/bin/make -f
+
+#
+# NOTES:
+#   Unpack scowl-$VERSION.tar.gz, create 'scowl-$VERSION/build'
+#   directory and copy this file and man pages template
+#   'wordlist.5.in' into 'scowl-$VERSION/build'.
+#   Then change dir to 'scowl-$VERSION' and run make command:
+#
+#     $ make -f build/build.mk build
+#
+#   Use
+#
+#     $ make -f build/build.mk clean
+#
+#   command for cleanig results.
+#
+#   For partial building chortify the $(sizes) and
+#   $(spellings) lists in this file below.
+#
+
+
+man_page_template = $(CURDIR)/build/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = small "" large huge insane
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := american british canadian
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+build-stamp = .built
+
+build: $(build-stamp)
+
+$(build-stamp):
+	@set -e ; \
+	 for spelling in $(spellings) ; do \
+	   suffix= ; \
+	   if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	   elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	   elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	   else suffix= ; \
+	   fi ; \
+	   for size in $(sizes) ; do \
+	     if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	     echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	     echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	     echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	     echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	     echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	     for class in $(classes) ; do \
+	       for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	         if [ "$$sizename" != "" ] ; then \
+	           shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	         else \
+	           shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	         fi ; \
+	         if [ -f final/english-$$class.$$ext ] ; then \
+	           cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	           echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	         fi ; \
+	         for variant in $(variants) ; do \
+	           if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	             cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	         if [ "$$size" = "insane" ] ; then \
+	           for special in special_hacker.50 ; do \
+	             cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	             echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	           done ; \
+	         fi ; \
+	         if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	           cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	           echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	         fi ; \
+	       done ; \
+	     done ; \
+	     shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	     cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	     cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	   done ; \
+	 done
+	@touch $@
+
+clean:
+	@set -e ; \
+	 for size in $(sizes) ; do \
+	   if [ -n "$$size" ]; then size="-$$size" ; fi ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     rm -f $$spelling-english$$size.unsorted \
+	           $$spelling-english$$size          \
+	           $$spelling-english$$size.5        \
+	           words-$$suffix$$size.scowl-wordlists ; \
+	   done;\
+	 done
+	@rm -f $(build-stamp)
Index: dict/scowl/7.1/doc/build-wordlists/wordlist.5.in
===================================================================
--- dict/scowl/7.1/doc/build-wordlists/wordlist.5.in	(nonexistent)
+++ dict/scowl/7.1/doc/build-wordlists/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/scowl/7.1/scowl-pkg-description.in
===================================================================
--- dict/scowl/7.1/scowl-pkg-description.in	(nonexistent)
+++ dict/scowl/7.1/scowl-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+     |-----handy-ruler------------------------------------------------------|
+scowl: SCOWL @VERSION@ (Spell Checker Oriented Word Lists)
+scowl:
+scowl: SCOWL is a database of English words that can be used to create
+scowl: word lists suitable for use in spell checkers of various sizes and
+scowl: dialects (America, British (both -ise and -ize) and Canadian).
+scowl:
+scowl: The scowl package installs the raw SCOWL 'final/' word lists into
+scowl: /usr/share/dict/scowl/. See /usr/share/doc/scowl-@VERSION@/README
+scowl: for documentation about those individual word list files.
+scowl:
+scowl:
Index: dict/scowl/7.1/scowl-pkg-install.sh
===================================================================
--- dict/scowl/7.1/scowl-pkg-install.sh	(nonexistent)
+++ dict/scowl/7.1/scowl-pkg-install.sh	(revision 73)
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/scowl/7.1/scowl-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_CA/7.1/Makefile
===================================================================
--- dict/words-en_CA/7.1/Makefile	(nonexistent)
+++ dict/words-en_CA/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_CA-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_CA
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_CA $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = canadian-english
+country  = Canadian
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = ""
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := canadian
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_CA/7.1/PATCHES
===================================================================
--- dict/words-en_CA/7.1/PATCHES	(nonexistent)
+++ dict/words-en_CA/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_CA/7.1/doc/README.in
===================================================================
--- dict/words-en_CA/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_CA/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_CA/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_CA/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_CA/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_CA/7.1/words-en_CA-pkg-description.in
===================================================================
--- dict/words-en_CA/7.1/words-en_CA-pkg-description.in	(nonexistent)
+++ dict/words-en_CA/7.1/words-en_CA-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+           |-----handy-ruler------------------------------------------------------|
+words-en_CA: words-en_CA @VERSION@ (@WORDLIST@ wordlist)
+words-en_CA:
+words-en_CA: This package provides the /usr/share/dict/@WORDLIST@
+words-en_CA: file containing a list of English words with @COUNTRY@ spellings.
+words-en_CA: This list can be used by spelling checkers, and by programs such
+words-en_CA: as look(1).
+words-en_CA:
+words-en_CA: There are also 'small', 'large', 'huge', and 'insane' versions
+words-en_CA: of this word list, and there are words-en_US* and words-en_GB*
+words-en_CA: packages as well.
+words-en_CA:
Index: dict/words-en_CA/7.1/words-en_CA-pkg-install.sh.in
===================================================================
--- dict/words-en_CA/7.1/words-en_CA-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_CA/7.1/words-en_CA-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_CA/7.1/words-en_CA-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_CA-huge/7.1/Makefile
===================================================================
--- dict/words-en_CA-huge/7.1/Makefile	(nonexistent)
+++ dict/words-en_CA-huge/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_CA-huge-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_CA-huge
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_CA-huge $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = canadian-english-huge
+country  = Canadian
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = huge
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := canadian
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_CA-huge/7.1/PATCHES
===================================================================
--- dict/words-en_CA-huge/7.1/PATCHES	(nonexistent)
+++ dict/words-en_CA-huge/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_CA-huge/7.1/doc/README.in
===================================================================
--- dict/words-en_CA-huge/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_CA-huge/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_CA-huge/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_CA-huge/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_CA-huge/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_CA-huge/7.1/words-en_CA-huge-pkg-description.in
===================================================================
--- dict/words-en_CA-huge/7.1/words-en_CA-huge-pkg-description.in	(nonexistent)
+++ dict/words-en_CA-huge/7.1/words-en_CA-huge-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                |-----handy-ruler------------------------------------------------------|
+words-en_CA-huge: words-en_CA-huge @VERSION@ (@WORDLIST@ wordlist)
+words-en_CA-huge:
+words-en_CA-huge: This package provides the /usr/share/dict/@WORDLIST@
+words-en_CA-huge: file containing a list of English words with @COUNTRY@ spellings.
+words-en_CA-huge: This list can be used by spelling checkers, and by programs such
+words-en_CA-huge: as look(1).
+words-en_CA-huge:
+words-en_CA-huge: There are also normal size, 'small', 'large', and 'insane' versions
+words-en_CA-huge: of this word list, and there are words-en_US* and words-en_GB*
+words-en_CA-huge: packages as well.
+words-en_CA-huge:
Index: dict/words-en_CA-huge/7.1/words-en_CA-huge-pkg-install.sh.in
===================================================================
--- dict/words-en_CA-huge/7.1/words-en_CA-huge-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_CA-huge/7.1/words-en_CA-huge-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_CA-huge/7.1/words-en_CA-huge-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_CA-insane/7.1/Makefile
===================================================================
--- dict/words-en_CA-insane/7.1/Makefile	(nonexistent)
+++ dict/words-en_CA-insane/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_CA-insane-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_CA-insane
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_CA-insane $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = canadian-english-insane
+country  = Canadian
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = insane
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := canadian
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_CA-insane/7.1/PATCHES
===================================================================
--- dict/words-en_CA-insane/7.1/PATCHES	(nonexistent)
+++ dict/words-en_CA-insane/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_CA-insane/7.1/doc/README.in
===================================================================
--- dict/words-en_CA-insane/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_CA-insane/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_CA-insane/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_CA-insane/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_CA-insane/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_CA-insane/7.1/words-en_CA-insane-pkg-description.in
===================================================================
--- dict/words-en_CA-insane/7.1/words-en_CA-insane-pkg-description.in	(nonexistent)
+++ dict/words-en_CA-insane/7.1/words-en_CA-insane-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                  |-----handy-ruler------------------------------------------------------|
+words-en_CA-insane: words-en_CA-insane @VERSION@ (@WORDLIST@ wordlist)
+words-en_CA-insane:
+words-en_CA-insane: This package provides the /usr/share/dict/@WORDLIST@
+words-en_CA-insane: file containing a list of English words with @COUNTRY@ spellings.
+words-en_CA-insane: This list can be used by spelling checkers, and by programs such
+words-en_CA-insane: as look(1).
+words-en_CA-insane:
+words-en_CA-insane: There are also normal size, 'small', 'large', and 'huge' versions
+words-en_CA-insane: of this word list, and there are words-en_US* and words-en_GB*
+words-en_CA-insane: packages as well.
+words-en_CA-insane:
Index: dict/words-en_CA-insane/7.1/words-en_CA-insane-pkg-install.sh.in
===================================================================
--- dict/words-en_CA-insane/7.1/words-en_CA-insane-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_CA-insane/7.1/words-en_CA-insane-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_CA-insane/7.1/words-en_CA-insane-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_CA-large/7.1/Makefile
===================================================================
--- dict/words-en_CA-large/7.1/Makefile	(nonexistent)
+++ dict/words-en_CA-large/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_CA-large-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_CA-large
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_CA-large $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = canadian-english-large
+country  = Canadian
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = large
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := canadian
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_CA-large/7.1/PATCHES
===================================================================
--- dict/words-en_CA-large/7.1/PATCHES	(nonexistent)
+++ dict/words-en_CA-large/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_CA-large/7.1/doc/README.in
===================================================================
--- dict/words-en_CA-large/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_CA-large/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_CA-large/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_CA-large/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_CA-large/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_CA-large/7.1/words-en_CA-large-pkg-description.in
===================================================================
--- dict/words-en_CA-large/7.1/words-en_CA-large-pkg-description.in	(nonexistent)
+++ dict/words-en_CA-large/7.1/words-en_CA-large-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                 |-----handy-ruler------------------------------------------------------|
+words-en_CA-large: words-en_CA-large @VERSION@ (@WORDLIST@ wordlist)
+words-en_CA-large:
+words-en_CA-large: This package provides the /usr/share/dict/@WORDLIST@
+words-en_CA-large: file containing a list of English words with @COUNTRY@ spellings.
+words-en_CA-large: This list can be used by spelling checkers, and by programs such
+words-en_CA-large: as look(1).
+words-en_CA-large:
+words-en_CA-large: There are also normal size, 'small', 'huge', and 'insane' versions
+words-en_CA-large: of this word list, and there are words-en_US* and words-en_GB*
+words-en_CA-large: packages as well.
+words-en_CA-large:
Index: dict/words-en_CA-large/7.1/words-en_CA-large-pkg-install.sh.in
===================================================================
--- dict/words-en_CA-large/7.1/words-en_CA-large-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_CA-large/7.1/words-en_CA-large-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_CA-large/7.1/words-en_CA-large-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_CA-small/7.1/Makefile
===================================================================
--- dict/words-en_CA-small/7.1/Makefile	(nonexistent)
+++ dict/words-en_CA-small/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_CA-small-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_CA-small
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_CA-small $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = canadian-english-small
+country  = Canadian
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = small
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := canadian
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_CA-small/7.1/PATCHES
===================================================================
--- dict/words-en_CA-small/7.1/PATCHES	(nonexistent)
+++ dict/words-en_CA-small/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_CA-small/7.1/doc/README.in
===================================================================
--- dict/words-en_CA-small/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_CA-small/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_CA-small/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_CA-small/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_CA-small/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_CA-small/7.1/words-en_CA-small-pkg-description.in
===================================================================
--- dict/words-en_CA-small/7.1/words-en_CA-small-pkg-description.in	(nonexistent)
+++ dict/words-en_CA-small/7.1/words-en_CA-small-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                 |-----handy-ruler------------------------------------------------------|
+words-en_CA-small: words-en_CA-small @VERSION@ (@WORDLIST@ wordlist)
+words-en_CA-small:
+words-en_CA-small: This package provides the /usr/share/dict/@WORDLIST@
+words-en_CA-small: file containing a list of English words with @COUNTRY@ spellings.
+words-en_CA-small: This list can be used by spelling checkers, and by programs such
+words-en_CA-small: as look(1).
+words-en_CA-small:
+words-en_CA-small: There are also normal size, 'large', 'huge', and 'insane' versions
+words-en_CA-small: of this word list, and there are words-en_US* and words-en_GB*
+words-en_CA-small: packages as well.
+words-en_CA-small:
Index: dict/words-en_CA-small/7.1/words-en_CA-small-pkg-install.sh.in
===================================================================
--- dict/words-en_CA-small/7.1/words-en_CA-small-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_CA-small/7.1/words-en_CA-small-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_CA-small/7.1/words-en_CA-small-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_GB/7.1/Makefile
===================================================================
--- dict/words-en_GB/7.1/Makefile	(nonexistent)
+++ dict/words-en_GB/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_GB-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_GB
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_GB $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = british-english
+country  = British
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = ""
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := british
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_GB/7.1/PATCHES
===================================================================
--- dict/words-en_GB/7.1/PATCHES	(nonexistent)
+++ dict/words-en_GB/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_GB/7.1/doc/README.in
===================================================================
--- dict/words-en_GB/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_GB/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_GB/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_GB/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_GB/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_GB/7.1/words-en_GB-pkg-description.in
===================================================================
--- dict/words-en_GB/7.1/words-en_GB-pkg-description.in	(nonexistent)
+++ dict/words-en_GB/7.1/words-en_GB-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+           |-----handy-ruler------------------------------------------------------|
+words-en_GB: words-en_GB @VERSION@ (@WORDLIST@ wordlist)
+words-en_GB:
+words-en_GB: This package provides the /usr/share/dict/@WORDLIST@
+words-en_GB: file containing a list of English words with @COUNTRY@ spellings.
+words-en_GB: This list can be used by spelling checkers, and by programs such
+words-en_GB: as look(1).
+words-en_GB:
+words-en_GB: There are also 'small', 'large', 'huge', and 'insane' versions
+words-en_GB: of this word list, and there are words-en_US* and words-en_CA*
+words-en_GB: packages as well.
+words-en_GB:
Index: dict/words-en_GB/7.1/words-en_GB-pkg-install.sh.in
===================================================================
--- dict/words-en_GB/7.1/words-en_GB-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_GB/7.1/words-en_GB-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_GB/7.1/words-en_GB-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_GB-huge/7.1/Makefile
===================================================================
--- dict/words-en_GB-huge/7.1/Makefile	(nonexistent)
+++ dict/words-en_GB-huge/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_GB-huge-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_GB-huge
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_GB-huge $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = british-english-huge
+country  = British
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = huge
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := british
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_GB-huge/7.1/PATCHES
===================================================================
--- dict/words-en_GB-huge/7.1/PATCHES	(nonexistent)
+++ dict/words-en_GB-huge/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_GB-huge/7.1/doc/README.in
===================================================================
--- dict/words-en_GB-huge/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_GB-huge/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_GB-huge/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_GB-huge/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_GB-huge/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_GB-huge/7.1/words-en_GB-huge-pkg-description.in
===================================================================
--- dict/words-en_GB-huge/7.1/words-en_GB-huge-pkg-description.in	(nonexistent)
+++ dict/words-en_GB-huge/7.1/words-en_GB-huge-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                |-----handy-ruler------------------------------------------------------|
+words-en_GB-huge: words-en_GB-huge @VERSION@ (@WORDLIST@ wordlist)
+words-en_GB-huge:
+words-en_GB-huge: This package provides the /usr/share/dict/@WORDLIST@
+words-en_GB-huge: file containing a list of English words with @COUNTRY@ spellings.
+words-en_GB-huge: This list can be used by spelling checkers, and by programs such
+words-en_GB-huge: as look(1).
+words-en_GB-huge:
+words-en_GB-huge: There are also normal size, 'small', 'large', and 'insane' versions
+words-en_GB-huge: of this word list, and there are words-en_US* and words-en_CA*
+words-en_GB-huge: packages as well.
+words-en_GB-huge:
Index: dict/words-en_GB-huge/7.1/words-en_GB-huge-pkg-install.sh.in
===================================================================
--- dict/words-en_GB-huge/7.1/words-en_GB-huge-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_GB-huge/7.1/words-en_GB-huge-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_GB-huge/7.1/words-en_GB-huge-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_GB-insane/7.1/Makefile
===================================================================
--- dict/words-en_GB-insane/7.1/Makefile	(nonexistent)
+++ dict/words-en_GB-insane/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_GB-insane-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_GB-insane
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_GB-insane $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = british-english-insane
+country  = British
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = insane
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := british
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_GB-insane/7.1/PATCHES
===================================================================
--- dict/words-en_GB-insane/7.1/PATCHES	(nonexistent)
+++ dict/words-en_GB-insane/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_GB-insane/7.1/doc/README.in
===================================================================
--- dict/words-en_GB-insane/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_GB-insane/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_GB-insane/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_GB-insane/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_GB-insane/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_GB-insane/7.1/words-en_GB-insane-pkg-description.in
===================================================================
--- dict/words-en_GB-insane/7.1/words-en_GB-insane-pkg-description.in	(nonexistent)
+++ dict/words-en_GB-insane/7.1/words-en_GB-insane-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                  |-----handy-ruler------------------------------------------------------|
+words-en_GB-insane: words-en_GB-insane @VERSION@ (@WORDLIST@ wordlist)
+words-en_GB-insane:
+words-en_GB-insane: This package provides the /usr/share/dict/@WORDLIST@
+words-en_GB-insane: file containing a list of English words with @COUNTRY@ spellings.
+words-en_GB-insane: This list can be used by spelling checkers, and by programs such
+words-en_GB-insane: as look(1).
+words-en_GB-insane:
+words-en_GB-insane: There are also normal size, 'small', 'large', and 'huge' versions
+words-en_GB-insane: of this word list, and there are words-en_US* and words-en_CA*
+words-en_GB-insane: packages as well.
+words-en_GB-insane:
Index: dict/words-en_GB-insane/7.1/words-en_GB-insane-pkg-install.sh.in
===================================================================
--- dict/words-en_GB-insane/7.1/words-en_GB-insane-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_GB-insane/7.1/words-en_GB-insane-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_GB-insane/7.1/words-en_GB-insane-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_GB-large/7.1/Makefile
===================================================================
--- dict/words-en_GB-large/7.1/Makefile	(nonexistent)
+++ dict/words-en_GB-large/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_GB-large-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_GB-large
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_GB-large $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = british-english-large
+country  = British
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = large
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := british
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_GB-large/7.1/PATCHES
===================================================================
--- dict/words-en_GB-large/7.1/PATCHES	(nonexistent)
+++ dict/words-en_GB-large/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_GB-large/7.1/doc/README.in
===================================================================
--- dict/words-en_GB-large/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_GB-large/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_GB-large/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_GB-large/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_GB-large/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_GB-large/7.1/words-en_GB-large-pkg-description.in
===================================================================
--- dict/words-en_GB-large/7.1/words-en_GB-large-pkg-description.in	(nonexistent)
+++ dict/words-en_GB-large/7.1/words-en_GB-large-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                 |-----handy-ruler------------------------------------------------------|
+words-en_GB-large: words-en_GB-large @VERSION@ (@WORDLIST@ wordlist)
+words-en_GB-large:
+words-en_GB-large: This package provides the /usr/share/dict/@WORDLIST@
+words-en_GB-large: file containing a list of English words with @COUNTRY@ spellings.
+words-en_GB-large: This list can be used by spelling checkers, and by programs such
+words-en_GB-large: as look(1).
+words-en_GB-large:
+words-en_GB-large: There are also normal size, 'small', 'huge', and 'insane' versions
+words-en_GB-large: of this word list, and there are words-en_US* and words-en_CA*
+words-en_GB-large: packages as well.
+words-en_GB-large:
Index: dict/words-en_GB-large/7.1/words-en_GB-large-pkg-install.sh.in
===================================================================
--- dict/words-en_GB-large/7.1/words-en_GB-large-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_GB-large/7.1/words-en_GB-large-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_GB-large/7.1/words-en_GB-large-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_GB-small/7.1/Makefile
===================================================================
--- dict/words-en_GB-small/7.1/Makefile	(nonexistent)
+++ dict/words-en_GB-small/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_GB-small-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_GB-small
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_GB-small $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = british-english-small
+country  = British
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = small
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := british
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_GB-small/7.1/PATCHES
===================================================================
--- dict/words-en_GB-small/7.1/PATCHES	(nonexistent)
+++ dict/words-en_GB-small/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_GB-small/7.1/doc/README.in
===================================================================
--- dict/words-en_GB-small/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_GB-small/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_GB-small/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_GB-small/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_GB-small/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_GB-small/7.1/words-en_GB-small-pkg-description.in
===================================================================
--- dict/words-en_GB-small/7.1/words-en_GB-small-pkg-description.in	(nonexistent)
+++ dict/words-en_GB-small/7.1/words-en_GB-small-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                 |-----handy-ruler------------------------------------------------------|
+words-en_GB-small: words-en_GB-small @VERSION@ (@WORDLIST@ wordlist)
+words-en_GB-small:
+words-en_GB-small: This package provides the /usr/share/dict/@WORDLIST@
+words-en_GB-small: file containing a list of English words with @COUNTRY@ spellings.
+words-en_GB-small: This list can be used by spelling checkers, and by programs such
+words-en_GB-small: as look(1).
+words-en_GB-small:
+words-en_GB-small: There are also normal size, 'large', 'huge', and 'insane' versions
+words-en_GB-small: of this word list, and there are words-en_US* and words-en_CA*
+words-en_GB-small: packages as well.
+words-en_GB-small:
Index: dict/words-en_GB-small/7.1/words-en_GB-small-pkg-install.sh.in
===================================================================
--- dict/words-en_GB-small/7.1/words-en_GB-small-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_GB-small/7.1/words-en_GB-small-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_GB-small/7.1/words-en_GB-small-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_US/7.1/Makefile
===================================================================
--- dict/words-en_US/7.1/Makefile	(nonexistent)
+++ dict/words-en_US/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_US-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_US
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_US $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = american-english
+country  = American
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = ""
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := american
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_US/7.1/PATCHES
===================================================================
--- dict/words-en_US/7.1/PATCHES	(nonexistent)
+++ dict/words-en_US/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_US/7.1/doc/README.in
===================================================================
--- dict/words-en_US/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_US/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_US/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_US/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_US/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_US/7.1/words-en_US-pkg-description.in
===================================================================
--- dict/words-en_US/7.1/words-en_US-pkg-description.in	(nonexistent)
+++ dict/words-en_US/7.1/words-en_US-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+           |-----handy-ruler------------------------------------------------------|
+words-en_US: words-en_US @VERSION@ (@WORDLIST@ wordlist)
+words-en_US:
+words-en_US: This package provides the /usr/share/dict/@WORDLIST@
+words-en_US: file containing a list of English words with @COUNTRY@ spellings.
+words-en_US: This list can be used by spelling checkers, and by programs such
+words-en_US: as look(1).
+words-en_US:
+words-en_US: There are also 'small', 'large', 'huge', and 'insane' versions
+words-en_US: of this word list, and there are words-en_GB* and words-en_CA*
+words-en_US: packages as well.
+words-en_US:
Index: dict/words-en_US/7.1/words-en_US-pkg-install.sh.in
===================================================================
--- dict/words-en_US/7.1/words-en_US-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_US/7.1/words-en_US-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,69 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L usa -o ! -f `readlink usa` ] ; then
+      ln -sf @WORDLIST@ usa
+    fi
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L usa -a ! -f `readlink usa` ] ; then
+      rm -f usa
+    fi
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_US/7.1/words-en_US-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_US-huge/7.1/Makefile
===================================================================
--- dict/words-en_US-huge/7.1/Makefile	(nonexistent)
+++ dict/words-en_US-huge/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_US-huge-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_US-huge
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_US-huge $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = american-english-huge
+country  = American
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = huge
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := american
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_US-huge/7.1/PATCHES
===================================================================
--- dict/words-en_US-huge/7.1/PATCHES	(nonexistent)
+++ dict/words-en_US-huge/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_US-huge/7.1/doc/README.in
===================================================================
--- dict/words-en_US-huge/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_US-huge/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_US-huge/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_US-huge/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_US-huge/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_US-huge/7.1/words-en_US-huge-pkg-description.in
===================================================================
--- dict/words-en_US-huge/7.1/words-en_US-huge-pkg-description.in	(nonexistent)
+++ dict/words-en_US-huge/7.1/words-en_US-huge-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                |-----handy-ruler------------------------------------------------------|
+words-en_US-huge: words-en_US-huge @VERSION@ (@WORDLIST@ wordlist)
+words-en_US-huge:
+words-en_US-huge: This package provides the /usr/share/dict/@WORDLIST@
+words-en_US-huge: file containing a list of English words with @COUNTRY@ spellings.
+words-en_US-huge: This list can be used by spelling checkers, and by programs such
+words-en_US-huge: as look(1).
+words-en_US-huge:
+words-en_US-huge: There are also normal size, 'small', 'large', and 'insane' versions
+words-en_US-huge: of this word list, and there are words-en_GB* and words-en_CA*
+words-en_US-huge: packages as well.
+words-en_US-huge:
Index: dict/words-en_US-huge/7.1/words-en_US-huge-pkg-install.sh.in
===================================================================
--- dict/words-en_US-huge/7.1/words-en_US-huge-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_US-huge/7.1/words-en_US-huge-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_US-huge/7.1/words-en_US-huge-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_US-insane/7.1/Makefile
===================================================================
--- dict/words-en_US-insane/7.1/Makefile	(nonexistent)
+++ dict/words-en_US-insane/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_US-insane-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_US-insane
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_US-insane $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = american-english-insane
+country  = American
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = insane
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := american
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_US-insane/7.1/PATCHES
===================================================================
--- dict/words-en_US-insane/7.1/PATCHES	(nonexistent)
+++ dict/words-en_US-insane/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_US-insane/7.1/doc/README.in
===================================================================
--- dict/words-en_US-insane/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_US-insane/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_US-insane/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_US-insane/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_US-insane/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_US-insane/7.1/words-en_US-insane-pkg-description.in
===================================================================
--- dict/words-en_US-insane/7.1/words-en_US-insane-pkg-description.in	(nonexistent)
+++ dict/words-en_US-insane/7.1/words-en_US-insane-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                |-----handy-ruler------------------------------------------------------|
+words-en_US-insane: words-en_US-insane @VERSION@ (@WORDLIST@ wordlist)
+words-en_US-insane:
+words-en_US-insane: This package provides the /usr/share/dict/@WORDLIST@
+words-en_US-insane: file containing a list of English words with @COUNTRY@ spellings.
+words-en_US-insane: This list can be used by spelling checkers, and by programs such
+words-en_US-insane: as look(1).
+words-en_US-insane:
+words-en_US-insane: There are also normal size, 'small', 'large', and 'huge' versions
+words-en_US-insane: of this word list, and there are words-en_GB* and words-en_CA*
+words-en_US-insane: packages as well.
+words-en_US-insane:
Index: dict/words-en_US-insane/7.1/words-en_US-insane-pkg-install.sh.in
===================================================================
--- dict/words-en_US-insane/7.1/words-en_US-insane-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_US-insane/7.1/words-en_US-insane-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_US-insane/7.1/words-en_US-insane-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_US-large/7.1/Makefile
===================================================================
--- dict/words-en_US-large/7.1/Makefile	(nonexistent)
+++ dict/words-en_US-large/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_US-large-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_US-large
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_US-large $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = american-english-large
+country  = American
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = large
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := american
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_US-large/7.1/PATCHES
===================================================================
--- dict/words-en_US-large/7.1/PATCHES	(nonexistent)
+++ dict/words-en_US-large/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_US-large/7.1/doc/README.in
===================================================================
--- dict/words-en_US-large/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_US-large/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_US-large/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_US-large/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_US-large/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_US-large/7.1/words-en_US-large-pkg-description.in
===================================================================
--- dict/words-en_US-large/7.1/words-en_US-large-pkg-description.in	(nonexistent)
+++ dict/words-en_US-large/7.1/words-en_US-large-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                 |-----handy-ruler------------------------------------------------------|
+words-en_US-large: words-en_US-large @VERSION@ (@WORDLIST@ wordlist)
+words-en_US-large:
+words-en_US-large: This package provides the /usr/share/dict/@WORDLIST@
+words-en_US-large: file containing a list of English words with @COUNTRY@ spellings.
+words-en_US-large: This list can be used by spelling checkers, and by programs such
+words-en_US-large: as look(1).
+words-en_US-large:
+words-en_US-large: There are also normal size, 'small', 'huge', and 'insane' versions
+words-en_US-large: of this word list, and there are words-en_GB* and words-en_CA*
+words-en_US-large: packages as well.
+words-en_US-large:
Index: dict/words-en_US-large/7.1/words-en_US-large-pkg-install.sh.in
===================================================================
--- dict/words-en_US-large/7.1/words-en_US-large-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_US-large/7.1/words-en_US-large-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_US-large/7.1/words-en_US-large-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-en_US-small/7.1/Makefile
===================================================================
--- dict/words-en_US-small/7.1/Makefile	(nonexistent)
+++ dict/words-en_US-small/7.1/Makefile	(revision 73)
@@ -0,0 +1,237 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/scowl
+
+REQUIRES            = base/pkgtool
+
+
+version             = 7.1
+tar_gz_archive      = $(SRC_PACKAGE_PATH)/dict/scowl/scowl-$(version).tar.gz
+SRC_ARCHIVE         = $(tar_gz_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/scowl-$(version)
+doc_dir_name        = words-en_US-small-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+readme_file_in      = $(CURDIR)/doc/README.in
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-en_US-small
+WORDS_PKG_VERSION             = 7.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-en_US-small $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+#
+# Values of  'wordlist', 'country'  variables should be set by hand
+# according to configuration variables 'sizes', 'spellings' defined
+# below.
+#
+wordlist = american-english-small
+country  = American
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+#
+# available package sizes: small "" large huge insane
+#
+sizes = small
+
+# scowl file extensions:
+size_exts_small  :=                    10 20 35
+size_exts        := $(size_exts_small) 40 50
+size_exts_large  := $(size_exts)       55 60 70
+size_exts_huge   := $(size_exts_large) 80
+size_exts_insane := $(size_exts_huge)  95
+
+export size_exts_small
+export size_exts
+export size_exts_large
+export size_exts_huge
+export size_exts_insane
+
+#
+# available scowl languages: american british canadian
+#
+spellings := american
+
+# scowl word list classes:
+classes   := words proper-names upper contractions
+variants  := 0 1
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   for spelling in $(spellings) ; do \
+	     suffix= ; \
+	     if   [ "$$spelling" == "american" ] ; then suffix="en_US" ; \
+	     elif [ "$$spelling" == "british"  ] ; then suffix="en_GB" ; \
+	     elif [ "$$spelling" == "canadian" ] ; then suffix="en_CA" ; \
+	     else suffix= ; \
+	     fi ; \
+	     for size in $(sizes) ; do \
+	       if [ -n "$$size" ] ; then sizename="_$$size" ; size="-$$size" ; else sizename="" ; size="" ; fi ; \
+	       echo ""                                                      > words-$$suffix$$size.scowl-wordlists ; \
+	       echo "The following SCOWL word lists were concatenated and" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "sorted (with duplicates removed) to create this word" >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo "list:"                                                >> words-$$suffix$$size.scowl-wordlists ; \
+	       echo ""                                                     >> words-$$suffix$$size.scowl-wordlists ; \
+	       for class in $(classes) ; do \
+	         for ext in $$(eval echo "\$$""size_exts$$sizename") ; do \
+	           if [ "$$sizename" != "" ] ; then \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext %Bsize%b=`echo $$sizename | sed -e 's/^_//'` ..." ; \
+	           else \
+	             shtool echo -e "%B####### collecting%b: %Bclass%b=$$class %Bext%b=$$ext ..." ; \
+	           fi ; \
+	           if [ -f final/english-$$class.$$ext ] ; then \
+	             cat final/english-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   english-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	           for variant in $(variants) ; do \
+	             if [ -f final/variant_$$variant-$$class.$$ext ] ; then \
+	               cat final/variant_$$variant-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	               echo "   variant_$$variant-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	             fi ; \
+	           done ; \
+	           if [ "$$size" = "insane" ] ; then \
+	             for special in special_hacker.50 ; do \
+	               cat final/final/$$special >> $$spelling-english$$size.unsorted ; \
+	               echo "   final/$$special" >> words-$$suffix$$size.scowl-wordlists ; \
+	             done ; \
+	           fi ; \
+	           if [ -f final/$$spelling-$$class.$$ext ] ; then \
+	             cat final/$$spelling-$$class.$$ext >> $$spelling-english$$size.unsorted ; \
+	             echo "   $$spelling-$$class.$$ext" >> words-$$suffix$$size.scowl-wordlists ; \
+	           fi ; \
+	         done ; \
+	       done ; \
+	       shtool echo -e "%B####### dictionary%b: $$spelling-english$$size - %Bdone%b" ; \
+	       cat $$spelling-english$$size.unsorted | sort -u | iconv -f 'iso8859-1' -t 'utf-8' > $$spelling-english$$size ; rm $$spelling-english$$size.unsorted ; \
+	       cat $(man_page_template) | sed -e "s/@WORDLIST@/$$spelling-english$$size/g" > $$spelling-english$$size.5 ; \
+	     done ; \
+	   done \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR) ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR) ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= SCOWL documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/scowl ; \
+	 )
+	# ======= documentation =======
+	@( cd $(SRC_DIR) ; \
+	   cp -a $(WORDS_PKG_NAME).scowl-wordlists \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cat $(readme_file_in) | \
+	   $(SED) -e "s/@VERSION@/$(version)/g"        | \
+	   $(SED) -e "s/@PACKAGE@/$(WORDS_PKG_NAME)/g" > \
+	   $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"     > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-en_US-small/7.1/PATCHES
===================================================================
--- dict/words-en_US-small/7.1/PATCHES	(nonexistent)
+++ dict/words-en_US-small/7.1/PATCHES	(revision 73)
@@ -0,0 +1,2 @@
+
+../../../../sources/dict/scowl/patches/scowl-7.1-words.patch -p0
Index: dict/words-en_US-small/7.1/doc/README.in
===================================================================
--- dict/words-en_US-small/7.1/doc/README.in	(nonexistent)
+++ dict/words-en_US-small/7.1/doc/README.in	(revision 73)
@@ -0,0 +1,17 @@
+
+The English word lists (words-en_US*, words-en_GB*, words-en_CA*) and
+the 'scowl' package are all built from the upstream SCOWL word lists.
+See the SCOWL package's copyright file 'scowl/Copiright' here for more
+details about SCOWL.
+
+The 'scowl' package installs the raw SCOWL 'scowl-@VERSION@/final/'
+word lists into '/usr/share/dict/scowl' directory.
+See '/usr/share/doc/scowl-@VERSION@/README' or 'scowl/README' here
+for documentation about those individual word list files.
+
+For the English word lists, we use an appropriate collection of SCOWL
+word lists for each specific language/spelling and complexity. The file
+'/usr/share/doc/words/@PACKAGE@-@VERSION@/@PACKAGE@.scowl-wordlists'
+lists the specific scowl files that were used to create the
+'@PACKAGE@-@VERSION@' word list.
+
Index: dict/words-en_US-small/7.1/man/wordlist.5.in
===================================================================
--- dict/words-en_US-small/7.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-en_US-small/7.1/man/wordlist.5.in	(revision 73)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of English words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This English word lists are built from the SCOWL (Spell\-Checker
+Oriented Word Lists) package, whose upstream editor is
+Kevin Atkinson <kevina@users.sourceforge.net>.
Index: dict/words-en_US-small/7.1/words-en_US-small-pkg-description.in
===================================================================
--- dict/words-en_US-small/7.1/words-en_US-small-pkg-description.in	(nonexistent)
+++ dict/words-en_US-small/7.1/words-en_US-small-pkg-description.in	(revision 73)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+                 |-----handy-ruler------------------------------------------------------|
+words-en_US-small: words-en_US-small @VERSION@ (@WORDLIST@ wordlist)
+words-en_US-small:
+words-en_US-small: This package provides the /usr/share/dict/@WORDLIST@
+words-en_US-small: file containing a list of English words with @COUNTRY@ spellings.
+words-en_US-small: This list can be used by spelling checkers, and by programs such
+words-en_US-small: as look(1).
+words-en_US-small:
+words-en_US-small: There are also normal size, 'large', 'huge', and 'insane' versions
+words-en_US-small: of this word list, and there are words-en_GB* and words-en_CA*
+words-en_US-small: packages as well.
+words-en_US-small:
Index: dict/words-en_US-small/7.1/words-en_US-small-pkg-install.sh.in
===================================================================
--- dict/words-en_US-small/7.1/words-en_US-small-pkg-install.sh.in	(nonexistent)
+++ dict/words-en_US-small/7.1/words-en_US-small-pkg-install.sh.in	(revision 73)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ ! -L $slink -o ! -f `readlink $slink` ] ; then
+      ln -sf @WORDLIST@ $slink
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  slink=`echo @WORDLIST@ | cut -f 1 -d '-'`
+  ( cd usr/share/dict
+    if [ -L $slink -a ! -f `readlink $slink` ] ; then
+      rm -f $slink
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-en_US-small/7.1/words-en_US-small-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property