Ticket #30432: Portfile

File Portfile, 1.6 KB (added by anatol (Anatol Pomozov), 13 years ago)

Update tup to v 0.4.1

Line 
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
4PortSystem          1.0
5
6name                tup
7version             0.4.1
8categories          devel
9platforms           macosx
10description         A build system with amazingly fast incremental build cycle
11
12long_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
19homepage            http://gittup.org/tup/
20license             GPL
21master_sites        https://github.com/gittup/tup/tarball/v${version}
22
23checksums           sha1    6bd9ccf4b13022c3b2ceb011e17247ae79c66ca9 \
24                    rmd160  c77db8659063059b227b21455c01615cd4dd950d
25
26extract.mkdir       yes
27extract.post_args   "| tar --strip-components=1 -xf -"
28
29build.cmd           ./bootstrap.sh
30
31depends_build       port:pkgconfig port:fuse4x port:libtool
32
33patch {
34    reinplace "s|`git describe`|\"${version}\"|g" ${worksrcpath}/Tupfile
35}
36
37configure {}
38
39destroot {
40    file copy ${worksrcpath}/tup ${destroot}${prefix}/bin
41    file copy ${worksrcpath}/tup.1 ${destroot}${prefix}/share/man/man1/
42}