aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-03-07 01:21:39 +0800
committersf <sf@FreeBSD.org>2001-03-07 01:21:39 +0800
commit593b314f0b4da00c3212829105797947af680bff (patch)
treec1479a0aba10bdac4b8425d80e3a20beb4c0044c
parentf9c57b19a825ec8859054412763e32bbaf5b4825 (diff)
downloadfreebsd-ports-gnome-593b314f0b4da00c3212829105797947af680bff.tar.gz
freebsd-ports-gnome-593b314f0b4da00c3212829105797947af680bff.tar.zst
freebsd-ports-gnome-593b314f0b4da00c3212829105797947af680bff.zip
update to mb114.
update PATCh_SITES. add %%PORTDOCS%%. PR: 25552 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
-rw-r--r--japanese/gawk/Makefile14
-rw-r--r--japanese/gawk/distinfo2
-rw-r--r--japanese/gawk/files/patch-ad16
-rw-r--r--japanese/gawk/pkg-plist13
4 files changed, 27 insertions, 18 deletions
diff --git a/japanese/gawk/Makefile b/japanese/gawk/Makefile
index cc7eb618f0f4..7ad5bbcfc41f 100644
--- a/japanese/gawk/Makefile
+++ b/japanese/gawk/Makefile
@@ -7,27 +7,27 @@
PORTNAME= gawk
PORTVERSION= 3.0.4
+PORTREVISION= 1
CATEGORIES= japanese lang
MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= gawk
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
-PATCH_SITES= http://member.nifty.ne.jp/wills/program/
-PATCHFILES= gawkmb112.diff.gz
+PATCH_SITES= http://www.hinadori.dyn.to/~wills/program/
+PATCHFILES= ${PORTNAME}mb114.diff.gz
PATCH_DIST_STRIP= -p1
-FETCH_BEFORE_ARGS= -b
MAN1= gawk.1 igawk.1
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/ja/awk
- ${INSTALL_DATA} ${WRKSRC}/OREADME.MB ${PREFIX}/share/doc/ja/awk
- ${INSTALL_DATA} ${WRKSRC}/README.MB ${PREFIX}/share/doc/ja/awk
+ ${MKDIR} ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/OREADME.MB ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/README.MB ${PREFIX}/share/doc/${PKGBASE}
.endif
.include <bsd.port.mk>
diff --git a/japanese/gawk/distinfo b/japanese/gawk/distinfo
index dd5e4ca1d9fa..90256548fb86 100644
--- a/japanese/gawk/distinfo
+++ b/japanese/gawk/distinfo
@@ -1,2 +1,2 @@
MD5 (gawk-3.0.4.tar.gz) = 58f904f256b3026c3fe27cf80e6291af
-MD5 (gawkmb112.diff.gz) = f1464efdcacb1088dfe20eae9b338911
+MD5 (gawkmb114.diff.gz) = e19594cc9b553f078224972bb8b4ff26
diff --git a/japanese/gawk/files/patch-ad b/japanese/gawk/files/patch-ad
index 4a16077e52cc..6b1101d4e6c5 100644
--- a/japanese/gawk/files/patch-ad
+++ b/japanese/gawk/files/patch-ad
@@ -1,11 +1,19 @@
---- awklib/Makefile.in.orig Sat Sep 4 06:27:32 1999
-+++ awklib/Makefile.in Sat Sep 4 06:33:11 1999
-@@ -75,7 +75,7 @@
+--- awklib/Makefile.in.orig Thu Mar 1 05:14:38 2001
++++ awklib/Makefile.in Thu Mar 1 05:17:02 2001
+@@ -26,6 +26,7 @@
+
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_DATA = @INSTALL_DATA@
+
+ CC = @CC@
+@@ -75,7 +76,7 @@
sed 's;/usr/local/libexec/awk;$(libexecdir);' < groupawk.in) > group.awk
install: igawk $(AUXPROGS) $(AUXAWK)
- $(INSTALL_PROGRAM) igawk $(bindir)/igawk
-+ cp igawk $(bindir)/igawk
++ $(INSTALL_SCRIPT) igawk $(bindir)/igawk
for i in $(AUXPROGS) ; do \
$(INSTALL_PROGRAM) $$i $(libexecdir)/$$i ; \
done
diff --git a/japanese/gawk/pkg-plist b/japanese/gawk/pkg-plist
index 6ea1137fce8b..f006f1578303 100644
--- a/japanese/gawk/pkg-plist
+++ b/japanese/gawk/pkg-plist
@@ -1,5 +1,8 @@
bin/gawk
bin/igawk
+@unexec install-info --delete %D/info/gawk.info %D/info/dir
+info/gawk.info
+@exec install-info %D/info/gawk.info %D/info/dir
libexec/awk/grcat
libexec/awk/pwcat
share/awk/assert.awk
@@ -14,10 +17,8 @@ share/awk/nextfile.awk
share/awk/ord.awk
share/awk/passwd.awk
share/awk/round.awk
-share/doc/ja/awk/OREADME.MB
-share/doc/ja/awk/README.MB
-@unexec install-info --delete %D/info/gawk.info %D/info/dir
-info/gawk.info
-@dirrm libexec/awk
-@dirrm share/doc/ja/awk
+%%PORTDOCS%%share/doc/ja-gawk/OREADME.MB
+%%PORTDOCS%%share/doc/ja-gawk/README.MB
@dirrm share/awk
+%%PORTDOCS%%@dirrm share/doc/ja-gawk
+@dirrm libexec/awk