2013-01-23 15:31:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.45 2013/01/23 14:31:30 adam Exp $
|
2001-06-26 14:45:38 +02:00
|
|
|
|
2013-01-06 01:35:40 +01:00
|
|
|
DISTNAME= sed-4.2.2
|
2001-06-26 14:45:38 +02:00
|
|
|
PKGNAME= g${DISTNAME}
|
2012-06-01 21:29:38 +02:00
|
|
|
PKGREVISION= 4
|
2001-06-26 14:45:38 +02:00
|
|
|
CATEGORIES= textproc editors
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=sed/}
|
2013-01-23 15:31:30 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-06-26 14:45:38 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-06-26 14:45:38 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/sed/sed.html
|
2003-06-14 03:32:48 +02:00
|
|
|
COMMENT= GNU implementation of sed, the POSIX stream editor
|
Update to 4.2:
* now released under GPLv3
* added a new extension `z` to clear pattern space even in the presence
of invalid multibyte sequences
* a preexisting GNU gettext installation is needed in order to compile
GNU sed with NLS support
* new option --follow-symlinks, available when editing a file in-place.
This option may not be available on some systems (in this case, the
option will *not* be a no-op; it will be completely unavailable).
In the future, the option may be added as a no-op on systems without
symbolic links at all, since in this case a no-op is effectively
indistinguishable from a correct implementation.
* hold-space is reset between different files in -i and -s modes.
* multibyte processing fixed
* the following GNU extensions are turned off by --posix: options [iImMsSxX]
in the `s' command, address kinds `FIRST~STEP' and `ADDR1,+N' and `ADDR1,~N',
line address 0, `e' or `z' commands, text between an `a' or `c' or `i'
command and the following backslash, arguments to the `l' command.
--posix disables all extensions to regular expressions.
* fixed bug in 'i\' giving a segmentation violation if given alone.
* much improved portability
* much faster in UTF-8 locales
* will correctly replace ACLs when using -i
* will now accept NUL bytes for `.'
2009-08-08 23:26:49 +02:00
|
|
|
LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3
|
2001-06-26 14:45:38 +02:00
|
|
|
|
2004-05-08 17:09:14 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
Update gsed to 4.0.7.
changes since 3.02:
4.0.7
Changes: This version fixes some rare infinite loops and wrong results
that occurred when the s command had a numeric option and the regular
expression could match the empty string.
4.0.6
Changes: This release improves portability a lot, and adds a
configure-time switch to choose between the included regex matcher and
the system matcher (on glibc systems only).
4.0.5
Changes: This release fixes a few portability bugs and improves the
quality of the documentation. "a", "i", "l", "L", and "=" now accept
address ranges.
4.0.3
Changes: A packaging problem with two missing translation catalogs was
fixed.
4.0.2
Changes: This release makes sed able to bootstrap itself on operating
systems that cannot run the configure script.
4.0.1
Changes: This release includes translations for over 20 languages, and
cleans up the binary and documentation files from references to
super-sed.
4.0
Changes: This release has been merged with super-sed and supports all
of its features, except for Perl regular expressions. This includes
in-place editing, new sed commands, better documentation, and support
for changing the case of the characters with the `s' command. The
performance and correctness of the regular expression matcher have
also been improved.
2003-06-14 02:04:55 +02:00
|
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
GNU_CONFIGURE= YES
|
2007-03-08 19:53:56 +01:00
|
|
|
INFO_FILES= YES
|
|
|
|
TEST_TARGET= check
|
2002-12-25 18:51:23 +01:00
|
|
|
|
2012-12-31 01:27:36 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
|
2012-05-30 00:22:00 +02:00
|
|
|
|
2005-03-02 00:10:47 +01:00
|
|
|
# at least Solaris-2.9 has issues with grep/egrep
|
2006-11-05 02:42:03 +01:00
|
|
|
USE_TOOLS+= grep makeinfo
|
2005-03-02 00:10:47 +01:00
|
|
|
|
2012-05-30 00:22:00 +02:00
|
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
2011-12-29 23:30:47 +01:00
|
|
|
|
2012-12-06 12:38:19 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2011-12-29 23:30:47 +01:00
|
|
|
post-install:
|
2012-12-06 12:38:19 +01:00
|
|
|
.for g n in bin/gsed ${PKGGNUDIR}bin/sed ${PKGMANDIR}/man1/gsed.1 ${PKGGNUDIR}${PKGMANDIR}/man1/sed.1
|
2012-06-01 21:29:38 +02:00
|
|
|
${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n}
|
|
|
|
.endfor
|
2011-12-29 23:30:47 +01:00
|
|
|
|
2004-04-25 07:01:46 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2001-06-26 14:45:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|