diff options
author | pawel <pawel@FreeBSD.org> | 2014-07-12 00:10:06 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-07-12 00:10:06 +0800 |
commit | 29ee748f0a984e52b9398a03ba1c652f0867cb02 (patch) | |
tree | 13be24eca77628ae416fc801224bb325c0603226 /security/razorback-fsWalk | |
parent | d8ae424b67bf54ea3f520a21a443185239716f60 (diff) | |
download | freebsd-ports-gnome-29ee748f0a984e52b9398a03ba1c652f0867cb02.tar.gz freebsd-ports-gnome-29ee748f0a984e52b9398a03ba1c652f0867cb02.tar.zst freebsd-ports-gnome-29ee748f0a984e52b9398a03ba1c652f0867cb02.zip |
- Add staging support
- Convert to new LIB_DEPENDS format, options helpers, USES=libtool
- Use @sample for config file
Diffstat (limited to 'security/razorback-fsWalk')
-rw-r--r-- | security/razorback-fsWalk/Makefile | 26 | ||||
-rw-r--r-- | security/razorback-fsWalk/pkg-plist | 5 |
2 files changed, 7 insertions, 24 deletions
diff --git a/security/razorback-fsWalk/Makefile b/security/razorback-fsWalk/Makefile index 91acb52c5f5c..e1e0a2ada789 100644 --- a/security/razorback-fsWalk/Makefile +++ b/security/razorback-fsWalk/Makefile @@ -8,36 +8,22 @@ 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 Walker LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= razorback_api.2:${PORTSDIR}/security/razorback-api - -OPTIONS_DEFINE= DEBUG ASSERT +LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api GNU_CONFIGURE= yes -USES= pkgconfig -USE_AUTOTOOLS= libtool +USES= libtool pkgconfig CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include <bsd.port.options.mk> - -.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/fsWalk.conf ]; then \ - ${CP} -p ${PREFIX}/etc/razorback/fsWalk.conf.sample ${PREFIX}/etc/razorback/fsWalk.conf ; \ - fi +ASSERT_CONFIGURE_ENABLE= assert +DEBUG_CONFIGURE_ENABLE= debug .include <bsd.port.mk> diff --git a/security/razorback-fsWalk/pkg-plist b/security/razorback-fsWalk/pkg-plist index 7cfcc01ef3f6..698df32aea89 100644 --- a/security/razorback-fsWalk/pkg-plist +++ b/security/razorback-fsWalk/pkg-plist @@ -1,5 +1,2 @@ bin/fsWalk -@unexec if cmp -s %D/etc/razorback/fsWalk.conf %D/etc/razorback/fsWalk.conf.sample; then rm -f %D/etc/razorback/fsWalk.conf; fi -etc/razorback/fsWalk.conf.sample -@exec if [ ! -f %D/etc/razorback/fsWalk.conf ]; then cp -p %D/%F %B/fsWalk.conf; fi -@dirrmtry etc/razorback +@sample etc/razorback/fsWalk.conf.sample |