pkgsrc/devel/hs-fsnotify/Makefile
pho e651689e97 devel/hs-fsnotify: Use hinotify on Linux and some BSDs
On any other platforms it falls back to the polling method as the last
resort, which is obviously isn't very practical.
2022-02-26 12:33:45 +00:00

27 lines
767 B
Makefile

# $NetBSD: Makefile,v 1.6 2022/02/26 12:33:45 pho Exp $
DISTNAME= fsnotify-0.3.0.1
PKGREVISION= 5
CATEGORIES= devel
MAINTAINER= pho@cielonegro.org
COMMENT= Cross platform library for file change notification
LICENSE= modified-bsd
# On these platforms fsnotify depends on additional packages which
# haven't been packaged yet.
BROKEN_ON_PLATFORM+= Darwin-*-*
PLIST_SRC+= PLIST.common
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "Linux" || !empty(OPSYS:M*BSD)
. include "../../devel/hs-hinotify/buildlink3.mk"
. include "../../devel/hs-shelly/buildlink3.mk"
PLIST_SRC+= PLIST.inotify
.endif
.include "../../devel/hs-async/buildlink3.mk"
.include "../../devel/hs-unix-compat/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"