#Packager: fredg <fred.galusik~at~gmail~dot~com>

pkgname=txt2regex
pkgver=0.8
pkgrel=1fg
arch=noarch
source=(http://txt2regex.sourceforge.net/$pkgname-$pkgver.tgz)
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/
docs=("readme" "README.japanese" "copyright" "changelog" "news" "todo")
url=http://aurelio.net/soft/txt2regex/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"txt2regex (Regular expression wizard)"
"Txt2regex is a Regular Expression wizard that converts human sentences"
"to regexes. In a simple interactive interface, you just answer to"
"questions and build your own regex for a large variety of softwares"
"and programming languages: AWK, ed, egrep, Emacs, expect, find, gawk,"
"grep, lex,lisp, mawk, MySQL, OpenOffice.org, Perl, PHP, Postgres,"
"Procmail,Python, SED, Tcl, VBscript, VI, Vim."
"Already translated to 10 languages, it features support for POSIX"
"classes, smart group balance control, metacharacters information"
"table and regex automatic generation for frequently used patterns." 
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	make install DESTDIR=$startdir/pkg
    install -D -m 644 txt2regex.man \
        $startdir/pkg/usr/man/man1/txt2regex.1
}