1 | # $Id: Portfile 26151 2007-06-14 16:30:29Z takanori@macports.org $ |
---|
2 | PortSystem 1.0 |
---|
3 | name wxd |
---|
4 | version 0.12 |
---|
5 | maintainers usami-k@yc5.so-net.ne.jp |
---|
6 | platforms darwin |
---|
7 | categories devel |
---|
8 | description wxWidgets bindings for the D programming language |
---|
9 | long_description \ |
---|
10 | wxD is wxWidgets bindings for the D programming language. |
---|
11 | homepage http://wxd.sourceforge.net/ |
---|
12 | master_sites sourceforge:wxd |
---|
13 | extract.suffix .tgz |
---|
14 | checksums md5 19c61c5ad617689a5344364814349394 |
---|
15 | worksrcdir ${name} |
---|
16 | depends_lib bin:gdc:gdc \ |
---|
17 | port:wxWidgets |
---|
18 | |
---|
19 | configure {} |
---|
20 | |
---|
21 | destroot.destdir DESTDIR=${destroot} PREFIX=${prefix} |
---|
22 | post-destroot { |
---|
23 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
24 | foreach f {COPYING.LIB LICENCE.txt README.txt} { |
---|
25 | xinstall -m 644 ${worksrcpath}/${f} ${destroot}${prefix}/share/doc/${name} |
---|
26 | } |
---|
27 | copy ${worksrcpath}/Configs ${destroot}${prefix}/share/doc/${name} |
---|
28 | copy ${worksrcpath}/Samples ${destroot}${prefix}/share/doc/${name} |
---|
29 | } |
---|
30 | |
---|
31 | universal_variant no |
---|
32 | |
---|
33 | variant with_doxygen { |
---|
34 | depends_build port:doxygen |
---|
35 | build.target-append docs |
---|
36 | post-destroot { |
---|
37 | copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${name} |
---|
38 | } |
---|
39 | } |
---|