Update of /cvsroot/darwinfiles/packagetree/sys-apps/gawk
In directory usw-pr-cvs1:/tmp/cvs-serv17803
Added Files:
ChangeLog gawk-3.1.0-r3.ebuild gawk-3.1.1.ebuild
Log Message:
Adding Gawk
--- NEW FILE: ChangeLog ---
# ChangeLog for sys-apps/gawk
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
# $Header: /cvsroot/darwinfiles/packagetree/sys-apps/gawk/ChangeLog,v 1.1 2002/09/08 13:07:54 jimmacr Exp $
*gawk-3.1.1 (21 Jul 2002)
21 Jul 2002; Martin Schlemmmer <az...@ge...> :
Update version.
*gawk-3.1.0-r3 (21 Jul 2002)
21 Jul 2002; Martin Schlemmer <az...@ge...> :
Move /usr/bin/awk to /bin/awk for upcomming baselayout.
*gawk-3.1.0-r2 (26 Jun 2002)
14 Jul 2002; phoen][x <ph...@ge...> gawk-3.1.0-r2.ebuild :
Added KEYWORDS, SLOT.
26 Jun 2002; Martin Schlemmer <az...@ge...> :
Add /bin/awk compat symlink, closing bug #3288.
*gawk-3.1.0-r1 (12 Mar 2002)
14 Jul 2002; phoen][x <ph...@ge...> gawk-3.1.0-r1.ebuild :
Added KEYWORDS, SLOT.
12 Mar 2002; Seemant Kulleen <se...@ge...> ChangeLog :
Added USE dependent nls compilation
*gawk-3.1.0 (1 Feb 2002)
1 Feb 2002; G.Bevin <gb...@ge...> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
--- NEW FILE: gawk-3.1.0-r3.ebuild ---
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /cvsroot/darwinfiles/packagetree/sys-apps/gawk/gawk-3.1.0-r3.ebuild,v 1.1 2002/09/08 13:07:54 jimmacr Exp $
S=${WORKDIR}/${P}
DESCRIPTION="GNU awk pattern-matching language"
SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/gawk/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
KEYWORDS="x86 ppc sparc sparc64"
SLOT="0"
LICENSE="GPL-2"
DEPEND="virtual/glibc
nls? ( sys-devel/gettext )"
src_compile() {
local myconf=""
use nls || myconf="${myconf} --disable-nls"
./configure --prefix=/usr \
--libexecdir=/usr/lib/awk \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--host=${CHOST} \
${myconf} || die
emake || die
}
src_install() {
make prefix=${D}/usr \
bindir=${D}/bin \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
libexecdir=${D}/usr/lib/awk \
install || die
cd ${D}/bin
rm -f gawk
ln -s gawk-${PV} gawk
#compat symlink
dodir /usr/bin
cd ${D}/usr/bin
ln -s /bin/gawk-${PV} awk
ln -s /bin/gawk-${PV} gawk
cd ${S}
if [ -z "`use build`" ]
then
dosym gawk.1.gz /usr/share/man/man1/awk.1.gz
dodoc ChangeLog ACKNOWLEDGMENT COPYING FUTURES
dodoc LIMITATIONS NEWS PROBLEMS README
docinto README_d
dodoc README_d/*
docinto atari
dodoc atari/ChangeLog atari/README.1st
docinto awklib
dodoc awklib/ChangeLog
docinto pc
dodoc pc/ChangeLog
docinto posix
dodoc posix/ChangeLog
else
rm -rf ${D}/usr/share
fi
}
--- NEW FILE: gawk-3.1.1.ebuild ---
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /cvsroot/darwinfiles/packagetree/sys-apps/gawk/gawk-3.1.1.ebuild,v 1.1 2002/09/08 13:07:54 jimmacr Exp $
S=${WORKDIR}/${P}
DESCRIPTION="GNU awk pattern-matching language"
SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/gawk/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
KEYWORDS="x86 ppc sparc sparc64"
SLOT="0"
LICENSE="GPL-2"
DEPEND="virtual/glibc
nls? ( sys-devel/gettext )"
src_compile() {
local myconf=""
use nls || myconf="${myconf} --disable-nls"
./configure --prefix=/usr \
--libexecdir=/usr/lib/awk \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--host=${CHOST} \
${myconf} || die
emake || die
}
src_install() {
make prefix=${D}/usr \
bindir=${D}/bin \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
libexecdir=${D}/usr/lib/awk \
install || die
cd ${D}/bin
rm -f gawk
ln -s gawk-${PV} gawk
#compat symlink
dodir /usr/bin
cd ${D}/usr/bin
ln -s /bin/gawk-${PV} awk
ln -s /bin/gawk-${PV} gawk
cd ${S}
if [ -z "`use build`" ]
then
dosym gawk.1.gz /usr/share/man/man1/awk.1.gz
dodoc ChangeLog ACKNOWLEDGMENT COPYING FUTURES
dodoc LIMITATIONS NEWS PROBLEMS README
docinto README_d
dodoc README_d/*
docinto atari
dodoc atari/ChangeLog atari/README.1st
docinto awklib
dodoc awklib/ChangeLog
docinto pc
dodoc pc/ChangeLog
docinto posix
dodoc posix/ChangeLog
else
rm -rf ${D}/usr/share
fi
}
|