source: trunk/dports/devel/m4/Portfile

Last change on this file was 125460, checked in by ryandesign@…, 3 years ago

m4: update to 1.4.17 (#44986)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 125460 2014-09-18 10:00:09Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name            m4
6version         1.4.17
7categories      devel
8license         GPL-3+
9installs_libs   no
10maintainers     blair openmaintainer
11platforms       darwin
12description     GNU macro processor
13
14long_description \
15    GNU `m4' is an implementation of the traditional Unix macro         \
16    processor.  It is mostly SVR4 compatible, although it has some      \
17    extensions (for example, handling more than 9 positional parameters \
18    to macros). `m4' also has built-in functions for including files,   \
19    running shell commands, doing arithmetic, etc. Autoconf needs GNU   \
20    `m4' for generating `configure' scripts, but not for running them.
21
22homepage        http://www.gnu.org/software/m4/
23master_sites    gnu
24use_bzip2       yes
25
26checksums           md5     8a1787edcba75ae5cd1dc40d7d8ed03a \
27                    sha1    2c35fe4fb95585a58f08532518eca42e87cabce5 \
28                    rmd160  fd096d94cedfc6d036070ef388240091b9f7dd96
29
30configure.args  --program-prefix=g \
31                ac_cv_libsigsegv=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    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
44    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
45        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
46    }
47    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
48    foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
49        ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
50    }
51}
52
53test.run        yes
54test.target     check
55test.env        TMPDIR=/tmp
Note: See TracBrowser for help on using the repository browser.