1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
This commit is contained in:
Adam Weinberger 2014-08-20 23:05:18 +00:00
parent 8635dfdec2
commit 03c8980bdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365518
2 changed files with 5 additions and 21 deletions

View File

@ -22,7 +22,7 @@ BUILD_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-mast
RUN_DEPENDS= razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget \
wine:${PORTSDIR}/emulators/wine
USES= pkgconfig
USES= pkgconfig libtool
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON= only supported under i386 due to wine requirements
@ -30,26 +30,13 @@ ONLY_FOR_ARCHS_REASON= only supported under i386 due to wine requirements
OPTIONS_DEFINE= DEBUG ASSERT
ASSERT_DESC= Enable Asserts
NO_STAGE= yes
.include <bsd.port.options.mk>
RB_LIBDIR?= ${PREFIX}/lib/razorback
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool autoconf
USE_AUTOTOOLS= autoconf
USE_LDCONFIG= ${RB_LIBDIR}
INSTALL_TARGET= install-strip
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--enable-debug
.endif
.if ${PORT_OPTIONS:MASSERT}
CONFIGURE_ARGS+=--enable-assert
.endif
post-install:
${LN} -sf ${RB_LIBDIR}/officeCat.so.2 ${RB_LIBDIR}/officeCat.so.2.0.0
@if [ ! -f ${PREFIX}/etc/razorback/officecat.conf ]; then \
${CP} -p ${PREFIX}/etc/razorback/officecat.conf.sample ${PREFIX}/etc/razorback/officecat.conf ; \
fi
DEBUG_CONFIGURE_ENABLE= debug
ASSERT_CONFIGURE_ENABLE=assert
.include <bsd.port.mk>

View File

@ -1,11 +1,8 @@
@unexec if cmp -s %D/etc/razorback/officecat.conf %D/etc/razorback/officecat.conf.sample; then rm -f %D/etc/razorback/officecat.conf; fi
etc/razorback/officecat.conf.sample
@exec if [ ! -f %D/etc/razorback/officecat.conf ]; then cp %D/%F %B/officecat.conf; fi
@dirrmtry etc/razorback
lib/razorback/officeCat.so.2.0.0
lib/razorback/officeCat.so.2
lib/razorback/officeCat.so
lib/razorback/officeCat.la
lib/razorback/officeCat.a
@dirrmtry lib/razorback
libexec/razorback/officeCat/officecat.exe