From matthias.andree@web.de  Mon Oct  7 17:16:22 2002
Return-Path: <matthias.andree@web.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4353537B404
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Oct 2002 17:16:22 -0700 (PDT)
Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.uni-dortmund.de [129.217.163.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1C28043E86
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Oct 2002 17:16:20 -0700 (PDT)
	(envelope-from matthias.andree@web.de)
Received: from m2a2.myip.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])
	by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id B2DC2A3832
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Oct 2002 02:16:16 +0200 (CEST)
Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2])
	by merlin.emma.line.org (Postfix) with ESMTP id 268326DE2
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Oct 2002 02:16:12 +0200 (CEST)
Received: from libertas.emma.line.org (localhost [127.0.0.1])
	by libertas.emma.line.org (8.12.6/8.12.6) with ESMTP id g980GCVp017042;
	Tue, 8 Oct 2002 02:16:12 +0200 (CEST)
	(envelope-from emma@libertas.emma.line.org)
Received: (from emma@localhost)
	by libertas.emma.line.org (8.12.6/8.12.6/Submit) id g980GBqZ017041;
	Tue, 8 Oct 2002 02:16:11 +0200 (CEST)
Message-Id: <200210080016.g980GBqZ017041@libertas.emma.line.org>
Date: Tue, 8 Oct 2002 02:16:11 +0200 (CEST)
From: Matthias Andree <matthias.andree@web.de>
Reply-To: Matthias Andree <matthias.andree@web.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port: sysutils/getopt (Frodo Looijaard's getopt)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43804
>Category:       ports
>Synopsis:       new port: sysutils/getopt (Frodo Looijaard's getopt)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 07 17:20:01 PDT 2002
>Closed-Date:    Wed Jul 02 08:36:06 PDT 2003
>Last-Modified:  Wed Jul 02 08:36:06 PDT 2003
>Originator:     Matthias Andree
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.7-RC FreeBSD 4.7-RC #7: Fri Oct 4 00:47:29 CEST 2002 toor@libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386


	
>Description:
This shar archive contains the new sysutils/getopt port.
	
>How-To-Repeat:
	
>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:
#
#	getopt
#	getopt/distinfo
#	getopt/Makefile
#	getopt/pkg-plist
#	getopt/pkg-comment
#	getopt/pkg-descr
#
echo c - getopt
mkdir -p getopt > /dev/null 2>&1
echo x - getopt/distinfo
sed 's/^X//' >getopt/distinfo << 'END-of-getopt/distinfo'
XMD5 (getopt-1.1.2.tar.gz) = acb3aec83ac82f24f155cfcd1019d575
END-of-getopt/distinfo
echo x - getopt/Makefile
sed 's/^X//' >getopt/Makefile << 'END-of-getopt/Makefile'
X# New ports collection makefile for: getopt
X# Date created: 2002-10-08
X# Whom:		matthias.andree@web.de
X#
X# $FreeBSD$
X#
X
XPORTNAME=	getopt
XPORTVERSION=	1.1.2
XCATEGORIES=	sysutils
XMASTER_SITES=	http://huizen.dds.nl/~frodol/
X
XMAINTAINER=	matthias.andree@web.de
X
XLIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt:install
X
XMAN1=		getopt.1
XUSE_GMAKE=	yes
XCPPFLAGS+=	-I${PREFIX}/include
XLIBS+=		-lgnugetopt
XLDFLAGS+=	-L${PREFIX}/lib
XMAKE_FLAGS=	WITH_GETTEXT=0 CPPFLAGS=${CPPFLAGS} \
X			LDFLAGS="${LDFLAGS} ${LIBS}"
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X.for i in COPYING Changelog README TODO \
X	parse.bash parse.tcsh test.bash test.tcsh
X	${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}/
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-getopt/Makefile
echo x - getopt/pkg-plist
sed 's/^X//' >getopt/pkg-plist << 'END-of-getopt/pkg-plist'
Xbin/getopt
X%%PORTDOCS%%share/doc/getopt/COPYING
X%%PORTDOCS%%share/doc/getopt/Changelog
X%%PORTDOCS%%share/doc/getopt/README
X%%PORTDOCS%%share/doc/getopt/TODO
X%%PORTDOCS%%share/doc/getopt/parse.bash
X%%PORTDOCS%%share/doc/getopt/parse.tcsh
X%%PORTDOCS%%share/doc/getopt/test.bash
X%%PORTDOCS%%share/doc/getopt/test.tcsh
END-of-getopt/pkg-plist
echo x - getopt/pkg-comment
sed 's/^X//' >getopt/pkg-comment << 'END-of-getopt/pkg-comment'
XNew getopt implementation with libgnugetopt support
END-of-getopt/pkg-comment
echo x - getopt/pkg-descr
sed 's/^X//' >getopt/pkg-descr << 'END-of-getopt/pkg-descr'
XThis is Frodo Looijaard's reimplementation of getopt(1).
X
XIt aims to fix some problems with older getopt(1) implementations.
X
XWWW: http://huizen.dds.nl/~frodol/
X
X-- Matthias Andree
Xmatthias.andree@web.de
END-of-getopt/pkg-descr
exit

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Wed Jul 2 08:35:25 PDT 2003 
State-Changed-Why:  
Added as misc/getopt by osa from a different PR 2 weeks ago. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43804 
>Unformatted:
