diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-21 06:50:35 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-21 06:50:35 +0800 |
commit | 75d551abd4496145b5376e1d147aeb93c456cd4e (patch) | |
tree | 3c0ec68e4bc8421f043b979619c66dffd740524a /security | |
parent | 752cbbd263eac1111784a27b6c0a9c93ad5855e1 (diff) | |
download | freebsd-ports-gnome-75d551abd4496145b5376e1d147aeb93c456cd4e.tar.gz freebsd-ports-gnome-75d551abd4496145b5376e1d147aeb93c456cd4e.tar.zst freebsd-ports-gnome-75d551abd4496145b5376e1d147aeb93c456cd4e.zip |
Stage.
Diffstat (limited to 'security')
-rw-r--r-- | security/razorback-fileInject/Makefile | 21 | ||||
-rw-r--r-- | security/razorback-fileInject/pkg-plist | 2 |
2 files changed, 4 insertions, 19 deletions
diff --git a/security/razorback-fileInject/Makefile b/security/razorback-fileInject/Makefile index 62e0b4f06a62..5b57ab9e8155 100644 --- a/security/razorback-fileInject/Makefile +++ b/security/razorback-fileInject/Makefile @@ -21,25 +21,12 @@ LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api \ 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> diff --git a/security/razorback-fileInject/pkg-plist b/security/razorback-fileInject/pkg-plist index a7b0f975cd32..6a95f09ceb89 100644 --- a/security/razorback-fileInject/pkg-plist +++ b/security/razorback-fileInject/pkg-plist @@ -1,5 +1,3 @@ bin/fileInject -@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 -@exec if [ ! -f %D/etc/razorback/fileInject.conf ]; then cp -p %D/%F %B/fileInject.conf; fi @dirrmtry etc/razorback |