1 | # $Id: Portfile 51021 2009-05-15 15:55:30Z and.damore@macports.org $ |
---|
2 | PortSystem 1.0 |
---|
3 | name wxd |
---|
4 | version 0.14 |
---|
5 | maintainers yc5.so-net.ne.jp:usami-k |
---|
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 414acdf06c09a36d50a82e4a2b9acef8 \ |
---|
15 | sha1 21f72c36f6f19353c96f91787c4cf2fd6ffa9e28 \ |
---|
16 | rmd160 394b15074ff562d9fe8ef42b80f545abeb659aed |
---|
17 | worksrcdir ${name} |
---|
18 | depends_lib bin:gdc:gdc \ |
---|
19 | port:wxWidgets |
---|
20 | |
---|
21 | use_configure no |
---|
22 | |
---|
23 | destroot.destdir DESTDIR=${destroot} PREFIX=${prefix} |
---|
24 | post-destroot { |
---|
25 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
26 | foreach f {COPYING.LIB LICENCE.txt README.txt} { |
---|
27 | xinstall -m 644 ${worksrcpath}/${f} ${destroot}${prefix}/share/doc/${name} |
---|
28 | } |
---|
29 | copy ${worksrcpath}/Configs ${destroot}${prefix}/share/doc/${name} |
---|
30 | copy ${worksrcpath}/Samples ${destroot}${prefix}/share/doc/${name} |
---|
31 | } |
---|
32 | |
---|
33 | universal_variant no |
---|
34 | |
---|
35 | variant with_doxygen description {Include documentations by doxygen} { |
---|
36 | depends_build port:doxygen |
---|
37 | build.target-append docs |
---|
38 | post-destroot { |
---|
39 | copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${name} |
---|
40 | } |
---|
41 | } |
---|