Port details |
- gengetopt Tool for generating a C function which parses command line arguments
- 2.23_1 devel =52 2.23_1Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2000-10-27 23:48:46
- Last Update: 2024-01-10 08:16:01
- Commit Hash: 1b819e4
- People watching this port, also watch:: libiconv, popt, m4, pcre, gmake
- License: GPLv3+
- WWW:
- https://www.gnu.org/software/gengetopt/
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- gengetopt>0:devel/gengetopt
- To install the port:
- cd /usr/ports/devel/gengetopt/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/gengetopt
- pkg install gengetopt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: gengetopt
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1615678600
SHA256 (gengetopt-2.23.tar.xz) = b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac
SIZE (gengetopt-2.23.tar.xz) = 584860
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- indexinfo : print/indexinfo
- This port is required by:
- for Build
-
- graphics/cptutils
- math/lcalc
- net/zmap
- security/libu2f-host
- security/yubico-piv-tool
- www/janus
Configuration Options:
- ===> The following configuration options are available for gengetopt-2.23_1:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
- Options name:
- devel_gengetopt
- USES:
- tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.23_1 10 Jan 2024 08:16:01 |
Baptiste Daroussin (bapt) |
MAN?PREFIX: eleminate its usage and move man to share/man |
2.23 21 Oct 2023 10:10:50 |
Muhammad Moinur Rahman (bofh) |
devel/gengetopt: Remove makeinfo
The dist comes with an info file pre-built so no need to regenerate the
info file. |
2.23 26 Jul 2023 00:48:20 |
Muhammad Moinur Rahman (bofh) |
*/*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.
- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
1302507 and less than 1400000
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation |
2.23 24 Jun 2023 04:37:51 |
Muhammad Moinur Rahman (bofh) |
devel/gengetopt: Fix build with llvm16
- Pet portclippy
- Adopt port
Sponsored by: The FreeBSD Foundation |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.23 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.23 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2.23 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.23 13 Mar 2021 23:40:21 |
nc |
devel/gengetopt: Update to 2.23
Changes: https://www.gnu.org/software/gengetopt/NEWS |
2.22.6_3 10 Nov 2018 18:12:58 |
bapt |
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816 |
2.22.6_2 10 Sep 2018 13:15:48 |
mat |
Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.
PR: 230864
Submitted by: mat
exp-runs by: antoine |
2.22.6_2 10 Sep 2018 13:14:52 |
mat |
Add DOCS options to ports that should have one.
Also various fixes related to said option.
PR: 230864
Submitted by: mat
exp-runs by: antoine |
2.22.6_2 22 Feb 2017 15:02:18 |
bapt |
Drop useless dependency on gmake (bmake build those fine) |
2.22.6_2 12 Jan 2016 16:20:32 |
amdmi3 |
Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by: portmgr blanket |
2.22.6_2 17 Nov 2015 01:00:19 |
amdmi3 |
- Clarify LICENSE
- Add LICENSE_FILE
- Simplify installation
- Switch to options helpers |
2.22.6_2 07 May 2015 22:32:05 |
antoine |
Properly register info page |
2.22.6_1 27 Oct 2014 10:10:59 |
bapt |
Cleanup plist |
2.22.6_1 05 Apr 2014 14:21:52 |
nemysis |
- Reset maintainer to ports@ |
2.22.6_1 20 Dec 2013 18:49:52 |
nemysis |
- Bump PORTREVISION
- USES gmake instead of USE_GMAKE
- Use pkg-plist instead of PLIST_FILES and PLIST_DIRS
- Support STAGEDIR
- Break lines around 80 characters
Approved by: pawel / wg (mentors, implicit) |
2.22.6 18 Dec 2013 10:20:49 |
nemysis |
- Change maintainer email of my ports to @FreeBSD.org
Approved by: pawel / wg (mentors, implicit) |
2.22.6 20 Sep 2013 17:04:44 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 2) |
2.22.6 17 Dec 2012 17:09:59 |
pawel |
- Update to 2.22.6
- Take maintainership
PR: ports/173518
Submitted by: nemysis <nemysis@gmx.ch> |
2.22.5 18 Oct 2011 13:04:55 |
ehaupt |
Update to version 2.22.5
PR: 161602
Submitted by: KATO Tsuguru <tkato432@yahoo.com> |
2.22.4 05 Oct 2011 20:34:17 |
dougb |
Add MAKE_JOBS_UNSAFE
PR: ports/161310 |
2.22.4 03 Jul 2011 14:59:23 |
ohauer |
-remove MD5 |
2.22.4 27 Apr 2011 01:56:47 |
dougb |
By Maintainer's request, toss these ports back into the pool |
2.22.4 25 Jan 2010 08:44:57 |
miwi |
- Update to 2.22.4
PR: 142338
Submitted by: Charlie Kester <corky1951@comcast.net> (maintainer) |
2.22.3 04 Oct 2009 10:08:09 |
miwi |
- Update to 2.22.3
PR: 139301
Submitted by: Charlie Kester <corky1951@comcast.net> (maintainer) |
2.22.2 07 Jul 2009 13:21:57 |
amdmi3 |
- Update to 2.22.2
- Pass maintainership to submitter
PR: 136392
Submitted by: Charlie Kester <corky1951@comcast.net> |
2.22.1 25 Aug 2008 21:16:21 |
miwi |
- Update to 2.22.1
PR: 126798
Submitted by: Ports Fury |
2.19.1 21 Aug 2008 06:18:49 |
rafan |
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk (Only the first 15 lines of the commit message are shown above ) |
2.19.1 19 Aug 2008 09:18:37 |
linimon |
Return laszlof's ports to the pool due to lack of time.
Hat: portmgr |
2.19.1 23 Jul 2007 09:36:52 |
rafan |
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run |
2.19.1 18 Jan 2007 15:30:41 |
laszlof |
Update to 2.19.1 |
2.19 04 Jan 2007 22:52:32 |
laszlof |
Update to 2.19. |
2.17 07 Nov 2006 15:37:06 |
laszlof |
Update my email address in all ports that I maintain.
Approved by: flz (mentor) |
2.17 13 Sep 2006 16:52:12 |
rafan |
- Update to 2.17
PR: ports/103223
Submitted by: Frank J. Laszlo <laszlof at vonostingroup.com> (maintainer) |
2.16 07 Apr 2006 15:34:04 |
garga |
- Fix typo in files/patch-aa that fixes problems on deinstall.
PR: ports/95420
Submitted by: maintainer
Noticed by: Robert Huff <roberthuff@rcn.com> |
2.16 05 Apr 2006 19:44:29 |
garga |
- Update to 2.16. This version adds the following features:
* a --full-help option is generated that shows also hidden options
* multiple parsers can be linked into the same executable (even
when using configuration files, thanks to Andre Noll)
* when invoking getopt_long, discard any pointers to previously
scanned command lines (thanks to Andre Noll)
* fixed a bug in generation of help strings that might cause
a seg fault (reported by Paul Biggar)
PR: ports/95329
Submitted by: maintainer |
2.15 28 Dec 2005 15:50:27 |
pav |
- Update to 2.15
PR: ports/91017
Submitted by: Frank Laszlo <laszlof@vonostingroup.com> (maintainer) |
2.14 16 Dec 2005 15:17:18 |
anray |
* Update to version 2.14
* Pass maintainership to submitter.
PR: ports/90448
Submitted by: Frank Laszlo <laszlof@vonostingroup.com>
Approved by: sem(mentor) |
2.11 02 Dec 2005 02:05:39 |
linimon |
Reset maintainer per his request. We hope to see him back soon. |
2.11 12 Apr 2005 03:26:57 |
obrien |
At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE. |
2.11 11 Apr 2005 08:04:41 |
obrien |
Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'. |
2.11 17 Apr 2004 19:20:31 |
krion |
- Fix configure warning
PR: 65674 65675 65676 65677 65678 65679
Submitted by: Roman Neuhauser <neuhauser at chello dot cz> |
2.11 10 Mar 2004 09:41:59 |
krion |
- Update to version 2.11
PR: ports/64016
Submitted by: maintainer |
2.9_1 04 Feb 2004 05:21:48 |
marcus |
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 2) |
2.9 18 May 2003 23:39:21 |
arved |
Update to 2.9
PR: 51793
Submitted by: maintainer |
2.7.1 21 Feb 2003 11:23:04 |
knu |
De-pkg-comment. |
2.7.1 18 Dec 2002 11:46:07 |
edwin |
Upgrade devel/gengetopt to make it compile under -current again.
Implicit approval because the port didn't build with the old version.
Also noticed on bento.
PR: ports/45690
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Reviewed by: Cyrille Lefevre <cyrille.lefevre@laposte.net> |
17 Jan 2002 23:13:38 |
dwcjr |
Update maintainer's email address Update a few MASTER_SITES |
15 Nov 2001 05:58:49 |
petef |
- add NOPORTDOCS support & install documentation - minor indentation fix in
pkg-descr - add @comment $FreeBSD$ to pkg-plist & sort |
13 Sep 2001 03:15:14 |
lioux |
switch maintainership over to submitter |
25 Aug 2001 17:09:39 |
ijliao |
upgrade to 2.4 |
04 May 2001 10:35:53 |
ijliao |
upgrade to 2.3 |
18 Feb 2001 11:52:36 |
sf |
get rid of unnecessary libgnugetopt dependency. |
17 Jan 2001 13:59:50 |
kevlo |
Upgrade to 2.2 |
17 Dec 2000 15:58:51 |
dannyboy |
Bring comment in line. |
28 Oct 2000 03:48:46 |
will |
Add gengetopt 2.1, a program that will generate a C function that uses
getopt_long function to parse the command line options, validate them and fill
a struct. |