Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/devel/m4/Portfile

Revision 42166, 2.0 KB (checked in by nox@…, 8 weeks ago)

m4: Disabled libsigsegv support.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1# $Id$
2
3PortSystem              1.0
4
5name            m4
6version         1.4.12
7revision        1
8categories      devel
9maintainers     blair openmaintainer
10platforms       darwin
11description     GNU macro processor
12
13long_description \
14    GNU `m4' is an implementation of the traditional Unix macro         \
15    processor.  It is mostly SVR4 compatible, although it has some      \
16    extensions (for example, handling more than 9 positional parameters \
17    to macros). `m4' also has built-in functions for including files,   \
18    running shell commands, doing arithmetic, etc. Autoconf needs GNU   \
19    `m4' for generating `configure' scripts, but not for running them.
20
21homepage        http://www.gnu.org/software/m4/
22master_sites    gnu
23use_bzip2       yes
24
25checksums       md5     b3587c993523dd320c318ec456876839 \
26                sha1    445da514bd9012690e2cf60170b16962787d2256 \
27                rmd160  ff55d95da2a52e9a9b8f5bb76072e1b08318ba2a
28
29patchfiles      patch-test-c-stack2.sh.diff
30
31configure.args  --program-prefix=g \
32                gl_cv_lib_sigsegv=no
33
34use_parallel_build  yes
35
36post-destroot {
37    move ${destroot}${prefix}/share/info/m4.info ${destroot}${prefix}/share/info/gm4.info
38    delete ${destroot}${prefix}/lib/charset.alias
39
40        set docdir ${prefix}/share/doc/${name}-${version}
41        xinstall -d ${destroot}${docdir}
42        xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS \
43                TODO ${destroot}${docdir}
44}
45
46test.run        yes
47test.target     check
48test.env        TMPDIR=/tmp
49
50variant with_default_names description {Install files without 'g' prefix} {
51    post-destroot {
52        foreach {d} {bin share/man/man1} {
53            foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} g*] {
54                ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 1 end]
55            }
56        }
57    }
58}
59
60livecheck.check regex
61livecheck.url   http://ftp.gnu.org/gnu/${name}/?C=M&O=D
62livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)\\.tar\\.bz2
Note: See TracBrowser for help on using the browser.