aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-23 16:28:55 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-23 16:28:55 +0000
commitdb2e1b2d397f16d54e0bce1f089b79b7deb2eae0 (patch)
tree3509862b5ba1f2cd0e7f4dcf8f46a7aebc781bcb /japanese
parent8e9582af85871dd7e667804adc24f718850c2e51 (diff)
downloadports-db2e1b2d397f16d54e0bce1f089b79b7deb2eae0.tar.gz
ports-db2e1b2d397f16d54e0bce1f089b79b7deb2eae0.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/grep/Makefile11
-rw-r--r--japanese/grep/distinfo1
-rw-r--r--japanese/grep/files/patch-ab27
-rw-r--r--japanese/grep/files/patch-ac16
-rw-r--r--japanese/grep/pkg-plist4
5 files changed, 42 insertions, 17 deletions
diff --git a/japanese/grep/Makefile b/japanese/grep/Makefile
index 3689255c5af0..59f8eae55b8f 100644
--- a/japanese/grep/Makefile
+++ b/japanese/grep/Makefile
@@ -12,16 +12,21 @@ CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= grep
+PATCH_SITES= ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1994/jun/ \
+ ftp://ftp.hipecs.hokudai.ac.jp/pub/GNU/jp/
+PATCHFILES= grep-2.0-mb1.04.diff.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= ports@FreeBSD.org
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
+ @${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/distinfo b/japanese/grep/distinfo
index a0121ac8432f..61987e87f803 100644
--- a/japanese/grep/distinfo
+++ b/japanese/grep/distinfo
@@ -1 +1,2 @@
MD5 (grep-2.0.tar.gz) = b676733ad3437ebd5dc3999f56c55950
+MD5 (grep-2.0-mb1.04.diff.gz) = 116f21ae22bcf4d02da577678a21664a
diff --git a/japanese/grep/files/patch-ab b/japanese/grep/files/patch-ab
index 77cd96e51620..2778acae1d93 100644
--- a/japanese/grep/files/patch-ab
+++ b/japanese/grep/files/patch-ab
@@ -1,24 +1,27 @@
---- grep-2.0/Makefile.in.orig Tue Apr 4 02:25:58 1995
-+++ grep-2.0/Makefile.in Tue Apr 4 02:27:57 1995
-@@ -74,7 +74,7 @@
- manext=1
+--- Makefile.in.orig Fri Dec 3 21:46:09 1999
++++ Makefile.in Fri Dec 3 21:47:39 1999
+@@ -53,10 +53,10 @@
+ LIBS=@LIBS@
+ ALLOCA=@ALLOCA@
- # How to make a hard link.
--LN=ln
-+LN=ln -s
+-CFLAGS=-O
++CFLAGS=@CFLAGS@
+ LDFLAGS=$(CFLAGS)
- #### End of system configuration section. ####
+-prefix=/usr/local
++prefix=@prefix@
+ exec_prefix=$(prefix)
-@@ -97,10 +97,10 @@
+ # Prefix for installed program, normally empty or `g'.
+@@ -97,9 +97,9 @@
install: all
$(INSTALL_PROGRAM) grep $(bindir)/$(binprefix)grep
rm -f $(bindir)/$(binprefix)egrep
- $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)egrep
-+ cd $(bindir); $(LN) $(binprefix)grep $(binprefix)egrep
++ $(LN) -s $(binprefix)grep $(bindir)/$(binprefix)egrep
rm -f $(bindir)/$(binprefix)fgrep
- $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)fgrep
-+ cd $(bindir); $(LN) $(binprefix)grep $(binprefix)fgrep
++ $(LN) -s $(binprefix)grep $(bindir)/$(binprefix)fgrep
$(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext)
check:
- AWK=$(AWK) sh $(srcdir)/tests/check.sh $(srcdir)/tests
diff --git a/japanese/grep/files/patch-ac b/japanese/grep/files/patch-ac
new file mode 100644
index 000000000000..d1d06ec800d2
--- /dev/null
+++ b/japanese/grep/files/patch-ac
@@ -0,0 +1,16 @@
+--- configure.orig Sat May 22 13:20:23 1993
++++ configure Fri Dec 3 21:49:27 1999
+@@ -808,11 +808,13 @@
+ s%@AWK@%$AWK%g
+ s%@CC@%$CC%g
+ s%@CPP@%$CPP%g
++s%@CFLAGS@%$CFLAGS%g
+ s%@INSTALL@%$INSTALL%g
+ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+ s%@INSTALL_DATA@%$INSTALL_DATA%g
+ s%@ALLOCA@%$ALLOCA%g
+ s%@LIBS@%$LIBS%g
++s%@prefix@%$prefix%g
+ s%@srcdir@%$srcdir%g
+ s%@DEFS@%$DEFS%
+ " $top_srcdir/${file}.in >> $file
diff --git a/japanese/grep/pkg-plist b/japanese/grep/pkg-plist
index 8567e13f1716..588caf415811 100644
--- a/japanese/grep/pkg-plist
+++ b/japanese/grep/pkg-plist
@@ -1,5 +1,5 @@
bin/grep
bin/egrep
bin/fgrep
-share/doc/ja-grep/README.MB
-@dirrm share/doc/ja-grep
+share/doc/ja/grep/README.MB
+@dirrm share/doc/ja/grep