mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
c0b1ac34df
- Changed CegoQueryHelper methods to static - Fix for CegoBTreeManager and friends regarding small string values ( string(1) ) - Please note, that this fix invalidates btree format. Btrees have to be recreated after this fix, databases need to be exported and imported. Submitted by: Bjoern Lemke <lemke@lemke-it.com>
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cego
|
|
PORTVERSION= 2.31.5
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.lemke-it.com/
|
|
|
|
MAINTAINER= pi@FreeBSD.org
|
|
COMMENT= Relational and transactional database system
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= liblfcbase.so:devel/lfcbase \
|
|
liblfcxml.so:devel/lfcxml
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/sudo:security/sudo
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USES= libtool ncurses readline shebangfix
|
|
SHEBANG_FILES= tools/cgbackup tools/cgrecover
|
|
|
|
USERS= cego
|
|
GROUPS= cego
|
|
|
|
PLIST_SUB+= USER=${USERS}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,-O3,,g' \
|
|
${WRKSRC}/src/Makefile.in \
|
|
${WRKSRC}/samples/cgplustest/Makefile.in \
|
|
${WRKSRC}/samples/cgwraptest/Makefile.in
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${CP} ${WRKSRC}/tools/* ${STAGEDIR}${DATADIR}
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
|
|
${REINPLACE_CMD} -e 's/%%USER%%/${USERS}/g' ${WRKSRC}/samples/rc/cego
|
|
${CP} ${WRKSRC}/samples/rc/cego ${STAGEDIR}${PREFIX}/etc/rc.d/
|
|
|
|
post-stage:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcego.so.2.0.0
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgwrap.so.2.0.0
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${MAKE} check
|
|
|
|
.include <bsd.port.mk>
|