f11fba9295
What are the distribution terms for cdb? 2009.07.21: I hereby place the cdb package (in particular, cdb-0.75.tar.gz, with MD5 checksum 81fed54d0bde51b147dd6c20cdb92d51) into the public domain. The package is no longer copyrighted.
31 lines
906 B
Makefile
31 lines
906 B
Makefile
# $NetBSD: Makefile,v 1.21 2009/07/23 12:43:18 schmonz Exp $
|
|
|
|
DISTNAME= cdb-0.75
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://cr.yp.to/cdb/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://cr.yp.to/cdb.html
|
|
COMMENT= Creates and reads constant databases
|
|
LICENSE= public-domain
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS+= tinycdb-[0-9]*
|
|
|
|
DJB_RESTRICTED= YES
|
|
|
|
INSTALLATION_DIRS= bin include lib
|
|
|
|
do-install:
|
|
for prog in cdbdump cdbget cdbmake cdbstats cdbtest; do \
|
|
${INSTALL_PROGRAM} ${WRKSRC}/$$prog ${DESTDIR}${PREFIX}/bin; \
|
|
done
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cdbmake-12 ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cdbmake-sv ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/cdb.h ${DESTDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/cdb.a ${DESTDIR}${PREFIX}/lib/libcdb.a
|
|
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|