svn commit: r383908 - in head/sysutils: . watchman
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Apr 13 11:06:29 UTC 2015
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 at gmail.com>
+# $FreeBSD$
+
+PORTNAME= watchman
+PORTVERSION= 3.0.0
+CATEGORIES= sysutils
+
+MAINTAINER= linpct at 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/
More information about the svn-ports-all
mailing list