Ticket #30245: Portfile

File Portfile, 1.6 KB (added by lgillentine@…, 13 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                dbxml
7
8version             2.5.16
9
10revision                        1
11
12categories          databases
13
14maintainers         remy
15
16description         Berkeley DB XML
17
18long_description    Berkeley DB XML is an embedded XML database with XQuery-based access to documents stored in containers \
19                                        and indexed based on their content. Berkeley DB XML is built on top of Berkeley DB and inherits its rich \
20                                        features and attributes. Like Berkeley DB, Berkeley DB XML is a library, not a server, exposes a \
21                                        programmatic API for developers, and runs in process with the application with no need for human \
22                                        administration.
23
24homepage            http://www.oracle.com/technology/products/berkeley-db/xml/index.html
25
26platforms           darwin
27
28master_sites        file:///Users/lee/Desktop/
29
30checksums           md5         a93b556fb4b0beb332f3bdbb16588aec \
31                    sha1        0b099e44682abefbd2346c7b2fcefcb4f2fbc797 \
32                    rmd160      c9471d471a23a4878400a8a0eb69d5f86c9cd0e7
33
34
35# empty configure args as we don't do anything
36configure                       {}
37
38
39# compile/make bdb, xerces, xqilla and dbxml
40use_parallel_build  no
41
42build.cmd                       ./buildall.sh --prefix=${prefix} 
43
44build.target
45
46destroot.cmd           
47
48destroot.type
49
50destroot.target
51
52post-destroot {
53    # copy docs folder to structure ${prefix}/share/doc/${name} within destroot
54    system "mkdir -p ${destroot}${prefix}/share/doc/${name} && cp -R ${worksrcpath}/dbxml/docs/* ${destroot}${prefix}/share/doc/${name}"
55}