pkgsrc/textproc/gsed/Makefile
cheusov 32a8880acd Add symlink gnu/man/man1/sed
++pkgrevision
2012-06-01 19:29:38 +00:00

36 lines
911 B
Makefile

# $NetBSD: Makefile,v 1.40 2012/06/01 19:29:38 cheusov Exp $
#
DISTNAME= sed-4.2.1
PKGNAME= g${DISTNAME}
PKGREVISION= 4
CATEGORIES= textproc editors
MASTER_SITES= ${MASTER_SITE_GNU:=sed/}
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
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
INFO_FILES= YES
TEST_TARGET= check
INSTALLATION_DIRS= gnu/bin gnu/man/man1
# at least Solaris-2.9 has issues with grep/egrep
USE_TOOLS+= grep makeinfo
CONFIGURE_ARGS+= --program-prefix=g
post-install:
.for g n in bin/gsed gnu/bin/sed man/man1/gsed.1 gnu/man/man1/sed.1
${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n}
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"