pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/watchman (pkgsrc)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b79d4e5caeb
branches:  trunk
changeset: 650729:4b79d4e5caeb
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Apr 26 05:38:18 2015 +0000

description:
(pkgsrc)
 - Convert to MASTER_SITE_GITHUB, thanks tnn
 - Add SUBST to set VARBASE for WATCHMAN_STATE_DIR
(upstream)
 - Update 3.0.0 to 3.1
 .. ChangeLog doesn't seem to be available

diffstat:

 sysutils/watchman/Makefile |  18 +++++++++++++++---
 sysutils/watchman/PLIST    |   4 ++--
 sysutils/watchman/distinfo |   8 ++++----
 3 files changed, 21 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r 70c4ba826a1a -r 4b79d4e5caeb sysutils/watchman/Makefile
--- a/sysutils/watchman/Makefile        Sun Apr 26 04:32:21 2015 +0000
+++ b/sysutils/watchman/Makefile        Sun Apr 26 05:38:18 2015 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.5 2015/03/15 15:28:24 tnn Exp $
+# $NetBSD: Makefile,v 1.6 2015/04/26 05:38:18 mef Exp $
 
 DISTNAME=      watchman-${VERSION}
-VERSION=       3.0.0
+VERSION=       3.1
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=facebook/}
+GITHUB_PROJECT=        watchman
+GITHUB_TAG=    v3.1
 CATEGORIES=    sysutils
-MASTER_SITES=  -https://github.com/facebook/watchman/archive/v${VERSION}.tar.gz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/facebook/watchman/
@@ -17,6 +19,16 @@
 CONFIGURE_ARGS+=       --enable-conffile=${PKG_SYSCONFDIR}/watchman.json
 CONFIGURE_ARGS+=       --with-pcre
 
+BUILD_DEFS+=           VARBASE
+
+SUBST_CLASSES+=                varbase
+SUBST_MESSAGE.varbase= set WATCHMAN_STATE_DIR to ${VARBASE}/run/watchman
+SUBST_STAGE.varbase=   pre-configure
+SUBST_FILES.varbase=   configure.ac
+SUBST_SED.varbase=     -e '/^WATCHMAN_STATE_DIR/s,\\$$(prefix)/var/,${DESTDIR}${VARBASE}/,'
+
+PLIST_SUBST+=          API_VERSION=${PKGNAME}.0
+
 pre-configure:
        cd ${WRKSRC} && ${SH} autogen.sh
 
diff -r 70c4ba826a1a -r 4b79d4e5caeb sysutils/watchman/PLIST
--- a/sysutils/watchman/PLIST   Sun Apr 26 04:32:21 2015 +0000
+++ b/sysutils/watchman/PLIST   Sun Apr 26 05:38:18 2015 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2014/08/09 22:59:30 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/04/26 05:38:18 mef Exp $
 bin/watchman
-share/doc/${PKGNAME}/README.markdown
+share/doc/${API_VERSION}/README.markdown
diff -r 70c4ba826a1a -r 4b79d4e5caeb sysutils/watchman/distinfo
--- a/sysutils/watchman/distinfo        Sun Apr 26 04:32:21 2015 +0000
+++ b/sysutils/watchman/distinfo        Sun Apr 26 05:38:18 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2015/02/14 22:36:53 nros Exp $
+$NetBSD: distinfo,v 1.5 2015/04/26 05:38:18 mef Exp $
 
-SHA1 (watchman-3.0.0.tar.gz) = cd62a0185401536455e3b6a67c3ee146e291ac9e
-RMD160 (watchman-3.0.0.tar.gz) = 288c8262375dd5166a22c96b643d9d7fdf170148
-Size (watchman-3.0.0.tar.gz) = 199034 bytes
+SHA1 (watchman-3.1.tar.gz) = eb5572cd9cf4ce2b8e31d51ed22d5ec8cc6301ae
+RMD160 (watchman-3.1.tar.gz) = a97176d48fe81a8c187836d1ef87646d3f3cbe1d
+Size (watchman-3.1.tar.gz) = 210849 bytes



Home | Main Index | Thread Index | Old Index