Ravenports generated: 13 Dec 2023 00:13
[ravenports.git] / bucket_9E / nawk
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               nawk
4 VERSION=                20180827
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        Brian Kernighan's pattern processing language
8 HOMEPAGE=               https://www.cs.princeton.edu/~bwk/btl.mirror/index.html
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/onetrueawk:awk:20180827
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 FPC_EQUIVALENT=         lang/nawk
21
22 BUILD_TARGET=           a.out
23 MAKEFILE=               makefile
24
25 SKIP_INSTALL=           yes
26
27 post-patch:
28         ${REINPLACE_CMD} -e 's|awk|nawk|g' ${WRKSRC}/awk.1
29
30 do-install:
31         ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${STAGEDIR}${PREFIX}/bin/nawk
32         ${INSTALL_MAN} ${WRKSRC}/awk.1 ${STAGEDIR}${MANPREFIX}/man/man1/nawk.1.gz
33
34 [FILE:301:descriptions/desc.single.standard]
35 Awk scans input files for specified patterns and can perform an associated
36 action when a line of the file matches the pattern.
37
38 This is the One True version of awk described in "The AWK Programming Language"
39 by Al Aho, Brian Kernighan, and Peter Weinberger
40 (Addison-Wesley, 1988, ISBN 0-201-07981-X).
41
42
43 [FILE:109:distinfo]
44 c9232d23410c715234d0c26131a43ae6087462e999a61f038f1790598ce4807f      1824076 onetrueawk-awk-20180827.tar.gz
45
46
47 [FILE:34:manifests/plist.single]
48 bin/nawk
49 share/man/man1/nawk.1.gz
50
51
52 [FILE:673:patches/patch-makefile]
53 --- makefile.orig       2018-08-28 20:05:48 UTC
54 +++ makefile
55 @@ -22,21 +22,8 @@
56  # THIS SOFTWARE.
57  # ****************************************************************/
58  
59 -CFLAGS = -g
60 -CFLAGS =
61 -CFLAGS = -O2
62 -
63 -# compiler options
64 -#CC = gcc -Wall -g -Wwrite-strings
65 -#CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
66 -#CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
67 -CC = gcc -g -Wall -pedantic 
68 -
69 -# yacc options.  pick one; this varies a lot by system.
70 -#YFLAGS = -d -S
71 -#YACC = bison -d -y
72 -YACC = yacc -d
73 -#              -S uses sprintf in yacc parser instead of sprint
74 +CC?= cc
75 +YACC?= yacc -d
76  
77  OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o
78  
79