freebsd-ports/databases/cego/Makefile
Björn Lemke 55e6b1884c databases/cego: update 2.48.45 -> 2.48.48
- Fix in CegoAdmScreen::TableSet::TableSet constructor,
  SysUsage field added to indicate correct usage
  for system, temp and app files
- Patch added for transaction handling in CegoTransactionManager::doCommit
  and CegoTableManager::deleteDataTableEntry.
  Just for tuple state COMMITTED, a rollback entry must be created,
  otherwise double tuple delete may occur.
  For tuple state INSERTED, tuple state is just set to OBSOLETE,
  for tuple state OBSOLETE and DELETED, nothing has to be done.
  In CegoTableManager::doCommit, tuple state just has to be set
  to COMMITTED in case of INSERTED tuples
- Elimination of a cout in CegoQueryCache::QueryCacheEntry::cleanCache
2024-04-01 16:54:20 +02:00

47 lines
1.2 KiB
Makefile

PORTNAME= cego
PORTVERSION= 2.48.48
CATEGORIES= databases
MASTER_SITES= http://www.lemke-it.com/
MAINTAINER= pi@FreeBSD.org
COMMENT= Relational and transactional database system
WWW= https://www.lemke-it.com/
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>