Ravenports generated: 10 Jan 2024 17:08
[ravenports.git] / bucket_87 / getopt
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               getopt
4 VERSION=                1.1.6
5 KEYWORDS=               misc devel
6 VARIANTS=               standard
7 SDESC[standard]=        Replacement for getopt(1)
8 HOMEPAGE=               http://software.frodo.looijaard.name/getopt/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://frodo.looijaard.name/system/files/software/getopt/
13 DISTFILE[1]=            getopt-1.1.6.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   gmake
21
22 FPC_EQUIVALENT=         misc/getopt
23
24 MAKE_ARGS=              CC={{CC}}
25                         LIBCGETOPT=0
26                         WITHOUT_GETTEXT=1
27
28 post-patch:
29         ${RM} ${WRKSRC}/gnu/*.o
30
31 post-install:
32         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getopt
33
34 [FILE:516:descriptions/desc.single]
35 Rewrite of getopt(1) with the following features:
36
37  * It can do anything that the GNU getopt(3) routines can do.
38  * It can cope with spaces and shell metacharacters within arguments.
39  * It can parse long parameters.
40  * It can shuffle parameters, so you can mix options and other parameters
41    on the command-line.
42  * It can be easily identified as an enhanced getopt(1) from within shell
43    scripts.
44  * It can report parse errors as coming from the shell script.
45  * It compiles cleanly with both libc-5 and glibc-2.
46
47
48 [FILE:98:distinfo]
49 d0bf1dc642a993e7388a1cddfb9409bed375c21d5278056ccca3a0acd09dc5fe        58926 getopt-1.1.6.tar.gz
50
51
52 [FILE:38:manifests/plist.single]
53 bin/getopt
54 share/man/man1/getopt.1.gz
55
56
57 [FILE:1226:patches/patch-Makefile]
58 --- Makefile.orig       2014-11-24 12:33:39 UTC
59 +++ Makefile
60 @@ -1,9 +1,9 @@
61  .SUFFIXES:
62  
63  DESTDIR=
64 -prefix=/usr/local
65 +prefix=$(PREFIX)
66  bindir=$(prefix)/bin
67 -mandir=$(prefix)/man
68 +mandir=$(prefix)/share/man
69  man1dir=$(mandir)/man1
70  sharedir=$(prefix)/share
71  getoptdir=$(sharedir)/getopt
72 @@ -32,7 +32,7 @@ MSGFMT=msgfmt
73  LANGUAGES = ca cs da de es et eu fi fr gl hr hu id it ja nl pl pt_BR ru sl sv tr uk vi zh_CN zh_TW
74  MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES))
75  
76 -CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\"  -Dprogram_version=\"$(VERSION)\"
77 +CPPFLAGS+=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\"  -Dprogram_version=\"$(VERSION)\"
78  ifeq ($(LIBCGETOPT),0)
79  CPPFLAGS+=-I./gnu 
80  endif
81 @@ -41,9 +41,6 @@ WARNINGS=-Wall \
82           -Wcast-align -Wmissing-declarations \
83           -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
84           -Wnested-externs -Winline
85 -OPTIMIZE=-O3 -fno-strength-reduce
86 -CFLAGS=$(WARNINGS) $(OPTIMIZE)
87 -LDFLAGS=
88  
89  sources=getopt.c
90  ifeq ($(LIBCGETOPT),0)
91