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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup D-Programming-Language dub 0.9.22 v |
---|
8 | categories devel |
---|
9 | platforms darwin |
---|
10 | license MIT |
---|
11 | description Package and build management system for D |
---|
12 | long_description DUB is a build tool for D projects with support for automatically \ |
---|
13 | retrieving dependencies and integrating them in the build process. \ |
---|
14 | The design emphasis is on maximum simplicity for simple projects, \ |
---|
15 | while providing the opportunity to customize things when needed. |
---|
16 | homepage http://code.dlang.org/about |
---|
17 | maintainers mac.com:luc_j_bourhis openmaintainer |
---|
18 | |
---|
19 | checksums rmd160 524457873ffc9963bb440ff4a91035f51e89204c \ |
---|
20 | sha256 4acc573912d3b10739190be756305ef9f8732bd050549b4126e187f7ce073b3d |
---|
21 | |
---|
22 | depends_lib port:curl \ |
---|
23 | port:dmd |
---|
24 | |
---|
25 | patch { |
---|
26 | reinplace "s/GITVER=unknown/GITVER=${version}/" ${worksrcpath}/build.sh |
---|
27 | } |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | build.cmd ./build.sh |
---|
32 | build.target "" |
---|
33 | |
---|
34 | test.run yes |
---|
35 | test.env-append DUB=./bin/dub \ |
---|
36 | COMPILER=${prefix}/bin/dmd |
---|
37 | test.cmd ./test/run-unittest.sh |
---|
38 | |
---|
39 | destroot { |
---|
40 | xinstall -m 755 ${worksrcpath}/bin/dub ${destroot}${prefix}/bin |
---|
41 | } |
---|