summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/sed/ChangeLog7
-rw-r--r--sys-apps/sed/Manifest10
-rw-r--r--sys-apps/sed/files/digest-sed-4.1.21
-rw-r--r--sys-apps/sed/sed-4.1.2.ebuild65
4 files changed, 78 insertions, 5 deletions
diff --git a/sys-apps/sed/ChangeLog b/sys-apps/sed/ChangeLog
index 381482e06b70..22f2e4e23caa 100644
--- a/sys-apps/sed/ChangeLog
+++ b/sys-apps/sed/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/sed
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.57 2004/09/18 10:31:26 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.58 2004/09/22 03:42:33 vapier Exp $
+
+*sed-4.1.2 (21 Sep 2004)
+
+ 21 Sep 2004; Mike Frysinger <vapier@gentoo.org> +sed-4.1.2.ebuild:
+ Version bump #64897 by Anthony Giorgio.
18 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> sed-4.0.9.ebuild:
tidy the macos stuff
diff --git a/sys-apps/sed/Manifest b/sys-apps/sed/Manifest
index 4c87e8158220..81edd54638e3 100644
--- a/sys-apps/sed/Manifest
+++ b/sys-apps/sed/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 3a0e235e7665e07cd98a0bc6359bfd64 ChangeLog 7774
+MD5 b8b6b7b21fcd4814274b88b7716ee511 ChangeLog 7909
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 ba179be0ae3678922d464a605700cfbb sed-4.1.2.ebuild 1416
MD5 b4976b3741cd00774a4f470aaa8bdbed sed-4.0.9.ebuild 1397
+MD5 da2101c043ce802aabb650bea031a52d files/digest-sed-4.1.2 61
MD5 1f789b81b2d7992345e1490c68ad5477 files/dos2unix 59
MD5 2502535e2cc93fa49d1c2fdc31eff1b2 files/unix2dos 56
MD5 a244109e1adcbd40a02446fb23df33c1 files/digest-sed-4.0.9 61
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBUPCNHTu7gpaalycRAs5uAKDdPBmeGh9I0DtnnQUeDs+WiDB5JgCg2V+B
-HpKOA6N00GMl/8iEGdW3XtQ=
-=GYGH
+iD8DBQFBUPSwHTu7gpaalycRAv3KAJ9c8qQzY/E3tVxW2C0dJ9Ko/qVbwACgk6j0
+cijTmDSTToh591Lprg56DUk=
+=Twg9
-----END PGP SIGNATURE-----
diff --git a/sys-apps/sed/files/digest-sed-4.1.2 b/sys-apps/sed/files/digest-sed-4.1.2
new file mode 100644
index 000000000000..37225ca3ae30
--- /dev/null
+++ b/sys-apps/sed/files/digest-sed-4.1.2
@@ -0,0 +1 @@
+MD5 928f0e06422f414091917401f1a834d0 sed-4.1.2.tar.gz 767189
diff --git a/sys-apps/sed/sed-4.1.2.ebuild b/sys-apps/sed/sed-4.1.2.ebuild
new file mode 100644
index 000000000000..4dc7d386712e
--- /dev/null
+++ b/sys-apps/sed/sed-4.1.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.2.ebuild,v 1.1 2004/09/22 03:42:33 vapier Exp $
+
+inherit gnuconfig flag-o-matic
+
+DESCRIPTION="Super-useful stream editor"
+HOMEPAGE="http://www.gnu.org/software/sed/sed.html"
+SRC_URI="mirror://gnu/sed/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~arm ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sparc ~x86"
+IUSE="nls static build"
+
+RDEPEND="virtual/libc"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ gnuconfig_update
+}
+
+src_compile() {
+ local myconf=""
+ if use macos || use ppc-macos ; then
+ myconf="--program-prefix=g"
+ fi
+ econf \
+ $(use_enable nls) \
+ ${myconf} \
+ || die "Configure failed"
+
+ use static && append-ldflags -static
+ emake LDFLAGS="${LDFLAGS}" || die "build failed"
+}
+
+src_install() {
+ into /
+ dobin sed/sed
+ if ! use build
+ then
+ einstall || die "Install failed"
+ dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog
+ docinto examples
+ dodoc "${FILESDIR}/dos2unix" "${FILESDIR}/unix2dos"
+ else
+ dodir /usr/bin
+ fi
+
+ rm -f "${D}/usr/bin/sed"
+ if use macos || use ppc-macos ; then
+ cd "${D}"
+ local x
+ for x in $(find . -name 'sed*' -print);
+ do
+ mv "$x" "${x//sed/gsed}"
+ done
+ dosym ../../bin/gsed /usr/bin/gsed
+ else
+ dosym ../../bin/sed /usr/bin/sed
+ fi
+}