Subject: pkg/17845: new package textproc/aspell-slovak (Slovak language support for aspell)
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 08/05/2002 16:48:59
>Number:         17845
>Category:       pkg
>Synopsis:       new package textproc/aspell-slovak (Slovak language support for aspell)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 05 07:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA3
>Organization:
>Environment:
>Description:

Slovak language support for aspell

>How-To-Repeat:

unshar this archive into pkgsrc/textproc and regen distinfo for expanded
$NetBSD$ in patches/patch-a?

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	aspell-slovak/DESCR
#	aspell-slovak/Makefile
#	aspell-slovak/PLIST
#	aspell-slovak/distinfo
#	aspell-slovak/patches
#	aspell-slovak/patches/patch-aa
#	aspell-slovak/patches/patch-ab
#
echo x - aspell-slovak/DESCR
sed 's/^X//' >aspell-slovak/DESCR << 'END-of-aspell-slovak/DESCR'
XSlovak language support for aspell, e.g. `aspell -d slovak -c $myfile'.
END-of-aspell-slovak/DESCR
echo x - aspell-slovak/Makefile
sed 's/^X//' >aspell-slovak/Makefile << 'END-of-aspell-slovak/Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	aspell-slovak-1.0
XCATEGORIES=	textproc
XMASTER_SITES=	http://ispell.hq.sk/
XEXTRACT_SUFX=	.tar.bz2
X
XMAINTAINER=	salo@Xtrmntr.org
XHOMEPAGE=	http://ispell.hq.sk/homepage/
XCOMMENT=	Slovak language support for aspell
X
XDEPENDS+=	aspell>=0.33.7.1:../../textproc/aspell
X
X.include "../../mk/bsd.pkg.mk"
END-of-aspell-slovak/Makefile
echo x - aspell-slovak/PLIST
sed 's/^X//' >aspell-slovak/PLIST << 'END-of-aspell-slovak/PLIST'
X@comment $NetBSD$
Xlib/aspell/slovak
Xlib/aspell/slovak.multi
Xshare/aspell/slovak.dat
Xshare/aspell/slovak_phonet.dat
Xshare/doc/aspell-slovak/AUTHORS
Xshare/doc/aspell-slovak/CHANGELOG
Xshare/doc/aspell-slovak/Copyright
Xshare/doc/aspell-slovak/README
Xshare/doc/aspell-slovak/sample.aspell.conf
Xshare/pspell/sk-slovak-aspell.pwli
X@dirrm share/doc/aspell-slovak
END-of-aspell-slovak/PLIST
echo x - aspell-slovak/distinfo
sed 's/^X//' >aspell-slovak/distinfo << 'END-of-aspell-slovak/distinfo'
X$NetBSD$
X
XSHA1 (aspell-slovak-1.0.tar.bz2) = 2b518c78cf7b9fa573ed52330d4aa5dcb9b3d38b
XSize (aspell-slovak-1.0.tar.bz2) = 306315 bytes
XSHA1 (patch-aa) = 4c050392f2ddf8e7c8bd525fd612da438b7b1024
XSHA1 (patch-ab) = 41dc93ea7a352182dc7d13df68cbd773d135a53e
END-of-aspell-slovak/distinfo
echo c - aspell-slovak/patches
mkdir -p aspell-slovak/patches > /dev/null 2>&1
echo x - aspell-slovak/patches/patch-aa
sed 's/^X//' >aspell-slovak/patches/patch-aa << 'END-of-aspell-slovak/patches/patch-aa'
X$NetBSD$
X
X+++ Makefile	Mon Aug  5 16:25:02 2002
X@@ -0,0 +1,34 @@
X+ASPELLDATA=${PREFIX}/share/aspell
X+ASPELLDICT=${PREFIX}/lib/aspell
X+ASPELLDOC=${PREFIX}/share/doc/aspell-slovak
X+ASPELL=${PREFIX}/bin/aspell
X+PSPELLDATA=${PREFIX}/share/pspell
X+WORD_LIST_COMPRESS=${PREFIX}/bin/word-list-compress
X+
X+
X+all: slovak
X+
X+slovak: decompress
X+	$(ASPELL) --lang=slovak create master ./slovak < slovak.raw
X+	echo $(ASPELLDICT) > sk-slovak-aspell.pwli
X+
X+decompress: aswc.dat
X+	$(WORD_LIST_COMPRESS) decompress < aswc.dat > slovak.raw
X+
X+install: install-data install-doc
X+
X+install-data:
X+	${BSD_INSTALL_DATA} slovak.dat $(ASPELLDATA)
X+	${BSD_INSTALL_DATA} slovak_phonet.dat $(ASPELLDATA)
X+	${BSD_INSTALL_DATA} sk-slovak-aspell.pwli $(PSPELLDATA)
X+	${BSD_INSTALL_DATA} slovak $(ASPELLDICT)
X+	${BSD_INSTALL_DATA} slovak.multi $(ASPELLDICT)
X+
X+install-doc:
X+	${BSD_INSTALL_DATA_DIR} $(ASPELLDOC)
X+	${BSD_INSTALL_DATA} AUTHORS $(ASPELLDOC)
X+	${BSD_INSTALL_DATA} CHANGELOG $(ASPELLDOC)
X+	${BSD_INSTALL_DATA} Copyright $(ASPELLDOC)
X+	${BSD_INSTALL_DATA} README $(ASPELLDOC)
X+	${BSD_INSTALL_DATA} sample.aspell.conf $(ASPELLDOC)
X+
END-of-aspell-slovak/patches/patch-aa
echo x - aspell-slovak/patches/patch-ab
sed 's/^X//' >aspell-slovak/patches/patch-ab << 'END-of-aspell-slovak/patches/patch-ab'
X$NetBSD$
X
X+++ slovak.multi	Mon Aug  5 16:23:14 2002
X@@ -1,3 +1,3 @@
X strip-accents false
X-add slovak-master
X+add slovak
X 
END-of-aspell-slovak/patches/patch-ab
exit

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