New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/devel/m4/Portfile

Revision 49187, 1.9 KB (checked in by blb@…, 3 months ago)

devel/m4 - version update to 1.4.13

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