notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
getopt Replacement for getopt(1) that supports GNU-style long options
1.1.6_1 misc on this many watch lists=51 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.1.6Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2003-06-13 23:57:14
Last Update: 2024-02-21 15:06:34
Commit Hash: 89b4d5b
People watching this port, also watch:: libxml2, gmake, libiconv, pcre, freetype2
License: GPLv2 GPLv3
WWW:
https://software.frodo.looijaard.name/getopt/
Description:
Rewrite of getopt(1) with the following features: * It can do anything that the GNU getopt(3) routines can do. * It can cope with spaces and shell metacharacters within arguments. * It can parse long parameters. * It can shuffle parameters, so you can mix options and other parameters on the command-line. * It can be easily identified as an enhanced getopt(1) from within shell scripts. * It can report parse errors as coming from the shell script. * It compiles cleanly with both libc-5 and glibc-2.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (35 items)
Collapse this list.
  1. /usr/local/share/licenses/getopt-1.1.6_1/catalog.mk
  2. /usr/local/share/licenses/getopt-1.1.6_1/LICENSE
  3. /usr/local/share/licenses/getopt-1.1.6_1/GPLv2
  4. /usr/local/share/licenses/getopt-1.1.6_1/GPLv3
  5. bin/getopt
  6. share/locale/ca/LC_MESSAGES/getopt.mo
  7. share/locale/cs/LC_MESSAGES/getopt.mo
  8. share/locale/da/LC_MESSAGES/getopt.mo
  9. share/locale/de/LC_MESSAGES/getopt.mo
  10. share/locale/es/LC_MESSAGES/getopt.mo
  11. share/locale/et/LC_MESSAGES/getopt.mo
  12. share/locale/eu/LC_MESSAGES/getopt.mo
  13. share/locale/fi/LC_MESSAGES/getopt.mo
  14. share/locale/fr/LC_MESSAGES/getopt.mo
  15. share/locale/gl/LC_MESSAGES/getopt.mo
  16. share/locale/hr/LC_MESSAGES/getopt.mo
  17. share/locale/hu/LC_MESSAGES/getopt.mo
  18. share/locale/id/LC_MESSAGES/getopt.mo
  19. share/locale/it/LC_MESSAGES/getopt.mo
  20. share/locale/ja/LC_MESSAGES/getopt.mo
  21. share/locale/nl/LC_MESSAGES/getopt.mo
  22. share/locale/pl/LC_MESSAGES/getopt.mo
  23. share/locale/pt_BR/LC_MESSAGES/getopt.mo
  24. share/locale/ru/LC_MESSAGES/getopt.mo
  25. share/locale/sl/LC_MESSAGES/getopt.mo
  26. share/locale/sv/LC_MESSAGES/getopt.mo
  27. share/locale/tr/LC_MESSAGES/getopt.mo
  28. share/locale/uk/LC_MESSAGES/getopt.mo
  29. share/locale/vi/LC_MESSAGES/getopt.mo
  30. share/locale/zh_CN/LC_MESSAGES/getopt.mo
  31. share/locale/zh_TW/LC_MESSAGES/getopt.mo
  32. share/man/man1/getopt.1.gz
  33. @owner
  34. @group
  35. @mode
Collapse this list.
Dependency lines:
  • getopt>0:misc/getopt
To install the port:
cd /usr/ports/misc/getopt/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/getopt
  • pkg install getopt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: getopt
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (getopt-1.1.6.tar.gz) = d0bf1dc642a993e7388a1cddfb9409bed375c21d5278056ccca3a0acd09dc5fe SIZE (getopt-1.1.6.tar.gz) = 58926

