blob: 0a715ef05bf6e599506c62072403f4a73230b8b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.12 2004/07/26 19:29:44 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
RESTRICTED= "modified source and binaries may not be distributed"
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
ALL_TARGET= it
INSTALL_TARGET= setup check
INSTALLATION_DIRS= bin include lib
do-configure:
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
post-install:
${INSTALL_DATA} ${WRKSRC}/cdb.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/cdb.a ${PREFIX}/lib/libcdb.a
.include "../../mk/bsd.pkg.mk"
|