6 url="http://www.netbsd.org/"
8 makedepends=('cvs' 'libnbcompat')
9 source=('fileflags.diff')
10 md5sums=('6959c69cff70ac5ee14ab96666b73902')
12 __cvsroot="anoncvs@anoncvs.NetBSD.org:/cvsroot"
13 __cvsmod="pkgsrc/pkgtools/$pkgname/files"
16 if [ -d $__cvsmod/CVS ]; then
17 CVSROOT=$__cvsroot CVS_RSH=ssh cvs -f -z3 up -r pkgsrc-$pkgver -Pd $__cvsmod
19 CVSROOT=$__cvsroot CVS_RSH=ssh cvs -f -z3 co -r pkgsrc-$pkgver -P $__cvsmod
26 # http://old.nabble.com/pkg-40766%3A-sysutls-mtree-fails-to-build-on-Linux-(with-patch-)-tt22242834.html#a22242834
27 patch -p0 < $srcdir/fileflags.diff
29 ./configure --prefix=/usr
37 install -Dm755 $pkgname $pkgdir/usr/sbin/$pkgname
38 install -Dm644 $pkgname.8 $pkgdir/usr/share/man/man8/$pkgname.8