1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name tDOM |
---|
6 | version 0.8.3 |
---|
7 | revision 0 |
---|
8 | categories textproc devel |
---|
9 | maintainers wu.ac.at:neumann |
---|
10 | description high performance XML data processing with easy and powerful Tcl scripting functionality |
---|
11 | long_description \ |
---|
12 | tDOM combines high performance XML data processing with easy and powerful Tcl scripting functionality. tDOM should be one of the fastest ways to manipulate XML with a scripting language and uses very little memory in the process (for example the DOM tree of the XML recommendation in XML (160K) needs only about 450K in memory)! The tDOM project was started by Jochen Löwer. It is currently maintained by Rolf Ade. |
---|
13 | |
---|
14 | homepage http://tdom.github.com/ |
---|
15 | platforms darwin |
---|
16 | license Mozilla Public License Version 1.1 |
---|
17 | |
---|
18 | distname ${name}-${version} |
---|
19 | distfiles ${distname}.tgz |
---|
20 | |
---|
21 | master_sites https://github.com/downloads/tDOM/tdom |
---|
22 | |
---|
23 | checksums \ |
---|
24 | md5 f773bef5b8f15e0b400f9f93f164a6bb \ |
---|
25 | sha1 1b7db0357ffb96c0a6c879c385168491380a8ca5 \ |
---|
26 | rmd160 df52d8b7c3ac9134dae20a3bcaa21e0e512e3289 |
---|
27 | |
---|
28 | depends_lib port:tcl |
---|
29 | worksrcdir ${distname}/unix |
---|
30 | |
---|
31 | configure { |
---|
32 | # |
---|
33 | # The following overwrite is needed, since the configure file resides |
---|
34 | # in the directory above the worksrcdir |
---|
35 | # |
---|
36 | system -W ${worksrcpath} "../configure --prefix=${prefix} --with-tcl=${prefix}/lib --mandir=${prefix}/share/man" |
---|
37 | # |
---|
38 | # The Makefile.in has a small bug (missing space). We cannot use a |
---|
39 | # patch, since the patch command is excuted in the ${worksrcpath}, |
---|
40 | # which is subdirectory of the directory containing Makefile.in, and |
---|
41 | # the program "patch" refuses to process patches having "../" in the |
---|
42 | # path names. So we fix the resulting Makefile "manually" via sed. |
---|
43 | # |
---|
44 | system -W ${worksrcpath} "sed 's/\\\$(PACKAGE_VERSION)\\\\/\\\$(PACKAGE_VERSION) \\\\/g' < ./Makefile > ./Makefile.fixed" |
---|
45 | system -W ${worksrcpath} "mv ./Makefile.fixed ./Makefile" |
---|
46 | } |
---|
47 | |
---|
48 | |
---|
49 | |
---|