aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db3/Makefile
blob: e8cb8787ba0d9526d1877be2e241b4124793eea5 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
# ports collection makefile for:    Berkeley DB
# Version required:         v2.3.12
# Date created:             11 Nov 1997
# Whom:                 Josh Tiefenbach <josh@ican.net>
#
# $Id: Makefile,v 1.3 1997/10/03 14:13:23 jfitz Exp $
#

DISTNAME=   db-2.3.12
CATEGORIES= databases
MASTER_SITES=   http://www.sleepycat.com/db/packages/

MAINTAINER= josh@ican.net

WRKSRC=     ${WRKDIR}/${DISTNAME}/build.unix

GNU_CONFIGURE=  YES
CONFIGURE_SCRIPT=   ../dist/configure
CONFIGURE_ARGS=     --enable-compat185 \
            --enable-dump185 --enable-cxx

MAN1=   db_archive.1 db_checkpoint.1 db_deadlock.1 db_dump.1 db_load.1 \
    db_recover.1 db_stat.1
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

.include <bsd.port.mk>