Ticket #24429: Portfile.3

File Portfile.3, 1.6 KB (added by lgillentine@…, 13 years ago)

Portfile that installs dbxml w/depdencies (the "simplest" instalation in the DBXML docs)

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        http://download-east.oracle.com/berkeley-db/
29
30checksums           md5         2732618d5c4f642fba3d2a564a025986 \
31                    sha1        46f0e6b301e556c2502e4da0cd96a599acc53837 \
32                    rmd160      fdb4c85271cb84a8e31931d8fb287ad17fafff9c
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}