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