Ticket #1590: Portfile

File Portfile, 1.6 KB (added by digdog@…, 21 years ago)

Portfile

Line 
1PortSystem 1.0
2
3name            db3
4version         3.3.11
5categories      database
6maintainers     stewartsmith@mac.com
7description     The Berkely DB package, revision 3
8homepage        http://www.sleepycat.com/update/
9platforms       darwin freebsd
10master_sites    ${homepage}snapshot/
11distname        db-${portversion}
12checksums       md5 b6ae24fa55713f17a9ac3219d987722c
13patchfiles      patch-db.h patch-db185_ext.in patch-db185_uext.in \
14                patch-db185.c patch-db185_int.in patch-mutex.h \
15                patch-configure
16worksrcdir      ${distname}/build_unix
17configure.cmd   ../dist/configure
18configure.args  --enable-compat185 --enable-dump185 --enable-cxx \
19                --includedir=${prefix}/include/db3 \
20                --program-transform-name=s,^db,db3,
21
22destroot.destdir  prefix=${destroot}${prefix} includedir=${destroot}${prefix}/include/db3 \
23                  docdir=${destroot}${prefix}/share/${name}-${version}/
24
25long_description This is Version 3 of the Berkeley DB package. \
26                 This port mainly exists for compatibility with Ximian Evolution \
27                 and is based on the db4 port.
28
29post-destroot   { system "cd '${destroot}${prefix}/bin/'
30                      mv db_archive db3_archive
31                      mv db_dump db3_dump
32                      mv db_printlog db3_printlo
33                      mv db_upgrade db3_upgrade
34                      mv db_checkpoint db3_checkpoint
35                      mv db_dump185 db3_dump185
36                      mv db_recover db3_recover
37                      mv db_verify db3_verify
38                      mv db_deadlock db3_deadlock
39                      mv db_load db3_load
40                      mv db_stat db3_stat" }
41