forked from Lainports/freebsd-ports
- 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
28 lines
638 B
Makefile
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>
|