Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2000 06:03:25 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21922: New port: devel/gengetopt - 2.1
Message-ID:  <200010120403.e9C43Pw38544@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         21922
>Category:       ports
>Synopsis:       New port: devel/gengetopt - 2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 11 21:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
ACME
>Environment:

FreeBSD gits 4.1-STABLE FreeBSD 4.1-STABLE #3: Sat Sep 23 10:20:30 CEST 2000     root@gits:/disk2/4.0-stable/src/sys/compile/CUSTOM  i386

>Description:

	The GNU Gengetopt generates a C function which parses command
	line arguments.

>How-To-Repeat:

	n/a

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/gengetopt/pkg-plist
#	devel/gengetopt/pkg-descr
#	devel/gengetopt/pkg-comment
#	devel/gengetopt/distinfo
#	devel/gengetopt/Makefile
#
echo x - devel/gengetopt/pkg-plist
sed 's/^X//' >devel/gengetopt/pkg-plist << 'END-of-devel/gengetopt/pkg-plist'
Xbin/gengetopt
Xshare/doc/gengetopt/examples/sample1.ggo
Xshare/doc/gengetopt/examples/sample2.ggo
Xshare/doc/gengetopt/examples/main1.cc
Xshare/doc/gengetopt/examples/main2.c
Xshare/doc/gengetopt/examples/cmdline1.c
Xshare/doc/gengetopt/examples/cmdline1.h
Xshare/doc/gengetopt/examples/cmdline2.c
Xshare/doc/gengetopt/examples/cmdline2.h
Xshare/doc/gengetopt/gengetopt.html
Xshare/doc/gengetopt/cmdline1.c.html
Xshare/doc/gengetopt/man_getopt.html
Xshare/doc/gengetopt/no_getopt_long.txt
Xshare/doc/gengetopt/ChangeLog
Xshare/doc/gengetopt/COPYING
Xshare/doc/gengetopt/NEWS
Xshare/doc/gengetopt/THANKS
Xshare/doc/gengetopt/INSTALL
Xshare/doc/gengetopt/README
Xshare/doc/gengetopt/LICENSE
Xshare/gengetopt/getopt.h
Xshare/gengetopt/getopt.c
Xshare/gengetopt/getopt1.c
X@dirrm share/doc/gengetopt/examples
X@dirrm share/doc/gengetopt
X@dirrm share/gengetopt
END-of-devel/gengetopt/pkg-plist
echo x - devel/gengetopt/pkg-descr
sed 's/^X//' >devel/gengetopt/pkg-descr << 'END-of-devel/gengetopt/pkg-descr'
XThis program generate a C function that uses getopt_long function to parse
Xthe command line options, validate them and fill a struct.
X
XThus your program can now handle options such as:
X
Xmyprog --input foo.c -o foo.o --no-tabs -i 100 *.class
X
XAnd both long options (those that start with --) and short options (start
Xwith - and consist of only one character) can be handled. For standards
Xabout short and long options you may want to take a look at the GNU Coding
XStandards.
X
XWWW: http://www.gnu.org/software/gengetopt/gengetopt.html
END-of-devel/gengetopt/pkg-descr
echo x - devel/gengetopt/pkg-comment
sed 's/^X//' >devel/gengetopt/pkg-comment << 'END-of-devel/gengetopt/pkg-comment'
XThe GNU Gengetopt generates a C function which parses command line arguments.
END-of-devel/gengetopt/pkg-comment
echo x - devel/gengetopt/distinfo
sed 's/^X//' >devel/gengetopt/distinfo << 'END-of-devel/gengetopt/distinfo'
XMD5 (gengetopt-2.1.tar.gz) = 6281f425c0f24536bdbe340450481ec2
END-of-devel/gengetopt/distinfo
echo x - devel/gengetopt/Makefile
sed 's/^X//' >devel/gengetopt/Makefile << 'END-of-devel/gengetopt/Makefile'
X# New ports collection makefile for:	gengetopt
X# Date created:				12 October 2000
X# Whom:					Cyrille Lefevre <clefevre@citeweb.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gengetopt
XPORTVERSION=	2.1
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_GNU}
XMASTER_SITE_SUBDIR= gengetopt
X
XMAINTAINER=	ports@freebsd.org
X
XY2K=		http://www.gnu.org/software/year2000.html
X
XGNU_CONFIGURE=	yes
X
XMAN1=		gengetopt.1
X
X.include <bsd.port.mk>
END-of-devel/gengetopt/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010120403.e9C43Pw38544>