Packages (timestamps in pop-ups are UTC):
getopt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.6_11.1.6_11.1.61.1.6_11.1.6_1-1.1.6-
FreeBSD:13:quarterly1.1.61.1.61.1.61.1.61.1.61.1.61.1.61.1.6
FreeBSD:14:latest1.1.6_11.1.6_11.1.61.1.6_11.1.6_11.1.6-1.1.6
FreeBSD:14:quarterly1.1.61.1.6-1.1.61.1.61.1.61.1.61.1.6
FreeBSD:15:latest1.1.6_11.1.6_1n/a1.1.6_1n/a1.1.6_11.1.6_11.1.6_1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
  2. gettext-runtime>=0.22_1 : devel/gettext-runtime
  3. msgfmt : devel/gettext-tools
Library dependencies:
  1. libintl.so : devel/gettext-runtime
This port is required by:
for Build
  1. french/aster
  2. net/pacemaker2
  3. textproc/rarian
  4. textproc/xmlto

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. net/pacemaker*
  2. net/pacemaker1*
  3. Collapse this list of deleted ports.
for Run
  1. devel/compiz-bcop
  2. devel/gitflow
  3. math/eukleides
  4. net/pacemaker2
  5. sysutils/password-store
  6. sysutils/tartarus
  7. textproc/rarian
