1 # Maintainer: Jose Riha <jose1711 gmail com>
6 pkgdesc="NetBSD xmltools (git)"
8 url="http://git.huoc.org:13080/?p=regxml.git;a=summary"
12 _gitroot="git://git.huoc.org/regxml.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
34 mkdir -p $pkgdir/usr/share/man/man{1,3,7}
35 install -Dm755 $srcdir/$_gitname/xmlgrep/xmlgrep $pkgdir/usr/bin/xmlgrep
36 install -Dm755 $srcdir/$_gitname/xmlsed/xmlsed $pkgdir/usr/bin/xmlsed
37 install -Dm644 $srcdir/$_gitname/doc/*1 $pkgdir/usr/share/man/man1/
38 install -Dm644 $srcdir/$_gitname/doc/*3 $pkgdir/usr/share/man/man3/
39 install -Dm644 $srcdir/$_gitname/doc/*7 $pkgdir/usr/share/man/man7/