svn commit: r361562 - head/security/razorback-fsWalk
Pawel Pekala
pawel at FreeBSD.org
Fri Jul 11 16:10:07 UTC 2014
Author: pawel
Date: Fri Jul 11 16:10:06 2014
New Revision: 361562
URL: http://svnweb.freebsd.org/changeset/ports/361562
QAT: https://qat.redports.org/buildarchive/r361562/
Log:
- Add staging support
- Convert to new LIB_DEPENDS format, options helpers, USES=libtool
- Use @sample for config file
Modified:
head/security/razorback-fsWalk/Makefile
head/security/razorback-fsWalk/pkg-plist
Modified: head/security/razorback-fsWalk/Makefile
==============================================================================
--- head/security/razorback-fsWalk/Makefile Fri Jul 11 16:08:25 2014 (r361561)
+++ head/security/razorback-fsWalk/Makefile Fri Jul 11 16:10:06 2014 (r361562)
@@ -8,36 +8,22 @@ MASTER_SITES= SF/razorbacktm/Nuggets
PKGNAMEPREFIX= razorback-
DIST_SUBDIR= razorback
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ports at 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>
+OPTIONS_DEFINE= DEBUG ASSERT
-.if !empty(PORT_OPTIONS:MDEBUG)
-CONFIGURE_ARGS+=--enable-debug
-.endif
-
-.if !empty(PORT_OPTIONS:MASSERT)
-CONFIGURE_ARGS+=--enable-assert
-.endif
-
-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>
Modified: head/security/razorback-fsWalk/pkg-plist
==============================================================================
--- head/security/razorback-fsWalk/pkg-plist Fri Jul 11 16:08:25 2014 (r361561)
+++ head/security/razorback-fsWalk/pkg-plist Fri Jul 11 16:10:06 2014 (r361562)
@@ -1,5 +1,2 @@
bin/fsWalk
- at 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
- at exec if [ ! -f %D/etc/razorback/fsWalk.conf ]; then cp -p %D/%F %B/fsWalk.conf; fi
- at dirrmtry etc/razorback
+ at sample etc/razorback/fsWalk.conf.sample
More information about the svn-ports-all
mailing list