Ticket #24429: Portfile

File Portfile, 1.9 KB (added by remy.apfelbacher@…, 14 years ago)

dbxml 2.5.16 port file (only dbxml)

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.oracle.com/berkeley-db/
29
30checksums           md5         2732618d5c4f642fba3d2a564a025986 \
31                    sha1        46f0e6b301e556c2502e4da0cd96a599acc53837 \
32                    rmd160      fdb4c85271cb84a8e31931d8fb287ad17fafff9c
33
34depends_lib                     port:dbxml-third-party-libs
35
36# empty configure args as we don't do anything
37configure                       {}
38
39
40# compile/make bdb, xerces, xqilla and dbxml
41use_parallel_build  no
42
43build.cmd                       ./buildall.sh --prefix=${prefix} --enable-java --with-berkeleydb-prefix=${prefix}/share/${name}/bdb --with-xerces-prefix=${prefix}/share/${name}/xerces --with-xqilla-prefix=${prefix}/share/${name}/xqilla -m 'make DESTDIR=${destroot}' --build-one=dbxml
44
45build.target
46
47destroot.cmd           
48
49destroot.type
50
51destroot.target
52
53post-destroot {
54    # copy docs folder to structure ${prefix}/share/doc/${name} within destroot
55    system "mkdir -p ${destroot}${prefix}/share/doc/${name} && cp -R ${worksrcpath}/dbxml/docs/* ${destroot}${prefix}/share/doc/${name}"
56}