7f6747cfa3
Since time_t size is unspecified, the only way to print it correctly is by using %ld while casting the value to long
This is what upstream does for a long time:
f2ec20fb2d
Approved by: portmgr blanket
MFH: 2015Q2
36 lines
722 B
Makefile
36 lines
722 B
Makefile
# Created by: Jin-Sih, Lin <linpct@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= watchman
|
|
PORTVERSION= 3.0.0
|
|
DISTVERSIONPREFIX= v
|
|
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
|
|
|
|
USES= autoreconf gmake pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_prog_HAVE_ARC=false
|
|
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
|
|
|
|
.include <bsd.port.mk>
|