Ticket #19657: Portfile

File Portfile, 1.4 KB (added by usami-k@…, 15 years ago)
Line 
1# $Id: Portfile 51021 2009-05-15 15:55:30Z and.damore@macports.org $
2PortSystem      1.0
3name            wxd
4version         0.14
5maintainers     yc5.so-net.ne.jp:usami-k
6platforms       darwin
7categories      devel
8description     wxWidgets bindings for the D programming language
9long_description \
10                wxD is wxWidgets bindings for the D programming language.
11homepage        http://wxd.sourceforge.net/
12master_sites    sourceforge:wxd
13extract.suffix  .tgz
14checksums       md5 414acdf06c09a36d50a82e4a2b9acef8 \
15                sha1 21f72c36f6f19353c96f91787c4cf2fd6ffa9e28 \
16                rmd160 394b15074ff562d9fe8ef42b80f545abeb659aed
17worksrcdir      ${name}
18depends_lib     bin:gdc:gdc \
19                port:wxWidgets
20
21use_configure   no
22
23destroot.destdir DESTDIR=${destroot} PREFIX=${prefix}
24post-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
33universal_variant   no
34
35variant 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}