Expand this list (17 items / 10 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. textproc/xmlto
  3. textproc/yodl
  4. x11-fonts/fontpreview
  5. Collapse this list.

Deleted ports which required this port:

Expand this list of 7 deleted ports
  1. net/ceph*
  2. net/ceph-devel*
  3. net/ceph12*
  4. net/ceph13*
  5. net/ceph14*
  6. net/pacemaker*
  7. net/pacemaker1*
  8. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for getopt-1.1.6_1: DOCS=on: Build and/or install documentation NLS=on: Native Language Support ===> Use 'make config' to modify these settings
Options name:
misc_getopt
USES:
gmake gettext localbase:ldflags
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (5 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/sunpoet/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/sunpoet/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/sunpoet/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/sunpoet/
  5. http://frodo.looijaard.name/system/files/software/getopt/
Collapse this list.

Number of commits found: 51

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1.6_1
21 Feb 2024 15:06:34
commit hash: 89b4d5b2072cd36d9d53035365bc2e7683988d68commit hash: 89b4d5b2072cd36d9d53035365bc2e7683988d68commit hash: 89b4d5b2072cd36d9d53035365bc2e7683988d68commit hash: 89b4d5b2072cd36d9d53035365bc2e7683988d68 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
misc/getopt: Sort PLIST after fd7dc420e3c82dfe5066ed48fa0b08a218c41f5e
1.1.6_1
27 Jan 2024 16:27:04
commit hash: fd7dc420e3c82dfe5066ed48fa0b08a218c41f5ecommit hash: fd7dc420e3c82dfe5066ed48fa0b08a218c41f5ecommit hash: fd7dc420e3c82dfe5066ed48fa0b08a218c41f5ecommit hash: fd7dc420e3c82dfe5066ed48fa0b08a218c41f5e files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
misc/getopt: Moved man to share/man

Approved by:    portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
1.1.6
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
1.1.6
20 Jul 2022 14:22:28
commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
misc: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adam@vectors.cx>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan E <alane@FreeBSD.org>
  *  Alex Semenyaka <alex@rinet.ru>
  *  Alex Stangl <alex@stangl.us>
  *  Alexander Logvinov <avl@FreeBSD.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexander Nusov <alexander.nusov@nfvexpress.com>
  *  Alexander Timoshenko <gonzo@univ.kiev.ua>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.1.6
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.1.6
30 Sep 2016 19:24:30
Revision:423014Original commit files touched by this commit
tijl search for other commits by this committer
Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
1.1.6
15 Oct 2015 20:16:36
Revision:399369Original commit files touched by this commit
sunpoet search for other commits by this committer
- Use USES=localbase
- Convert to new options target helper
1.1.6
04 Dec 2014 15:08:30
Revision:373929Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.1.6

Changes:	http://frodo.looijaard.name/project/getopt/release/1-1-6
1.1.5
24 Nov 2014 18:24:43
Revision:373235Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update LICENSE
1.1.5
21 Nov 2014 21:49:38
Revision:373015Original commit files touched by this commit
sunpoet search for other commits by this committer
- Fix MASTER_SITES

PR:		ports/195247
Submitted by:	Thomas Schweikle <tps@vr-web.de>
MFH:		2014Q4
1.1.5
02 Oct 2014 10:58:17
Revision:369809Original commit files touched by this commit
sunpoet search for other commits by this committer
- Fix typo
1.1.5
01 Oct 2014 20:16:16
Revision:369764Original commit files touched by this commit
sunpoet search for other commits by this committer
- Cleanup *.o from tarball

PR:		ports/194074
Submitted by:	Vikash Badal <vikashb@where-ever.za.net>
1.1.5
30 Sep 2014 16:19:42
Revision:369643Original commit files touched by this commit
sunpoet search for other commits by this committer
- Fix PLIST when NLS option is off
1.1.5
30 Sep 2014 15:23:32
Revision:369620Original commit files touched by this commit
sunpoet search for other commits by this committer
- Fix MAINTAINER
- Add LICENSE
- Add NLS option
1.1.5
19 Aug 2014 19:51:01
Revision:365423Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add my LOCAL to MASTER_SITES
- Use PORTDOCS
- Sort PLIST
- Take maintainership
1.1.5
17 Aug 2014 08:25:51
Revision:365160Original commit files touched by this commit
eadler search for other commits by this committer
Return some ports I maintain to the pool.
1.1.5
16 Jul 2014 03:00:46
Revision:362023Original commit files touched by this commit
adamw search for other commits by this committer
Add DOCS option for ports with PORTDOCS in plist.
1.1.5
07 Dec 2013 05:35:04
Revision:335813Original commit files touched by this commit
eadler search for other commits by this committer
Remove PORT_OPTIONS:MDOCS checks from ports which don't need it
Add NO_ARCH if useful
1.1.5
23 Oct 2013 18:58:57
Revision:331410Original commit files touched by this commit
eadler search for other commits by this committer
Unquiet my ports to make debugging easier.
1.1.5
28 Sep 2013 07:05:15
Revision:328555Original commit files touched by this commit
eadler search for other commits by this committer
Convert to staging
20 Sep 2013 20:50:59
Revision:327745Original commit files touched by this commit Sanity Test Failure Refresh
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
misc)
1.1.5
16 Jul 2013 21:59:48
Revision:323129Original commit files touched by this commit
eadler search for other commits by this committer
Remove now excess verbiage.

Reviewed by:	bapt
1.1.5
06 Jul 2013 17:27:41
Revision:322403Original commit files touched by this commit
eadler search for other commits by this committer
Convert some of my ports from USE_GMAKE to USES=gmake.
The remainder have other pending patches which I must finish before conversion.
1.1.5
24 Apr 2013 17:50:58
Revision:316460Original commit files touched by this commit
eadler search for other commits by this committer
Convert to USES=gettext

Reviewed by:	kwm
1.1.5
28 Mar 2013 01:28:01
Revision:315426Original commit files touched by this commit
eadler search for other commits by this committer
A portlint run over my ports revealed some false positives and these two minor
formatting issues.  Fix them.
1.1.5
08 Mar 2013 20:23:39
Revision:313672Original commit files touched by this commit
eadler search for other commits by this committer
Clean up my ports (and a couple of ports@ owned ones):

- Fix COMMENT
- Add MAKE_JOBS_SAFE where appropriate
- Change ordering of LICENSE lines
- Fix new header format
- Etc.

Reviewed by:	drogoh (on irc)
1.1.5
03 Mar 2013 01:12:05
Revision:313312Original commit files touched by this commit
eadler search for other commits by this committer
I forgot to "svn add" the patch file

Pointyhat to:	me
1.1.5
03 Mar 2013 00:13:20
Revision:313310Original commit files touched by this commit
eadler search for other commits by this committer
Update to 1.1.5

PR:		ports/172911
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net>
1.1.4_2
20 Oct 2012 16:35:47
Revision:306204Original commit files touched by this commit
eadler search for other commits by this committer
I accidently committed too much

version number goes backwards, but this was committed recently

Feature safe:	yes
1.1.5_2
20 Oct 2012 14:59:44
Revision:306182Original commit files touched by this commit
eadler search for other commits by this committer
Convert to OptionsNG

Feature safe:	yes
1.1.4_2
06 Oct 2012 14:35:46
Revision:305369Original commit files touched by this commit
eadler search for other commits by this committer
Trim the headers in the ports I maintain.
1.1.4_2
23 Sep 2011 22:26:39
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:             157936
Submitted by:   myself
Exp-runs by:    pav
Approved by:    pav
1.1.4_2
21 Aug 2011 20:51:40
Original commit files touched by this commit
eadler search for other commits by this committer
- change the email address I use to maintain ports

Approved by:    bapt (mentor)
1.1.4_2
21 Aug 2011 16:12:46
Original commit files touched by this commit
eadler search for other commits by this committer
- change the email address I use to maintain ports

Approved by:    bapt (mentor)
1.1.4_2
19 Mar 2011 12:38:54
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
1.1.4_2
13 Jan 2011 21:49:33
Original commit files touched by this commit
pav search for other commits by this committer
- Over to a willing maintainer

Feature safe:   yes
1.1.4_2
31 May 2010 02:01:56
Original commit files touched by this commit
ade search for other commits by this committer
Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
1.1.4_1
11 Feb 2010 19:44:47
Original commit files touched by this commit
pgollucci search for other commits by this committer
- Respect CC

PR:             ports/143743
Submitted by:   Rob Farmer <rfarmer@predatorlabs.net>
1.1.4_1
21 Dec 2009 02:19:12
Original commit files touched by this commit
dougb search for other commits by this committer
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
1.1.4_1
27 Jul 2008 04:30:53
Original commit files touched by this commit
linimon search for other commits by this committer
Reset sergei@ due to maintainer-timeouts and no response to email.

Hat:            portmgr
1.1.4_1
25 Jul 2008 12:24:09
Original commit files touched by this commit
pav search for other commits by this committer
- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default
MAKE_ENV
1.1.4_1
06 Jun 2008 13:45:40
Original commit files touched by this commit
edwin search for other commits by this committer
Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
1.1.4
20 Mar 2008 09:51:43
Original commit files touched by this commit
pav search for other commits by this committer
- Remove USE_GETOPT_LONG which is a no-op since March 2007
1.1.4
21 Nov 2005 13:15:49
Original commit files touched by this commit
sergei search for other commits by this committer
- Update to 1.1.4
- Chase MASTER_SITE URL change [1]
- Add SHA256 checksum

Prompted by:    fenner's portsurvey [1]
1.1.3_1
19 Feb 2005 11:00:12
Original commit files touched by this commit
sergei search for other commits by this committer
- Update MASTER_SITES and WWW

Prompted by:    pointyhat via kris
1.1.3_1
04 Feb 2004 04:36:30
Original commit files touched by this commit
marcus search for other commits by this committer
Add USE_GETTEXT and bump PORTREVISION.

Submitted by:   trevor
Tested by:      bento
1.1.3
30 Jan 2004 16:03:29
Original commit files touched by this commit
sergei search for other commits by this committer
SIZE *DOES* MATTER.
1.1.3
23 Jan 2004 18:12:26
Original commit files touched by this commit
trevor search for other commits by this committer
Now gettext 0.12.1 is gettext-old.
1.1.3
23 Oct 2003 05:42:49
Original commit files touched by this commit
sergei search for other commits by this committer
Change to my @FreeBSD.org address.

Approved by:    krion
1.1.3
13 Jun 2003 23:56:42
Original commit files touched by this commit
osa search for other commits by this committer
A getopt(1) replacement that supports GNU-style long options

Submitted by:   Sergei Kolobov <sergei@kolobov.com>
PR:             53174
Approved by:    fjoe (implicit)

Number of commits found: 51