openbsd-ports/databases/cdb/Makefile
camield b8b1a619f3 cdb 0.75
Submitted by David Lebel <lebel@lebel.org> with some fixes by me
2001-03-16 07:31:18 +00:00

32 lines
696 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2001/03/16 07:31:18 camield Exp $
DISTNAME= cdb-0.75
HOMEPAGE= http://cr.yp.to/cdb.html
CATEGORIES= databases
NEED_VERSION= 1.340
MAINTAINER= David Lebel <lebel@lebel.org>
MASTER_SITES= http://cr.yp.to/cdb/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
ALL_TARGET= default
INSTALL_TARGET= setup check
pre-build:
@echo ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
@echo ${PREFIX} > ${WRKSRC}/conf-home
pre-install:
@echo ${PREFIX} > ${WRKSRC}/conf-home
post-install:
${INSTALL_DATA} ${WRKSRC}/cdb.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/cdb.a ${PREFIX}/lib/libcdb.a
.include <bsd.port.mk>