View | Details | Raw Unified | Return to bug 201174
Collapse All | Expand All

(-)devel/shflags/Makefile (-3 / +9 lines)
Lines 4-19 Link Here
4
PORTNAME=	shflags
4
PORTNAME=	shflags
5
PORTVERSION=	1.0.3
5
PORTVERSION=	1.0.3
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	GH
8
EXTRACT_SUFX=	.tgz
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Command-line flags module for Unix shell scripts
10
COMMENT=	Command-line flags module for Unix shell scripts
12
11
12
LICENSE=	LGPL21
13
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	kward
16
17
NO_ARCH=	yes
13
NO_BUILD=	yes
18
NO_BUILD=	yes
19
14
PLIST_FILES=	lib/shflags
20
PLIST_FILES=	lib/shflags
15
21
16
do-install:
22
do-install:
17
	${INSTALL_DATA} ${WRKSRC}/src/shflags ${STAGEDIR}${PREFIX}/lib
23
	(cd ${WRKSRC}/src && ${INSTALL_DATA} shflags ${STAGEDIR}${PREFIX}/lib)
18
24
19
.include <bsd.port.mk>
25
.include <bsd.port.mk>
(-)devel/shflags/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (shflags-1.0.3.tgz) = 956a14771230760e24fa6ad5692bf858d1c9ee2d314320091fd045181cec8a22
1
SHA256 (kward-shflags-1.0.3_GH0.tar.gz) = ffc7eb68b583eba7eb468f7cd5d5f4174b7ad014e24aae2e43f8b5c2d0da0602
2
SIZE (shflags-1.0.3.tgz) = 43549
2
SIZE (kward-shflags-1.0.3_GH0.tar.gz) = 43017
(-)devel/shflags/pkg-descr (-8 / +9 lines)
Lines 1-12 Link Here
1
Shell Flags (shFlags) is a library written to greatly simplify the handling of
1
Shell Flags (shFlags) is a library written to greatly simplify the
2
command-line flags in Bourne based Unix shell scripts (bash, dash, ksh, sh,
2
handling of command-line flags in Bourne based Unix shell scripts (bash,
3
zsh) on many Unix OSes (Linux, Solaris, Mac OS X, etc.).
3
dash, ksh, sh, zsh) on many Unix OSes (Linux, Solaris, Mac OS X, etc.).
4
4
5
Most shell scripts use getopt for flags processing, but the different versions
5
Most shell scripts use getopt for flags processing, but the different
6
of getopt on various OSes make writing portable shell scripts difficult.
6
versions of getopt on various OSes make writing portable shell scripts
7
shFlags instead provides an API that doesn't change across shell and OS
7
difficult. shFlags instead provides an API that doesn't change across
8
versions so the script writer can be confident that the script will work.
8
shell and OS versions so the script writer can be confident that the
9
script will work.
9
10
10
shFlags is a port of the google-gflags C++/Python library.
11
shFlags is a port of the google-gflags C++/Python library.
11
12
12
WWW: http://code.google.com/p/shflags/
13
WWW: http://github.com/kward/shflags

Return to bug 201174