summaryrefslogtreecommitdiff
path: root/sysutils/watchman/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/watchman/Makefile')
-rw-r--r--sysutils/watchman/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/watchman/Makefile b/sysutils/watchman/Makefile
new file mode 100644
index 00000000000..e3772db9d9a
--- /dev/null
+++ b/sysutils/watchman/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2014/08/09 22:59:30 wiz Exp $
+
+DISTNAME= watchman-${VERSION}
+VERSION= 2.9.8
+CATEGORIES= sysutils
+MASTER_SITES= -https://github.com/facebook/watchman/archive/v${VERSION}.tar.gz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/facebook/watchman/
+COMMENT= Watches files and takes action when they change
+LICENSE= apache-2.0
+
+USE_TOOLS+= autoconf automake autoreconf
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-lenient
+CONFIGURE_ARGS+= --enable-conffile=${PKG_SYSCONFDIR}/watchman.json
+CONFIGURE_ARGS+= --with-pcre
+
+pre-configure:
+ cd ${WRKSRC} && ${SH} autogen.sh
+
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"