Ticket #1575: Portfile

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

Portfile

Line 
1# $Id $
2
3PortSystem 1.0
4name            db3
5version         3.3.11
6categories      databases
7maintainers     stewartsmith@mac.com
8description     The Berkely DB package, revision 3
9homepage        http://www.sleepycat.com/update/
10platforms       darwin freebsd
11master_sites    ${homepage}snapshot/
12distname        db-${portversion}
13checksums       db-3.3.11.tar.gz md5 b6ae24fa55713f17a9ac3219d987722c
14patchfiles      patch-configure patch-db185_ext.in patch-db185_uext.in patch-mutex.h \
15                patch-db185.c patch-db185_int.in patch-db.h
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