Stage.
This commit is contained in:
parent
201ca05132
commit
8635dfdec2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365517
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user