freebsd-ports/sysutils/watchman/Makefile
Yuri Victorovich 2439819ae3 devel/double-conversion: Update 3.0.0 -> 3.1.5-11
Maintainer reset due to the extended timeout, as per policy.
Take maintainership.

7 ports are bumped.

PR:		239367
Approved by:	waitman@waitman.net (maintainer's timeout; ~6months on a PR#235789 for the same port)
2019-08-04 17:15:40 +00:00

51 lines
1.3 KiB
Makefile

# Created by: Jin-Sih, Lin <linpct@gmail.com>
# $FreeBSD$
PORTNAME= watchman
PORTVERSION= 4.5.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= linpct@gmail.com
COMMENT= File alteration monitoring service
LICENSE= APACHE20
BROKEN_mips= fails to build: watchman.h:169: undefined reference to '__sync_add_and_fetch_8'
BROKEN_mips64= fails to build: watchman.h:169: undefined reference to '__sync_add_and_fetch_8'
USE_GITHUB= yes
GH_ACCOUNT= facebook
USES= autoreconf gmake pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_prog_HAVE_ARC=false ac_cv_header_sys_inotify_h=no
CONFIGURE_ARGS= --without-python --without-ruby # in separate ports
TEST_TARGET= check
PLIST_FILES= bin/${PORTNAME} \
"@dir(,,2777) /var/run/${PORTNAME}"
PORTDOCS= README.markdown
OPTIONS_DEFINE= BACKTRACE PCRE DOCS
OPTIONS_DEFAULT=BACKTRACE PCRE
BACKTRACE_DESC= Stack backtrace support via (lib)execinfo
BACKTRACE_LIBS= -lexecinfo
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
PCRE_CONFIGURE_WITH= pcre
CPPFLAGS+= -Wno-error
post-patch:
# https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
@${REINPLACE_CMD} -e 's,xprefix/var,localstatedir,' \
-e '\,/etc, { s//$$sysconfdir/; /=/s/^/eval /; }' \
${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/^docdir = /d' \
-e '/not-empty/d; /chmod g+s/d;' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>