e520486376
* Noteworthy changes in release 4.7 (2018-12-20) [stable] ** Bug fixes Some uses of \b in the C locale and with the DFA matcher would fail, e.g., the following would mistakenly print "123-x" instead of "123": echo 123-x|LC_ALL=C sed 's/.\bx//' Using a multibyte locale or certain regexp constructs (some ranges, backreferences) would avoid the bug. [bug introduced in sed 4.6]
35 lines
946 B
Makefile
35 lines
946 B
Makefile
# $NetBSD: Makefile,v 1.54 2019/02/13 19:53:52 wiz Exp $
|
|
|
|
DISTNAME= sed-4.7
|
|
PKGNAME= g${DISTNAME}
|
|
CATEGORIES= textproc editors
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=sed/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/sed/sed.html
|
|
COMMENT= GNU implementation of sed, the POSIX stream editor
|
|
LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3
|
|
|
|
USE_GCC_RUNTIME= yes
|
|
USE_PKGLOCALEDIR= YES
|
|
GNU_CONFIGURE= YES
|
|
INFO_FILES= YES
|
|
TEST_TARGET= check
|
|
|
|
INSTALLATION_DIRS= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
|
|
|
|
# at least Solaris-2.9 has issues with grep/egrep
|
|
USE_TOOLS+= grep makeinfo
|
|
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
post-install:
|
|
.for g n in bin/gsed ${PKGGNUDIR}bin/sed ${PKGMANDIR}/man1/gsed.1 ${PKGGNUDIR}${PKGMANDIR}/man1/sed.1
|
|
${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n}
|
|
.endfor
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|