pkgsrc/sysutils/watchman/Makefile

36 lines
971 B
Makefile

# $NetBSD: Makefile,v 1.11 2018/09/13 14:26:07 jperkin Exp $
DISTNAME= watchman-4.7.0
CATEGORIES= sysutils
PKGREVISION= 1
MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://facebook.github.io/watchman/
COMMENT= Watches files and takes action when they change
LICENSE= apache-2.0
GITHUB_TAG= v${PKGVERSION_NOREV}
USE_TOOLS+= autoconf automake autoreconf gmake
GNU_CONFIGURE= yes
CHECK_PORTABILITY_SKIP+= travis/run.sh
# https://github.com/facebook/watchman/issues/50
CONFIGURE_ARGS+= --enable-lenient
CONFIGURE_ARGS+= --enable-conffile=${PKG_SYSCONFDIR}/watchman.json
CONFIGURE_ARGS+= --enable-statedir=${VARBASE}/run/watchman
CONFIGURE_ARGS+= --with-pcre
CONFIGURE_ARGS+= --without-python
BUILD_DEFS+= VARBASE
OWN_DIRS+= ${VARBASE}/run/watchman
pre-configure:
cd ${WRKSRC} && ${SH} autogen.sh
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"