mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Update to 1.2.3
- Update pkg-descr - Take maintainership Changes: https://github.com/kward/shflags/releases
This commit is contained in:
parent
fed8f315d1
commit
bc865d5e7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460016
@ -2,25 +2,25 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= shflags
|
||||
PORTVERSION= 1.2.2
|
||||
PORTVERSION= 1.2.3
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Command-line flags module for Unix shell scripts
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= kward
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= lib/shflags
|
||||
|
||||
GH_ACCOUNT= kward
|
||||
USE_GITHUB= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/shflags ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/shflags ${STAGEDIR}${PREFIX}/lib/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1509260305
|
||||
SHA256 (kward-shflags-v1.2.2_GH0.tar.gz) = bc82eab9860b50323d9a6dbfcdccdd3b66b16f642f702a492f938a7849a96b2c
|
||||
SIZE (kward-shflags-v1.2.2_GH0.tar.gz) = 54687
|
||||
TIMESTAMP = 1516975111
|
||||
SHA256 (kward-shflags-v1.2.3_GH0.tar.gz) = 4467970909f354897c79394c6fa96e57fde307638f35ee6ea4eec3c679763dc1
|
||||
SIZE (kward-shflags-v1.2.3_GH0.tar.gz) = 42253
|
||||
|
@ -1,13 +1,10 @@
|
||||
Shell Flags (shFlags) is a library written to greatly simplify the
|
||||
handling of command-line flags in Bourne based Unix shell scripts (bash,
|
||||
dash, ksh, sh, zsh) on many Unix OSes (Linux, Solaris, Mac OS X, etc.).
|
||||
shFlags is a port of the Google gflags library for Unix shell. The code is
|
||||
written in a way to be as portable as possible to work across a wide array of
|
||||
Unix variants.
|
||||
|
||||
Most shell scripts use getopt for flags processing, but the different
|
||||
versions of getopt on various OSes make writing portable shell scripts
|
||||
difficult. shFlags instead provides an API that doesn't change across
|
||||
shell and OS versions so the script writer can be confident that the
|
||||
script will work.
|
||||
|
||||
shFlags is a port of the google-gflags C++/Python library.
|
||||
shFlags is simply a library that you include into an existing shell script that
|
||||
gives you some additional functions that can be called. The power behind those
|
||||
functions though is somewhat amazing though, and you will hopefully be amazed
|
||||
with the simplicity with which you can handle command-line arguments in shell.
|
||||
|
||||
WWW: https://github.com/kward/shflags
|
||||
|
Loading…
Reference in New Issue
Block a user