diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-01-27 02:10:51 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-01-27 02:10:51 +0800 |
commit | 5cd885809e7a97d9130e9c14f26c2f8688e94a4b (patch) | |
tree | e5a9aa82fd1ac6751e6caac79b2ed104abc4f1a8 /devel | |
parent | 83188986fde0e25a262733f02d10f8788a711abc (diff) | |
download | freebsd-ports-gnome-5cd885809e7a97d9130e9c14f26c2f8688e94a4b.tar.gz freebsd-ports-gnome-5cd885809e7a97d9130e9c14f26c2f8688e94a4b.tar.zst freebsd-ports-gnome-5cd885809e7a97d9130e9c14f26c2f8688e94a4b.zip |
Update to 1.2.3
- Update pkg-descr
- Take maintainership
Changes: https://github.com/kward/shflags/releases
Diffstat (limited to 'devel')
-rw-r--r-- | devel/shflags/Makefile | 12 | ||||
-rw-r--r-- | devel/shflags/distinfo | 6 | ||||
-rw-r--r-- | devel/shflags/pkg-descr | 17 |
3 files changed, 16 insertions, 19 deletions
diff --git a/devel/shflags/Makefile b/devel/shflags/Makefile index 20c2287a4918..80be99e91715 100644 --- a/devel/shflags/Makefile +++ b/devel/shflags/Makefile @@ -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> diff --git a/devel/shflags/distinfo b/devel/shflags/distinfo index 6ac773b8f8f0..3a680419a36c 100644 --- a/devel/shflags/distinfo +++ b/devel/shflags/distinfo @@ -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 diff --git a/devel/shflags/pkg-descr b/devel/shflags/pkg-descr index 39a5c437ca7c..49905e518825 100644 --- a/devel/shflags/pkg-descr +++ b/devel/shflags/pkg-descr @@ -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 |