# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= gengetopt VERSION= 2.23 KEYWORDS= devel VARIANTS= standard SDESC[standard]= Command-line option parser generator HOMEPAGE= https://www.gnu.org/software/gengetopt/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GNU/gengetopt DISTFILE[1]= gengetopt-2.23.tar.xz:main DF_INDEX= 1 SPKGS[standard]= complete primary examples docs OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= makeinfo c++:primary LICENSE= GPLv3+:primary LICENSE_TERMS= primary:{{WRKSRC}}/LICENSE LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING LICENSE_SCHEME= solo INFO= primary:gengetopt FPC_EQUIVALENT= devel/gengetopt INFO_SUBDIR= . MUST_CONFIGURE= gnu SINGLE_JOB= yes post-install: ${RM} ${STAGEDIR}${STD_DOCDIR}/LICENSE ${RM} ${STAGEDIR}${PREFIX}/share/info/index.info [FILE:475:descriptions/desc.primary] This program generate a C function that uses getopt_long function to parse the command line options, validate them and fill a struct. Thus your program can now handle options such as: myprog --input foo.c -o foo.o --no-tabs -i 100 *.class And both long options (those that start with --) and short options (start with - and consist of only one character) can be handled. For standards about short and long options you may want to take a look at the GNU Coding Standards. [FILE:100:distinfo] b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac 584860 gengetopt-2.23.tar.xz [FILE:95:manifests/plist.primary] bin/gengetopt share/gengetopt/ getopt.c getopt1.c gnugetopt.h share/man/man1/gengetopt.1.gz [FILE:229:manifests/plist.examples] share/examples/gengetopt/ README.example cmdline1.c cmdline1.h cmdline2.c cmdline2.h main1.cc main2.c sample1.ggo sample2.ggo test_manual_help.c test_manual_help_cmd.c test_manual_help_cmd.ggo test_manual_help_cmd.h [FILE:100:manifests/plist.docs] share/doc/gengetopt/ COPYING ChangeLog INSTALL NEWS README THANKS gengetopt.html index.html [FILE:263:patches/patch-configure] --- configure.orig 2019-06-04 08:27:18 UTC +++ configure @@ -3404,7 +3404,7 @@ fi gengetoptdocdir=$docdir -gengetoptexamplesdir=$gengetoptdocdir/examples +gengetoptexamplesdir='${datarootdir}/examples/${PACKAGE_TARNAME}' ac_ext=c ac_cpp='$CPP $CPPFLAGS'