mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add a port of watchman, file alteration monitor from Facebook.
WWW: https://facebook.github.io/watchman/ PR: 199061
This commit is contained in:
parent
e0551d0b60
commit
b0ba641aa3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383908
4 changed files with 44 additions and 1 deletions
|
@ -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
|
||||
|
|
36
sysutils/watchman/Makefile
Normal file
36
sysutils/watchman/Makefile
Normal file
|
@ -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>
|
2
sysutils/watchman/distinfo
Normal file
2
sysutils/watchman/distinfo
Normal file
|
@ -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
|
4
sysutils/watchman/pkg-descr
Normal file
4
sysutils/watchman/pkg-descr
Normal file
|
@ -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/
|
Loading…
Add table
Reference in a new issue