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: Portfile 81149 2011-07-26 02:20:17Z dports@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name tup |
---|
7 | version 0.4.1 |
---|
8 | categories devel |
---|
9 | platforms macosx |
---|
10 | description A build system with amazingly fast incremental build cycle |
---|
11 | |
---|
12 | long_description Tup is a file-based build system - it inputs a list of file changes \ |
---|
13 | and a directed acyclic graph (DAG), then processes the DAG to execute the \ |
---|
14 | appropriate commands required to update dependent files. \ |
---|
15 | The DAG is stored in an SQLite database. \ |
---|
16 | By providing the file change log up front and storing the dependencies in an efficient \ |
---|
17 | database structure, updates can be performed with very little overhead. |
---|
18 | |
---|
19 | homepage http://gittup.org/tup/ |
---|
20 | license GPL |
---|
21 | master_sites https://github.com/gittup/tup/tarball/v${version} |
---|
22 | |
---|
23 | checksums sha1 6bd9ccf4b13022c3b2ceb011e17247ae79c66ca9 \ |
---|
24 | rmd160 c77db8659063059b227b21455c01615cd4dd950d |
---|
25 | |
---|
26 | extract.mkdir yes |
---|
27 | extract.post_args "| tar --strip-components=1 -xf -" |
---|
28 | |
---|
29 | build.cmd ./bootstrap.sh |
---|
30 | |
---|
31 | depends_build port:pkgconfig port:fuse4x port:libtool |
---|
32 | |
---|
33 | patch { |
---|
34 | reinplace "s|`git describe`|\"${version}\"|g" ${worksrcpath}/Tupfile |
---|
35 | } |
---|
36 | |
---|
37 | configure {} |
---|
38 | |
---|
39 | destroot { |
---|
40 | file copy ${worksrcpath}/tup ${destroot}${prefix}/bin |
---|
41 | file copy ${worksrcpath}/tup.1 ${destroot}${prefix}/share/man/man1/ |
---|
42 | } |
---|