summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1998-08-31 15:37:36 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1998-08-31 15:37:36 +0000
commit1b9f492d9333b333f5ceb24fc231292dfbae1a34 (patch)
tree4b261678aad560eab237d1618650cb79dc65e408 /japanese
parentUpgrade to 1.4.3 (diff)
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.
Notes
Notes: svn path=/head/; revision=12967
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