svn commit: r365517 - head/security/razorback-fileInject

Adam Weinberger adamw at FreeBSD.org
Wed Aug 20 22:50:36 UTC 2014


Author: adamw
Date: Wed Aug 20 22:50:35 2014
New Revision: 365517
URL: http://svnweb.freebsd.org/changeset/ports/365517
QAT: https://qat.redports.org/buildarchive/r365517/

Log:
  Stage.

Modified:
  head/security/razorback-fileInject/Makefile
  head/security/razorback-fileInject/pkg-plist

Modified: head/security/razorback-fileInject/Makefile
==============================================================================
--- head/security/razorback-fileInject/Makefile	Wed Aug 20 21:27:56 2014	(r365516)
+++ head/security/razorback-fileInject/Makefile	Wed Aug 20 22:50:35 2014	(r365517)
@@ -21,25 +21,12 @@ LIB_DEPENDS=	librazorback_api.so:${PORTS
 OPTIONS_DEFINE=	DEBUG ASSERT
 
 GNU_CONFIGURE=	yes
-USES=		pkgconfig
-USE_AUTOTOOLS=	libtool autoconf
+USES=		pkgconfig libtool
+USE_AUTOTOOLS=	autoconf
 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
-
-post-install:
-	@if [ ! -f ${PREFIX}/etc/razorback/fileInject.conf ]; then \
-		${CP} -p ${PREFIX}/etc/razorback/fileInject.conf.sample ${PREFIX}/etc/razorback/fileInject.conf ; \
-	fi
+DEBUG_CONFIGURE_ENABLE=	debug
+ASSERT_CONFIGURE_ENABLE=assert
 
 .include <bsd.port.mk>

Modified: head/security/razorback-fileInject/pkg-plist
==============================================================================
--- head/security/razorback-fileInject/pkg-plist	Wed Aug 20 21:27:56 2014	(r365516)
+++ head/security/razorback-fileInject/pkg-plist	Wed Aug 20 22:50:35 2014	(r365517)
@@ -1,5 +1,3 @@
 bin/fileInject
- at unexec if cmp -s %D/etc/razorback/fileInject.conf %D/etc/razorback/fileInject.conf.sample; then rm -f %D/etc/razorback/fileInject.conf; fi
 etc/razorback/fileInject.conf.sample
- at exec if [ ! -f %D/etc/razorback/fileInject.conf ]; then cp -p %D/%F %B/fileInject.conf; fi
 @dirrmtry etc/razorback


More information about the svn-ports-all mailing list