Created attachment 157967 [details] watchman-3.2.patch
Plist problem: https://people.freebsd.org/~amdmi3/watchman.log
Hi, is there better way to remove this file? (var/run/watchman/.not-empty) Or I must keep it at plist? Thanks.
First, you need to make it use /var instead of PREFIX/var as portlint suggests. Adding --localstatedir=/var to CONFIGURE_ARGS should help. To deal with the file, you may either 1) Just add it to plist 2) Patch Makefile.am to not create it 3) Remove it with ${RM} in post-install 4) Comment it in plist with @comment /var/run/watchman/.not-empty The latter is probably the most easy and clean way to deal with it. Either case, you also need @dir(,,777) /var/run/watchman in the plist to handle the directory. You may still keep these in PLIST_FILES: PLIST_FILES= bin/watchman \ "@comment /var/run/watchman/.not-empty" \ "@dir(,,777) /var/run/watchman" or switch to separate pkg-plist file.
Thanks for your kindly reply, I'll find out if var/run/watchman/.not-empty needed or not. :-)
Created attachment 158794 [details] watchman.patch
Hello, please try the new patch for 3.5.0. It is still not good for 'var/run/watchman/.not-empty' file but please give it a try, thanks.
Hi, watchman 3.5.0 is too old, current version is 4.1.0. I'll try to test and add another patch.
Created attachment 162374 [details] watchman.patch
Hi, I've update patch, needs committers' help.
On it
A commit references this bug: Author: jbeich Date: Wed Dec 9 03:19:16 UTC 2015 New revision: 403355 URL: https://svnweb.freebsd.org/changeset/ports/403355 Log: sysutils/watchman: update to 4.2.0 - Add BACKTRACE option - Convert PCRE dependency into an option - Respect PREFIX for /etc/watchman.json - Explicitly disable devel/libinotify - Connect to new testing framework PR: 201031 Submitted by: linpct@gmail.com (maintainer, based on) Reviewed by: amdmi3 (previous version) Approved by: cookie licking (47 days) Changes: head/sysutils/watchman/Makefile head/sysutils/watchman/distinfo head/sysutils/watchman/files/
A commit references this bug: Author: jbeich Date: Wed Dec 9 03:19:54 UTC 2015 New revision: 403356 URL: https://svnweb.freebsd.org/changeset/ports/403356 Log: sysutils/py-pywatchman: add new port Connect and query Watchman to discover file changes. https://pypi.python.org/pypi/pywatchman PR: 201031 Approved by: cookie licking (47 days) Changes: head/sysutils/Makefile head/sysutils/py-pywatchman/ head/sysutils/py-pywatchman/Makefile head/sysutils/py-pywatchman/distinfo head/sysutils/py-pywatchman/pkg-descr
Thanks. Committed. There's still homework left: as in "research", not necessarily "do". - gimli support - ruby and/or node.js bindings port - installing docs (see website/_docs) - system jansson (via devel/jansson)