1998-07-19 02:37:30 +00:00
|
|
|
# ports collection makefile for: Constant DataBase
|
|
|
|
# Date created: 18th July 1998
|
|
|
|
# Whom: Gary Palmer <gpalmer@freebsd.org>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-07-19 02:37:30 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
PORTNAME= cdb
|
|
|
|
PORTVERSION= 0.75
|
1998-07-19 02:37:30 +00:00
|
|
|
CATEGORIES= databases
|
2000-03-20 21:47:46 +00:00
|
|
|
MASTER_SITES= http://cr.yp.to/cdb/
|
1998-07-19 02:37:30 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-07-19 02:37:30 +00:00
|
|
|
|
|
|
|
ALL_TARGET= it
|
2000-03-20 21:47:46 +00:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${MV} ${WRKSRC}/conf-home ${WRKSRC}/conf-home.orig
|
|
|
|
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
|
|
|
|
@${MV} ${WRKSRC}/conf-cc ${WRKSRC}/conf-cc.orig
|
|
|
|
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
|
|
|
@${MV} ${WRKSRC}/conf-ld ${WRKSRC}/conf-ld.orig
|
|
|
|
${ECHO} ${CC} -s > ${WRKSRC}/conf-ld
|
|
|
|
|
2000-11-26 15:10:07 +00: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
|
2000-03-20 21:47:46 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/cdb.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cdb.a ${PREFIX}/lib/libcdb.a
|
1998-07-19 02:37:30 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|