From owner-freebsd-ports Wed Oct 11 21:10:14 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D6C9037B66C for ; Wed, 11 Oct 2000 21:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA95793; Wed, 11 Oct 2000 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202]) by hub.freebsd.org (Postfix) with SMTP id 5820B37B502 for ; Wed, 11 Oct 2000 21:03:28 -0700 (PDT) Received: (qmail 52219 invoked from network); 12 Oct 2000 04:03:27 -0000 Received: from r227m167.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.227.167]) (envelope-sender ) by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 12 Oct 2000 04:03:27 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.0/8.11.0) id e9C43Pw38544; Thu, 12 Oct 2000 06:03:25 +0200 (CEST) (envelope-from root) Message-Id: <200010120403.e9C43Pw38544@gits.dyndns.org> Date: Thu, 12 Oct 2000 06:03:25 +0200 (CEST) From: Cyrille Lefevre Reply-To: clefevre@citeweb.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/21922: New port: devel/gengetopt - 2.1 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 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