aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1998-08-31 23:37:36 +0800
committermax <max@FreeBSD.org>1998-08-31 23:37:36 +0800
commit6da12660841de002bb5a552647fe8fa9166af5c9 (patch)
tree833ea1197f45bf6a2a3e1612b7067dbdfa899680 /japanese
parented5ac187e163333fc453ee90389932740fca4240 (diff)
downloadfreebsd-ports-gnome-6da12660841de002bb5a552647fe8fa9166af5c9.tar.gz
freebsd-ports-gnome-6da12660841de002bb5a552647fe8fa9166af5c9.tar.zst
freebsd-ports-gnome-6da12660841de002bb5a552647fe8fa9166af5c9.zip
Define MAN1 in the Makefile and remove the man page entry from
the PLIST. Don't patch the dist Makefile to compress the man page. Install the README file comes with the multibyte patch.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/grep/Makefile11
-rw-r--r--japanese/grep/files/patch-ab3
-rw-r--r--japanese/grep/pkg-plist3
3 files changed, 12 insertions, 5 deletions
diff --git a/japanese/grep/Makefile b/japanese/grep/Makefile
index 50ae1105cebc..2097a07555fc 100644
--- a/japanese/grep/Makefile
+++ b/japanese/grep/Makefile
@@ -3,7 +3,7 @@
# Date created: 2 April 1995
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
-# $Id: Makefile,v 1.7 1997/12/25 22:29:33 asami Exp $
+# $Id: Makefile,v 1.8 1998/04/30 18:40:03 max Exp $
#
DISTNAME= grep-2.0
@@ -13,7 +13,14 @@ MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= ports@FreeBSD.ORG
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
PATCH_STRIP= -p1
+MAN1= grep.1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ja-grep
+ ${INSTALL_DATA} ${WRKSRC}/README.MB ${PREFIX}/share/doc/ja-grep
+.endif
.include <bsd.port.mk>
diff --git a/japanese/grep/files/patch-ab b/japanese/grep/files/patch-ab
index a04525bfda45..77cd96e51620 100644
--- a/japanese/grep/files/patch-ab
+++ b/japanese/grep/files/patch-ab
@@ -9,7 +9,7 @@
#### End of system configuration section. ####
-@@ -97,10 +97,11 @@
+@@ -97,10 +97,10 @@
install: all
$(INSTALL_PROGRAM) grep $(bindir)/$(binprefix)grep
rm -f $(bindir)/$(binprefix)egrep
@@ -19,7 +19,6 @@
- $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)fgrep
+ cd $(bindir); $(LN) $(binprefix)grep $(binprefix)fgrep
$(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext)
-+ gzip -9nf $(mandir)/grep.$(manext)
check:
AWK=$(AWK) sh $(srcdir)/tests/check.sh $(srcdir)/tests
diff --git a/japanese/grep/pkg-plist b/japanese/grep/pkg-plist
index 35cb20bbcb09..8567e13f1716 100644
--- a/japanese/grep/pkg-plist
+++ b/japanese/grep/pkg-plist
@@ -1,4 +1,5 @@
bin/grep
bin/egrep
bin/fgrep
-man/man1/grep.1.gz
+share/doc/ja-grep/README.MB
+@dirrm share/doc/ja-grep