source: trunk/dports/devel/tup/Portfile

Last change on this file was 152073, checked in by ryandesign@…, 15 months ago

tup: update to 0.7.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
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 152073 2016-08-28 19:52:01Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        gittup tup 0.7.5 v
8categories          devel
9platforms           macosx
10maintainers         ryandesign openmaintainer
11license             GPL-2
12
13description         A build system with amazingly fast incremental build cycle
14
15long_description    \
16    Tup is a file-based build system - it inputs a list of file changes    \
17    and a directed acyclic graph (DAG), then processes the DAG to execute  \
18    the appropriate commands required to update dependent files.  The DAG  \
19    is stored in an SQLite database.  By providing the file change log up  \
20    front and storing the dependencies in an efficient database structure, \
21    updates can be performed with very little overhead.
22
23homepage            http://gittup.org/tup/
24
25checksums           rmd160  d538ecd7aed0924cf0dc6f519fb55ce1693935b5 \
26                    sha256  f4a188b51654378f40c663e6445d47cf5efd5a731349a2a76048ed0277323c72
27
28depends_build       port:pkgconfig
29
30depends_lib         port:osxfuse \
31                    port:libiconv
32
33patchfiles          patch-build.sh.diff
34
35use_configure       no
36
37build.cmd           ./build.sh
38build.env-append    CC=${configure.cc} \
39                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
40                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
41                    TUP_LABEL=${version}
42
43destroot {
44    xinstall -m 0755 ${worksrcpath}/build/tup ${destroot}${prefix}/bin/
45    xinstall -m 0644 ${worksrcpath}/tup.1 ${destroot}${prefix}/share/man/man1/
46
47    set docdir ${prefix}/share/doc/${subport}
48    xinstall -d ${destroot}${docdir}
49    xinstall -m 0644 -W ${worksrcpath} \
50        COPYING \
51        README.md \
52        ${destroot}${docdir}
53}
Note: See TracBrowser for help on using the repository browser.