summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorcheusov <cheusov>2012-06-01 19:47:46 +0000
committercheusov <cheusov>2012-06-01 19:47:46 +0000
commitd37832e1ba083df9d13f8de01880787ecc6ef716 (patch)
tree7f395af94d19c9840c4eb0ce4e16b3353f6329ca /textproc
parent635d791446c549430972eb8e21083baacd1a3f2d (diff)
downloadpkgsrc-d37832e1ba083df9d13f8de01880787ecc6ef716.tar.gz
Add symlinks in gnu/man/man1/
++pkgrevision
Diffstat (limited to 'textproc')
-rw-r--r--textproc/grep/Makefile14
-rw-r--r--textproc/grep/PLIST5
2 files changed, 13 insertions, 6 deletions
diff --git a/textproc/grep/Makefile b/textproc/grep/Makefile
index a8995ecb8f3..9e5b802c096 100644
--- a/textproc/grep/Makefile
+++ b/textproc/grep/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2012/05/29 22:10:24 cheusov Exp $
+# $NetBSD: Makefile,v 1.27 2012/06/01 19:47:46 cheusov Exp $
#
DISTNAME= grep-2.5.3
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
EXTRACT_SUFX= .tar.bz2
@@ -22,13 +22,17 @@ INFO_FILES= yes
TEXINFO_REQD= 4.0
CONFIGURE_ENV+= MKDIR_P=${INSTALL_DATA_DIR:Q}
-INSTALLATION_DIRS= gnu/bin
+INSTALLATION_DIRS= gnu/bin gnu/man/man1
CONFIGURE_ARGS+= --program-prefix=g
post-install:
-.for p in grep egrep fgrep
- ln -s ../../bin/g${p} ${DESTDIR}${PREFIX}/gnu/bin/${p}
+.for g n in bin/ggrep gnu/bin/grep bin/gegrep gnu/bin/egrep \
+ bin/gfgrep gnu/bin/fgrep \
+ man/man1/ggrep.1 gnu/man/man1/grep.1 \
+ man/man1/ggrep.1 gnu/man/man1/egrep.1 \
+ man/man1/ggrep.1 gnu/man/man1/fgrep.1
+ ${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n}
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/textproc/grep/PLIST b/textproc/grep/PLIST
index 67a60cb2c78..fbcbb92a609 100644
--- a/textproc/grep/PLIST
+++ b/textproc/grep/PLIST
@@ -1,10 +1,13 @@
-@comment $NetBSD: PLIST,v 1.8 2012/05/29 22:10:24 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.9 2012/06/01 19:47:46 cheusov Exp $
bin/gegrep
bin/gfgrep
bin/ggrep
gnu/bin/egrep
gnu/bin/fgrep
gnu/bin/grep
+gnu/man/man1/egrep.1
+gnu/man/man1/fgrep.1
+gnu/man/man1/grep.1
info/grep.info
man/man1/gegrep.1
man/man1/gfgrep.1