Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2015 11:06:28 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383908 - in head/sysutils: . watchman
Message-ID:  <201504131106.t3DB6Ska026009@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Mon Apr 13 11:06:27 2015
New Revision: 383908
URL: https://svnweb.freebsd.org/changeset/ports/383908

Log:
  Add a port of watchman, file alteration monitor from Facebook.
  
  WWW: https://facebook.github.io/watchman/
  
  PR:	199061

Added:
  head/sysutils/watchman/
  head/sysutils/watchman/Makefile   (contents, props changed)
  head/sysutils/watchman/distinfo   (contents, props changed)
  head/sysutils/watchman/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Mon Apr 13 10:35:14 2015	(r383907)
+++ head/sysutils/Makefile	Mon Apr 13 11:06:27 2015	(r383908)
@@ -1030,10 +1030,11 @@
     SUBDIR += vpnc-scripts
     SUBDIR += vstrip
     SUBDIR += vttest
-    SUBDIR += warden
     SUBDIR += wait_on
+    SUBDIR += warden
     SUBDIR += watchdog
     SUBDIR += watchfolder
+    SUBDIR += watchman
     SUBDIR += watchmen
     SUBDIR += webjob
     SUBDIR += webmin

Added: head/sysutils/watchman/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/watchman/Makefile	Mon Apr 13 11:06:27 2015	(r383908)
@@ -0,0 +1,36 @@
+# Created by: Jin-Sih, Lin <linpct@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	watchman
+PORTVERSION=	3.0.0
+CATEGORIES=	sysutils
+
+MAINTAINER=	linpct@gmail.com
+COMMENT=	File alteration monitoring service
+
+LICENSE=	APACHE20
+
+LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	facebook
+GH_TAGNAME=	v${PORTVERSION}
+
+USES=		autoreconf gmake pkgconfig
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-pcre
+
+.if defined(BATCH) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+=	--disable-silent-rules
+.endif
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+
+PLIST_FILES=	bin/watchman
+PORTDOCS=	README.markdown
+
+post-patch:
+	@${REINPLACE_CMD} -e '/^docdir = /d' ${WRKSRC}/Makefile.am
+	@${REINPLACE_CMD} -e '/timestamp=/s,%ld,%d,' ${WRKSRC}/root.c
+
+.include <bsd.port.mk>

Added: head/sysutils/watchman/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/watchman/distinfo	Mon Apr 13 11:06:27 2015	(r383908)
@@ -0,0 +1,2 @@
+SHA256 (facebook-watchman-3.0.0-v3.0.0_GH0.tar.gz) = 9481c801b848acaa2783e511faaeae8d276e624e2703bd53f4e33cc9d0c0f12f
+SIZE (facebook-watchman-3.0.0-v3.0.0_GH0.tar.gz) = 199034

Added: head/sysutils/watchman/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/watchman/pkg-descr	Mon Apr 13 11:06:27 2015	(r383908)
@@ -0,0 +1,4 @@
+Watchman exists to watch files and record when they change.  It can also
+trigger actions (such as rebuilding assets) when matching files change.
+
+WWW: https://facebook.github.io/watchman/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504131106.t3DB6Ska026009>