# Description: Simple Network Time Protocol server/client/utility
# URL:         http://www.hpcf.cam.ac.uk/export/
# Maintainer:  Juergen Daubert, jue at crux dot nu

name=msntp
version=1.6
release=3
source=(http://distcache.freebsd.org/ports-distfiles/$name-$version.tar.gz \
        $name-$version.patch)

build () {
    cd $name-$version
    patch -p1 -i $SRC/$name-$version.patch
    make
    install -d $PKG/usr/{sbin,share/man/man1}
    install msntp $PKG/usr/sbin
    install -m 0644 msntp.1 $PKG/usr/share/man/man1
}