1998-07-19 04:37:30 +02:00
|
|
|
# ports collection makefile for: Constant DataBase
|
|
|
|
# Date created: 18th July 1998
|
|
|
|
# Whom: Gary Palmer <gpalmer@freebsd.org>
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1998-07-19 04:37:30 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:49:07 +02:00
|
|
|
PORTNAME= cdb
|
|
|
|
PORTVERSION= 0.75
|
1998-07-19 04:37:30 +02:00
|
|
|
CATEGORIES= databases
|
2000-03-20 22:47:46 +01:00
|
|
|
MASTER_SITES= http://cr.yp.to/cdb/
|
1998-07-19 04:37:30 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A fast lookup database library & utilities
|
1998-07-19 04:37:30 +02:00
|
|
|
|
|
|
|
ALL_TARGET= it
|
2000-03-20 22:47:46 +01:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${MV} ${WRKSRC}/conf-home ${WRKSRC}/conf-home.orig
|
2002-01-29 10:45:01 +01:00
|
|
|
${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
|
2000-03-20 22:47:46 +01:00
|
|
|
@${MV} ${WRKSRC}/conf-cc ${WRKSRC}/conf-cc.orig
|
2002-01-29 10:45:01 +01:00
|
|
|
${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
2000-03-20 22:47:46 +01:00
|
|
|
@${MV} ${WRKSRC}/conf-ld ${WRKSRC}/conf-ld.orig
|
2002-01-29 10:45:01 +01:00
|
|
|
${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
|
2000-03-20 22:47:46 +01:00
|
|
|
|
2000-11-26 16:10:07 +01:00
|
|
|
do-install:
|
|
|
|
.for file in cdbdump cdbget cdbmake cdbstats cdbtest
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
.for file in cdbmake-12 cdbmake-sv
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
|
|
|
|
.endfor
|
1998-07-19 04:37:30 +02:00
|
|
|
|
2006-02-21 08:55:35 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == amd64
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|