aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/sed/Makefile13
-rw-r--r--japanese/sed/distinfo2
-rw-r--r--japanese/sed/pkg-plist4
3 files changed, 15 insertions, 4 deletions
diff --git a/japanese/sed/Makefile b/japanese/sed/Makefile
index 6da23928dd13..0155d1907b17 100644
--- a/japanese/sed/Makefile
+++ b/japanese/sed/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sed
PORTVERSION= 3.02
+PORTREVISION= 1
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,11 +17,17 @@ MAINTAINER= ports@FreeBSD.org
USE_GMAKE= yes
GNU_CONFIGURE= yes
-PATCH_SITES= http://member.nifty.ne.jp/wills/program/
-PATCHFILES= ${PORTNAME}mb108.diff.gz
+PATCH_SITES= http://www.hinadori.dyn.to/~wills/program/
+PATCHFILES= ${PORTNAME}mb109.diff.gz
PATCH_DIST_STRIP= -p1
-FETCH_BEFORE_ARGS= -b
MAN1= sed.1
+post-install:
+.if !defined(NOPORTDOCS)
+ @${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/sed/distinfo b/japanese/sed/distinfo
index 92e83722c927..33cd95cb91fb 100644
--- a/japanese/sed/distinfo
+++ b/japanese/sed/distinfo
@@ -1,2 +1,2 @@
MD5 (sed-3.02.tar.gz) = 74db866f052b47fa8ec1c2b8f967bc69
-MD5 (sedmb108.diff.gz) = 8ad0b4c5a9f93a0499378c610a6d062f
+MD5 (sedmb109.diff.gz) = 2a50123644588cde4d7c02227fd0c852
diff --git a/japanese/sed/pkg-plist b/japanese/sed/pkg-plist
index 39b0c418fa15..21db3fb9b33e 100644
--- a/japanese/sed/pkg-plist
+++ b/japanese/sed/pkg-plist
@@ -1,3 +1,7 @@
bin/sed
@unexec install-info --delete %D/info/sed.info %D/info/dir
info/sed.info
+@exec install-info %D/info/sed.info %D/info/dir
+%%PORTDOCS%%share/doc/ja-sed/OREADME.MB
+%%PORTDOCS%%share/doc/ja-sed/README.MB
+%%PORTDOCS%%@dirrm share/doc/ja-sed