source: trunk/dports/lang/nawk/Portfile

Last change on this file was 107356, checked in by ryandesign@…, 4 years ago

nawk: update to 20121220 (#39444; maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 107356 2013-06-26 03:55:48Z ryandesign@macports.org $
2
3PortSystem 1.0
4name             nawk
5version          20121220
6categories       lang
7license          BSD
8maintainers      toby
9description      the one true awk
10long_description Kernighan's canonical implementation of awk.
11homepage         http://www.cs.princeton.edu/~bwk/btl.mirror/
12platforms        darwin
13
14master_sites     ${homepage}
15distname         awk
16checksums        rmd160  3872ef2407a4ad57f55c45dc60fc917eca7a614e \
17                 sha256  8dc092165c5a4e1449f964286483d06d0dbfba4b0bd003cb5dab30de8f6d9b83
18dist_subdir      ${name}/${version}
19
20extract.mkdir    yes
21
22patchfiles       patch-makefile patch-run.c
23
24configure {
25        reinplace "s|__CFLAGS__|${configure.cflags} [get_canonical_archflags]|" ${worksrcpath}/makefile
26        reinplace s|__CC__|${configure.cc}| ${worksrcpath}/makefile
27}
28
29build.target
30
31destroot {
32        xinstall ${worksrcpath}/a.out ${destroot}${prefix}/bin/nawk
33        xinstall ${worksrcpath}/awk.1 ${destroot}${prefix}/share/man/man1/nawk.1
34}
35
36livecheck.type  md5
37livecheck.md5   f7938416b9255fdbcefc0e431a174dd7
Note: See TracBrowser for help on using the repository browser.