freebsd-ports/databases/cego/Makefile
Kurt Jaeger 47e263b158 devel/lfcbase: update 1.11.8 -> 1.11.9
databases/cego: update 2.39.15 -> 2.39.16

lfcbase:
- Introduced new method File::flush to force synchronization of data to disk

cego:
- Fix in CegoObjectManager::insertPageData, new data entry is checked
  now for maximum available space in page. This is done if a new
  data page has to be allocated and the data entry still fits not
  into page
- Added File::flush method to CegoLogManager and CegoFileHandler
  to synchronize log data and datafile data to disk

Submitted by:	Bjoern Lemke <lemke@lemke-it.com>
2018-04-24 05:22:57 +00:00

48 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= cego
PORTVERSION= 2.39.16
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 \
bash:shells/bash
USES= libtool localbase ncurses readline shebangfix
SHEBANG_FILES= tools/cgbackup tools/cgrecover tools/cgsimload \
tools/logManager tools/backupManager
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
TEST_TARGET= check
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/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcego.so.2.0.0
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgwrap.so.2.0.0
.include <bsd.port.mk>