Initial import of gnu sed 4.1.5

GNU sed is the Free Software Foundation's version of the sed(1) editor.

from Armin Wolfermann <armin@wolfermann.org>
prodded by Stefan Sperling
This commit is contained in:
sturm 2007-09-17 08:39:53 +00:00
parent bfd52b13a7
commit 0d82a2fa98
6 changed files with 105 additions and 0 deletions

30
textproc/gsed/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/17 08:39:53 sturm Exp $
COMMENT= GNU stream editor
VERSION= 4.1.5
DISTNAME= sed-${VERSION}
PKGNAME= gsed-${VERSION}
CATEGORIES= textproc
HOMEPAGE= http://www.gnu.org/software/sed/
MAINTAINER= Armin Wolfermann <armin@wolfermann.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_GNU:=sed/}
MODULES= devel/gettext
BUILD_DEPENDS= ::devel/bison
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --program-prefix=g
USE_GMAKE= Yes
.include <bsd.port.mk>

5
textproc/gsed/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (sed-4.1.5.tar.gz) = ehy7uzNBKHMI4UC9SDTDug==
RMD160 (sed-4.1.5.tar.gz) = SbEumaVcbS54rSNvAgXmPkZEQXM=
SHA1 (sed-4.1.5.tar.gz) = jldeikRWg5LVtuCJ6rXaXNvUWIU=
SHA256 (sed-4.1.5.tar.gz) = vpVb73qB1pIi6Slong3g7PZME9xbFbLuVpbV72b97sA=
SIZE (sed-4.1.5.tar.gz) = 799584

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-lib_regex_internal_h,v 1.1.1.1 2007/09/17 08:39:53 sturm Exp $
--- lib/regex_internal.h.orig Tue Dec 6 09:50:56 2005
+++ lib/regex_internal.h Mon Sep 17 09:09:08 2007
@@ -410,7 +410,6 @@ static unsigned int re_string_context_at (const re_str
#define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
#define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
-#include <alloca.h>
#ifndef _LIBC
# if HAVE_ALLOCA

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-po_Makefile_in_in,v 1.1.1.1 2007/09/17 08:39:53 sturm Exp $
--- po/Makefile.in.in.orig Tue Nov 9 19:04:18 2004
+++ po/Makefile.in.in Sun Feb 12 23:05:16 2006
@@ -26,7 +26,7 @@ gettextsrcdir = $(datadir)/gettext/po
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
-MKINSTALLDIRS = @MKINSTALLDIRS@
+MKINSTALLDIRS = /usr/bin/install -d
mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
GMSGFMT = @GMSGFMT@

10
textproc/gsed/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
GNU sed is the Free Software Foundation's version of the sed(1) editor.
GNU sed isn't really a true text editor or text processor. Instead, it
is used to filter text, i.e., it takes text input and performs some
operation (or set of operations) on it and outputs the modified text.
Sed is typically used for extracting part of a file using pattern
matching or substituting multiple occurrences of a string within a file.
The sed binary is prefixed with the letter g to differentiate it from
the standard application with the same name.

37
textproc/gsed/pkg/PLIST Normal file
View File

@ -0,0 +1,37 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/17 08:39:53 sturm Exp $
bin/gsed
@info info/sed.info
@man man/man1/gsed.1
share/locale/af/
share/locale/af/LC_MESSAGES/
share/locale/af/LC_MESSAGES/sed.mo
share/locale/ca/LC_MESSAGES/sed.mo
share/locale/cs/LC_MESSAGES/sed.mo
share/locale/da/LC_MESSAGES/sed.mo
share/locale/de/LC_MESSAGES/sed.mo
share/locale/el/LC_MESSAGES/sed.mo
share/locale/eo/LC_MESSAGES/sed.mo
share/locale/es/LC_MESSAGES/sed.mo
share/locale/et/LC_MESSAGES/sed.mo
share/locale/fi/LC_MESSAGES/sed.mo
share/locale/fr/LC_MESSAGES/sed.mo
share/locale/ga/LC_MESSAGES/sed.mo
share/locale/gl/LC_MESSAGES/sed.mo
share/locale/he/LC_MESSAGES/sed.mo
share/locale/hr/LC_MESSAGES/sed.mo
share/locale/hu/LC_MESSAGES/sed.mo
share/locale/id/LC_MESSAGES/sed.mo
share/locale/it/LC_MESSAGES/sed.mo
share/locale/ja/LC_MESSAGES/sed.mo
share/locale/ko/LC_MESSAGES/sed.mo
share/locale/nl/LC_MESSAGES/sed.mo
share/locale/pl/LC_MESSAGES/sed.mo
share/locale/pt_BR/LC_MESSAGES/sed.mo
share/locale/ro/LC_MESSAGES/sed.mo
share/locale/ru/LC_MESSAGES/sed.mo
share/locale/sk/LC_MESSAGES/sed.mo
share/locale/sl/LC_MESSAGES/sed.mo
share/locale/sr/LC_MESSAGES/sed.mo
share/locale/sv/LC_MESSAGES/sed.mo
share/locale/tr/LC_MESSAGES/sed.mo
share/locale/zh_CN/LC_MESSAGES/sed.mo