svn commit: r460016 - head/devel/shflags
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jan 26 18:10:53 UTC 2018
Author: sunpoet
Date: Fri Jan 26 18:10:51 2018
New Revision: 460016
URL: https://svnweb.freebsd.org/changeset/ports/460016
Log:
Update to 1.2.3
- Update pkg-descr
- Take maintainership
Changes: https://github.com/kward/shflags/releases
Modified:
head/devel/shflags/Makefile
head/devel/shflags/distinfo
head/devel/shflags/pkg-descr
Modified: head/devel/shflags/Makefile
==============================================================================
--- head/devel/shflags/Makefile Fri Jan 26 17:47:07 2018 (r460015)
+++ head/devel/shflags/Makefile Fri Jan 26 18:10:51 2018 (r460016)
@@ -2,25 +2,25 @@
# $FreeBSD$
PORTNAME= shflags
-PORTVERSION= 1.2.2
+PORTVERSION= 1.2.3
DISTVERSIONPREFIX= v
CATEGORIES= devel
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at 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>
Modified: head/devel/shflags/distinfo
==============================================================================
--- head/devel/shflags/distinfo Fri Jan 26 17:47:07 2018 (r460015)
+++ head/devel/shflags/distinfo Fri Jan 26 18:10:51 2018 (r460016)
@@ -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
Modified: head/devel/shflags/pkg-descr
==============================================================================
--- head/devel/shflags/pkg-descr Fri Jan 26 17:47:07 2018 (r460015)
+++ head/devel/shflags/pkg-descr Fri Jan 26 18:10:51 2018 (r460016)
@@ -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
More information about the svn-ports-head
mailing list