summaryrefslogtreecommitdiff
path: root/databases/cdb/Makefile
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-03-20 21:47:46 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-03-20 21:47:46 +0000
commitfd8b481fdf6d2ecc5ae1501db5718e15aa75f5b7 (patch)
tree8b32ea9fcb7a0b4f6ab16f572cbcdfb9a191ed51 /databases/cdb/Makefile
parentremove blank line and PREFIX -> LOCALBASE (portlint) (diff)
Update port to 0.75
PR: 17460 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=26854
Diffstat (limited to 'databases/cdb/Makefile')
-rw-r--r--databases/cdb/Makefile21
1 files changed, 16 insertions, 5 deletions
diff --git a/databases/cdb/Makefile b/databases/cdb/Makefile
index 805f998a5741..733e2a3b875f 100644
--- a/databases/cdb/Makefile
+++ b/databases/cdb/Makefile
@@ -1,19 +1,30 @@
# ports collection makefile for: Constant DataBase
-# Version required: 0.55
+# Version required: 0.75
# Date created: 18th July 1998
# Whom: Gary Palmer <gpalmer@freebsd.org>
#
# $FreeBSD$
#
-DISTNAME= cdb-0.55
+DISTNAME= cdb-0.75
CATEGORIES= databases
-MASTER_SITES= http://cr.yp.to/software/
+MASTER_SITES= http://cr.yp.to/cdb/
MAINTAINER= ports@FreeBSD.org
ALL_TARGET= it
-MAN1= cdbget.1 cdbmake.1 cdbdump.1 cdbstats.1 cdbtest.1
-MAN3= cdb.3
+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>