Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 02:16:11 +0200 (CEST)
From:      Matthias Andree <matthias.andree@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43804: new port: sysutils/getopt (Frodo Looijaard's getopt)
Message-ID:  <200210080016.g980GBqZ017041@libertas.emma.line.org>

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

>Number:         43804
>Category:       ports
>Synopsis:       new port: sysutils/getopt (Frodo Looijaard's getopt)
>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:   Mon Oct 07 17:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>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?200210080016.g980GBqZ017041>