1997-06-13 17:54:36 +00:00
|
|
|
# ports collection makefile for: Berkeley DB
|
1997-11-11 16:58:48 +00:00
|
|
|
# Version required: v2.3.12
|
|
|
|
# Date created: 11 Nov 1997
|
1997-06-13 17:54:36 +00:00
|
|
|
# Whom: Josh Tiefenbach <josh@ican.net>
|
|
|
|
#
|
1997-11-22 00:51:36 +00:00
|
|
|
# $Id: Makefile,v 1.5 1997/11/22 00:47:18 asami Exp $
|
1997-06-13 17:54:36 +00:00
|
|
|
#
|
|
|
|
|
1997-11-11 16:58:48 +00:00
|
|
|
DISTNAME= db-2.3.12
|
1997-06-13 17:54:36 +00:00
|
|
|
CATEGORIES= databases
|
1997-10-03 14:13:24 +00:00
|
|
|
MASTER_SITES= http://www.sleepycat.com/db/packages/
|
1997-06-13 17:54:36 +00:00
|
|
|
|
|
|
|
MAINTAINER= josh@ican.net
|
|
|
|
|
1997-11-22 00:51:36 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with libc version
|
1997-06-13 17:54:36 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
|
|
|
CONFIGURE_ARGS= --enable-compat185 \
|
1997-10-03 14:13:24 +00:00
|
|
|
--enable-dump185 --enable-cxx
|
1997-06-13 17:54:36 +00:00
|
|
|
|
|
|
|
MAN1= db_archive.1 db_checkpoint.1 db_deadlock.1 db_dump.1 db_load.1 \
|
1997-09-05 20:22:12 +00:00
|
|
|
db_recover.1 db_stat.1
|
1997-10-03 14:13:24 +00:00
|
|
|
MAN3= db_appinit.3 db_cursor.3 db_dbm.3 db_hsearch.3 db_intro.3 db_lock.3 \
|
|
|
|
db_log.3 db_mpool.3 db_open.3 db_txn.3 \
|
|
|
|
Db.3 DbEnv.3 DbException.3 DbInfo.3 DbLock.3 DbLockTab.3 DbLog.3 \
|
|
|
|
DbLsn.3 DbMpool.3 DbMpoolFile.3 DbTxn.3 DbTxnMgr.3 Dbc.3 Dbt.3
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/db
|
|
|
|
.for doc in hash.usenix.ps libtp.usenix.ps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../docs/${doc} ${PREFIX}/share/doc/db
|
|
|
|
gzip -9 ${PREFIX}/share/doc/db/${doc}
|
|
|
|
.endfor
|
|
|
|
${MKDIR} ${PREFIX}/share/examples/db
|
|
|
|
.for example in README ex_access.c ex_appinit.c ex_btrec.c ex_lock.c ex_mpool.c ex_tpcb.c ex_tpcb.h
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../examples/${example} ${PREFIX}/share/examples/db
|
|
|
|
.endfor
|
|
|
|
.for example in AccessExample.cpp AppinitExample.cpp LockExample.cpp MpoolExample.cpp TpcbExample.cpp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../examples_cxx/${example} ${PREFIX}/share/examples/db
|
|
|
|
.endfor
|
1997-06-13 17:54:36 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|