6d33a1e8be
Version 5.1, 2016-07-06 * Globbing patterns in #include statement If argument to the #include statement contains wildcard characters (*, [, ], or ?), it is interpreted as shell globbing pattern and all files matching that pattern are included, in lexicographical order. If no matching files are found, the directive is replaced with an empty line. * New watcher option 'shell' The 'shell' option causes watcher command to be executed via '/bin/sh' (by default it is invoked directly, using the 'execve' function). For example: watcher { path "/etc/httpd/vhosts"; command "/usr/bin/scanhosts && service httpd restart"; option (shell); } * Include path If the argument to the #include (#include_once) statement is not an absolute file name or globbing pattern, it is looked up in the include search path. The order of look up is as follows. First, directories given with '-I' options (see below) are scanned, in the same order as given on the command line. If no matching file is found in any of them, directories in the standard include search path are scanned. By default, the standard include search path contains two directories: '$(pkgdatadir)/$(VERSION)' and '$(pkgdatadir)/include', where $(pkgdatadir) and $(VERSION) stand for the package data directory, and package version, correspondingly. It can be redefined at compile time using the '--with-include-path' to configure, e.g.: ./configure --with-include-path='$(sysconfdir)/direvent.d:$(pkgdatadir)/$(VERSION):$(pkgdatadir)/include' (see the file INSTALL, section "Building and Configuring", for a detailed discussion of this option). To inspect the actual path at runtime, run 'direvent --help', and look for the string 'Include search path:' in its output. * New command line option -I (--include) The '-I DIR' command line option adds DIR to the include search path. When looking for include files, directories given with '-I' options are scanned first. If the file is not found, the directories in the standard include path are scanned.
20 lines
486 B
Makefile
20 lines
486 B
Makefile
# $NetBSD: Makefile,v 1.3 2016/07/07 08:39:12 wiz Exp $
|
|
|
|
DISTNAME= direvent-5.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=direvent/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://ftp.gnu.org/gnu/direvent/
|
|
COMMENT= Daemon that monitors file system directories for events
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
TEST_TARGET= check
|
|
INFO_FILES= yes
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|