freebsd-ports/databases/tinycdb/Makefile
Po-Chuan Hsieh 0643004835
databases/tinycdb: Update to 0.80
Changes:
- bugfix: cdb utility: check return value from close() too, when creating the
  cdb file
- portability: cdb utility: ignore SIGXFSZ signal if defined, to be able to
  clean up when exceeding file limit
- robustness: let cdb_make_start to lseek() to the zero position of file. This
  ensures the file is seekable right at the start instead of at the very end,
  too
 - portability use SEE_SET macro instead of 0 for lseek()
 - split out cdb_pack() into its own .c file
2023-09-22 11:16:54 +08:00

24 lines
558 B
Makefile

PORTNAME= tinycdb
PORTVERSION= 0.80
CATEGORIES= databases
MASTER_SITES= http://www.corpit.ru/mjt/tinycdb/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Analogous to cdb, but faster
WWW= https://www.corpit.ru/mjt/tinycdb.html
LICENSE= PD
USES= gmake
ALL_TARGET= static sharedlib
INSTALL_TARGET= install install-sharedlib
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}"
USE_LDCONFIG= yes
CONFLICTS_INSTALL= libcdb # lib/libcdb.a
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cdb ${STAGEDIR}${PREFIX}/lib/libcdb.so
.include <bsd.port.mk>