SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

20
devel/gengetopt/Makefile Normal file
View file

@ -0,0 +1,20 @@
V = 2.22.6
COMMENT = command line parser for c programs
DISTNAME = gengetopt-${V}
CATEGORIES = devel
REVISION = 3
HOMEPAGE = http://www.gnu.org/software/gengetopt/
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += c m ${COMPILER_LIBCXX}
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES = ${MASTER_SITE_GNU:=gengetopt/}
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>

2
devel/gengetopt/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (gengetopt-2.22.6.tar.gz) = MLBaiGBNce8qQqLvJs0m3yQrQfWwEa0DCDFDox2bAfc=
SIZE (gengetopt-2.22.6.tar.gz) = 1056293

View file

@ -0,0 +1,7 @@
gengetopt generates a C function that uses getopt_long function to parse
the command line options, to validate them and fill a struct.
gengetopt is perfect if you are too lazy to write all stuff required to
call getopt_long, and when you have a program and wish it took options.
Generated code works if you use GNU Autoconf or GNU Automake.

31
devel/gengetopt/pkg/PLIST Normal file
View file

@ -0,0 +1,31 @@
@bin bin/gengetopt
@info info/gengetopt.info
@man man/man1/gengetopt.1
share/doc/gengetopt/
share/doc/gengetopt/COPYING
share/doc/gengetopt/ChangeLog
share/doc/gengetopt/INSTALL
share/doc/gengetopt/LICENSE
share/doc/gengetopt/NEWS
share/doc/gengetopt/README
share/doc/gengetopt/THANKS
share/doc/gengetopt/examples/
share/doc/gengetopt/examples/README.example
share/doc/gengetopt/examples/cmdline1.c
share/doc/gengetopt/examples/cmdline1.h
share/doc/gengetopt/examples/cmdline2.c
share/doc/gengetopt/examples/cmdline2.h
share/doc/gengetopt/examples/main1.cc
share/doc/gengetopt/examples/main2.c
share/doc/gengetopt/examples/sample1.ggo
share/doc/gengetopt/examples/sample2.ggo
share/doc/gengetopt/examples/test_manual_help.c
share/doc/gengetopt/examples/test_manual_help_cmd.c
share/doc/gengetopt/examples/test_manual_help_cmd.ggo
share/doc/gengetopt/examples/test_manual_help_cmd.h
share/doc/gengetopt/gengetopt.html
share/doc/gengetopt/index.html
share/gengetopt/
share/gengetopt/getopt.c
share/gengetopt/getopt1.c
share/gengetopt/gnugetopt.h