1998-07-19 02:37:30 +00:00
|
|
|
# ports collection makefile for: Constant DataBase
|
2000-03-20 21:47:46 +00:00
|
|
|
# Version required: 0.75
|
1998-07-19 02:37:30 +00:00
|
|
|
# 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-03-20 21:47:46 +00:00
|
|
|
DISTNAME= cdb-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
|
|
|
INSTALL_TARGET= setup
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${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>
|