2015-05-10 07:41:59 +00:00
|
|
|
# $NetBSD: Makefile,v 1.2 2015/05/10 07:41:59 thomasklausner Exp $
|
2015-05-07 22:25:32 +00:00
|
|
|
|
2018-07-03 12:46:10 +00:00
|
|
|
DISTNAME= fswatch-1.12.0
|
2015-05-07 22:25:32 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=emcrisostomo/}
|
2016-02-09 11:11:14 +00:00
|
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
2015-05-07 22:25:32 +00:00
|
|
|
|
|
|
|
HOMEPAGE= https://github.com/emcrisostomo/fswatch
|
|
|
|
COMMENT= Cross-platform file change monitor with multiple backends
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
2018-05-14 16:04:41 +00:00
|
|
|
USE_LANGUAGES= c c++11
|
2015-05-07 22:25:32 +00:00
|
|
|
USE_TOOLS+= gmake autoconf automake makeinfo
|
|
|
|
INFO_FILES= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
2016-01-16 08:43:48 +00:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2016-04-11 14:29:59 +00:00
|
|
|
GCC_REQD+= 4.8
|
|
|
|
|
2016-01-16 08:43:48 +00:00
|
|
|
PLIST_VARS+= fen fsevents inotify kqueue
|
|
|
|
|
|
|
|
.if ${OPSYS} == "Darwin"
|
2016-01-31 10:39:40 +00:00
|
|
|
PLIST.fsevents= yes
|
|
|
|
.elif ${OPSYS} == "Linux"
|
|
|
|
PLIST.inotify= yes
|
2016-01-16 08:43:48 +00:00
|
|
|
.elif ${OPSYS} == "SunOS"
|
2016-01-31 10:39:40 +00:00
|
|
|
CONFIGURE_ARGS+= ac_cv_header_sys_inotify_h=no
|
|
|
|
PLIST.fen= yes
|
2016-01-16 08:43:48 +00:00
|
|
|
.endif
|
|
|
|
.if defined(PKG_HAVE_KQUEUE)
|
2016-01-31 10:39:40 +00:00
|
|
|
PLIST.kqueue= yes
|
2016-01-16 08:43:48 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2015-05-07 22:25:32 +00:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|