1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/databases/cdb/Makefile
Akinori MUSHA c8eb0d4878 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
2002-01-29 09:45:01 +00:00

36 lines
937 B
Makefile

# ports collection makefile for: Constant DataBase
# Date created: 18th July 1998
# Whom: Gary Palmer <gpalmer@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= cdb
PORTVERSION= 0.75
CATEGORIES= databases
MASTER_SITES= http://cr.yp.to/cdb/
MAINTAINER= ports@FreeBSD.org
ALL_TARGET= it
do-configure:
@${MV} ${WRKSRC}/conf-home ${WRKSRC}/conf-home.orig
${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
@${MV} ${WRKSRC}/conf-cc ${WRKSRC}/conf-cc.orig
${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
@${MV} ${WRKSRC}/conf-ld ${WRKSRC}/conf-ld.orig
${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
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
${INSTALL_DATA} ${WRKSRC}/cdb.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/cdb.a ${PREFIX}/lib/libcdb.a
.include <bsd.port.mk>