blob: 733e2a3b875fe9f8e191ca97683f74a81d5150c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# ports collection makefile for: Constant DataBase
# Version required: 0.75
# Date created: 18th July 1998
# Whom: Gary Palmer <gpalmer@freebsd.org>
#
# $FreeBSD$
#
DISTNAME= cdb-0.75
CATEGORIES= databases
MASTER_SITES= http://cr.yp.to/cdb/
MAINTAINER= ports@FreeBSD.org
ALL_TARGET= it
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
.include <bsd.port.mk>
|