ports/databases/cego/Makefile
Björn Lemke 0fdd0ce675 */*: update several cego related ports
devel/lfcbase 1.18.11 -> 1.19.0
- Changed Datetime::asLong to return signed long values ( long long ).
  This is needed to support timestamp values before 01.01.1970,
  which are signed negative

databases/cego 2.50.6 -> 2.51.0
- consolidate grammar productions for query conditions and
  procedure conditions
- Since CegoPredicate::CompType has received new type EXPRONLY,
  this requires a tableset export/import for upgrading to this version
  ( for predicate encoding / decoding )
- Several changed in CegoFieldValue to switch from Datetime integer
  type unsigned long long to long long. This is required to support
  datetime comparison for values before 01.01.1970

databases/cegobridge 1.8.1 -> 1.9.0
- adapt to cego 2.51.0
2025-04-05 18:07:10 +02:00

48 lines
1.2 KiB
Makefile

PORTNAME= cego
PORTVERSION= 2.51.0
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}/cgpluscheck/Makefile.in \
${WRKSRC}/cgwrapcheck/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>