diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-07-11 16:08:25 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-07-11 16:08:25 +0000 |
commit | 13af8499cb705ed3fe03a8583e0e9f95bf01e169 (patch) | |
tree | 968f6029042e06732057e1bf4a531bc2dd0a66ce /security/razorback-fsMonitor | |
parent | e6a23076f40998a9b4befb07299b18bfda18229b (diff) | |
download | ports-13af8499cb705ed3fe03a8583e0e9f95bf01e169.tar.gz ports-13af8499cb705ed3fe03a8583e0e9f95bf01e169.zip |
- Add staging support
- Convert to new LIB_DEPENDS format, options helpers, USES=libtool
- Use @sample for config file
Notes
Notes:
svn path=/head/; revision=361561
Diffstat (limited to 'security/razorback-fsMonitor')
-rw-r--r-- | security/razorback-fsMonitor/Makefile | 29 | ||||
-rw-r--r-- | security/razorback-fsMonitor/pkg-plist | 5 |
2 files changed, 8 insertions, 26 deletions
diff --git a/security/razorback-fsMonitor/Makefile b/security/razorback-fsMonitor/Makefile index 05e4a6454917..c626e6b684e1 100644 --- a/security/razorback-fsMonitor/Makefile +++ b/security/razorback-fsMonitor/Makefile @@ -8,38 +8,23 @@ MASTER_SITES= SF/razorbacktm/Nuggets PKGNAMEPREFIX= razorback- DIST_SUBDIR= razorback -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Framework for an intelligence driven security - File System Monitor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= razorback_api.2:${PORTSDIR}/security/razorback-api \ - fam.0:${PORTSDIR}/devel/fam - -USES= pkgconfig - -OPTIONS_DEFINE= DEBUG ASSERT - -NO_STAGE= yes -.include <bsd.port.options.mk> +LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api \ + libfam.so:${PORTSDIR}/devel/fam +USES= libtool pkgconfig GNU_CONFIGURE= yes -USE_AUTOTOOLS= libtool CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if !empty(PORT_OPTIONS:MDEBUG) -CONFIGURE_ARGS+=--enable-debug -.endif - -.if !empty(PORT_OPTIONS:MASSERT) -CONFIGURE_ARGS+=--enable-assert -.endif +OPTIONS_DEFINE= DEBUG ASSERT -post-install: - @if [ ! -f ${PREFIX}/etc/razorback/fsMonitor.conf ]; then \ - ${CP} -p ${PREFIX}/etc/razorback/fsMonitor.conf.sample ${PREFIX}/etc/razorback/fsMonitor.conf ; \ - fi +ASSERT_CONFIGURE_ENABLE= assert +DEBUG_CONFIGURE_ENABLE= debug .include <bsd.port.mk> diff --git a/security/razorback-fsMonitor/pkg-plist b/security/razorback-fsMonitor/pkg-plist index eb0caee52b31..a9ea6cb50ad9 100644 --- a/security/razorback-fsMonitor/pkg-plist +++ b/security/razorback-fsMonitor/pkg-plist @@ -1,5 +1,2 @@ bin/fsMonitor -@unexec if cmp -s %D/etc/razorback/fsMonitor.conf %D/etc/razorback/fsMonitor.conf.sample; then rm -f %D/etc/razorback/fsMonitor.conf; fi -etc/razorback/fsMonitor.conf.sample -@exec if [ ! -f %D/etc/razorback/fsMonitor.conf ]; then cp -p %D/%F %B/fsMonitor.conf; fi -@dirrmtry etc/razorback +@sample etc/razorback/fsMonitor.conf.sample |