BSD Ports

devel/getopt-ada 2.0.0 FreeBSD

Ada POSIX getopt(3) library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
ebfb113f1c
License
MPL20
Categories
devel
Package size
26.3 KiB, 98.2 KiB installed

Description

An Ada library implementing a POSIX-compliant getopt(3) parser.

POSIX-compliant and portable Ada-2012 library to the familiar get option (getopt(3)) character and command line argument parser function common in the Standard C Library. This library can be used as replacement for getopt(3) for users of Ada working on POSIX supporting systems.

Install

Binary package:

pkg install getopt-ada

From the ports tree:

cd /usr/ports/devel/getopt-ada/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	getopt-ada>0:devel/getopt-ada

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.02.0.0---
FreeBSD:14:quarterly2.0.02.0.0n/a--
FreeBSD:15:latest2.0.02.0.0n/a--
FreeBSD:15:quarterly2.0.02.0.0n/an/an/a
FreeBSD:16:latest2.0.02.0.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 12
Run dependencies 11

No port depends on this one.

Configuration

Options name: devel_getopt-ada

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
USES
ada:run
Service scripts
none

Files

pkg-plist 8
  • include/getopt/getopts.adb
  • include/getopt/getopts.ads
  • lib/getopt/getopts.ali
  • lib/getopt/libgetopt-ada.a
  • share/examples/getopt-ada/example.adb
  • share/examples/getopt-ada/getopt_example.gpr
  • share/gpr/getopt.gpr
  • share/gpr/manifests/getopt
distinfo 1
FileSizeSHA256
getopt-ada-v2.0.0.tar.gz119542c0816539b61aa27c3accac795ab9278102857c836f27c498bf09387ae2c92d9
Master sites 1
  • https://git.sr.ht/~${_SRHT_ACCOUNT}/${_SRHT_PROJECT}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/

Commit history 1

DateCommitCreditsLog message
ebfb113f1c Alastair Hogge devel/getopt-ada: New Port, Ada POSIX getopt lib
New Port, Ada POSIX getopt library: * A simple Ada package implementing a POSIX-compliant getopt(3) https://git.sr.ht/~nytpu/getopt PR: 296454