source: trunk/dports/devel/redo/Portfile

Last change on this file was 99643, checked in by singingwolfboy@…, 5 years ago

Dropped maintainership on all my ports

I'm moving to homebrew, and I haven't actually touched most of these in ages, anyway

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# $Id: Portfile 99643 2012-11-13 04:26:02Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    redo
6version                 0.06
7revision                1
8categories              devel
9maintainers             nomaintainer
10supported_archs         noarch
11
12homepage                http://apenwarr.ca/log/?m=201012#14
13platforms               darwin openbsd
14license                 LGPL-2
15fetch.type              git
16git.url                 https://github.com/apenwarr/${name}.git
17git.branch              ${name}-${version}
18description             Smaller, easier, more powerful, and more reliable than make.
19long_description        \
20    redo is literally the most amazingly groundbreaking build system since \
21    the original invention of 'make'. Claims: \
22        it can do everything make can do\; \
23        with no baked-in assumptions about what you're building\; \
24        with much less code\; \
25        with much greater parallelism\; \
26        with finer-grained dependencies\; \
27        with much less syntax (actually nothing but /bin/sh)\; \
28        while supporting recursion and full dependency information simultaneously \
29            (no Recursive Make Considered Harmful crap)\; \
30        yet build scripts are highly modular and readable\; \
31        and you can checksum your targets instead of using timestamps\; \
32        and your build scripts run linearly instead of an orderless \"ruleset\"\; \
33        with no implicit rules required\; \
34        and implementing C header autodependencies is completely sane\; \
35        and dependency checks involve no forking or parsing so it's crazy fast\; \
36        and you can incrementally convert parts of your project\; \
37        because it can play well with other build systems\; \
38        including jobserver compatibility with make -j\; \
39        oh, and you can write a plug-compatible toy implementation in 100 lines of shell.
40
41use_configure           no
42build.cmd               ${worksrcpath}/${name}
43test.run                yes
44destroot.destdir        ""
45destroot.env-append     DESTDIR=${destroot} PREFIX=${prefix}
46variant doc description {Build and install man pages} requires python27 {
47    # The documentation requires some python modules to build
48    depends_build       port:py27-beautifulsoup port:py27-markdown
49}
50variant bash_completion {
51    depends_run-append  path:etc/bash_completion:bash-completion
52    post-destroot {
53        xinstall -d ${destroot}${prefix}/etc/bash_completion.d/
54        xinstall -m 644 ${worksrcpath}/contrib/bash_completion.d/redo \
55            ${destroot}${prefix}/etc/bash_completion.d/
56    }
57}
58variant python27 description {Change shebang lines to use Macports Python 2.7 } {
59    depends_lib port:python27
60    configure {
61        eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.7|" [glob ${worksrcpath}/*]
62    }
63}
64variant python_select description {Compatibility variant, requires python27} requires python27 {}
65default_variants        +doc +bash_completion
Note: See TracBrowser for help on using the repository browser.