2017-04-10 11:46:32 +00:00

32 lines
703 B
Makefile

# $OpenBSD: Makefile,v 1.7 2017/04/10 11:46:33 sthen Exp $
COMMENT = cron-like daemon but reacting to filesystem events
DISTNAME = incron-0.5.10
REVISION = 0
CATEGORIES = sysutils
HOMEPAGE = http://inotify.aiken.cz/
MASTER_SITES = http://inotify.aiken.cz/download/incron/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += lib/inotify/inotify c m pthread ${LIBCXX}
BUILD_DEPENDS = devel/argp-standalone
LIB_DEPENDS = devel/libinotify
MAKE_FLAGS = CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/inotify" \
CXX="${CXX}" \
CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib/inotify -linotify -Wl,-rpath,${LOCALBASE}/lib/inotify"
USE_GMAKE = Yes
NO_TEST = Yes
.include <bsd.port.mk>