freebsd-ports/databases/tinycdb/Makefile
Po-Chuan Hsieh 20af2f57e6
databases/tinycdb: Update to 0.81
- Update manpage location (003a571d1d, r523104)

Changes:
 - ship simple libcdb.pc (install it to pkgconfdir=$(libdir)/pkgconfig)
 - to avoid further questions, change license from "Public domain" to MIT
   license, add copyright and license text to all source files.
 - change default compiler optimization level from -O to -O2, use gnu tar
   --transform option to create dist archive, other small changes to Makefile
2024-02-21 23:06:18 +08:00

28 lines
638 B
Makefile

PORTNAME= tinycdb
PORTVERSION= 0.81
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}" \
mandir=${PREFIX}/share/man \
pkgconfdir=${PREFIX}/libdata/pkgconfig \
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>