aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mh/Makefile7
-rw-r--r--japanese/mh/files/patch-conf__makefiles__uip13
2 files changed, 19 insertions, 1 deletions
diff --git a/japanese/mh/Makefile b/japanese/mh/Makefile
index 788495029678..9372e2c1745b 100644
--- a/japanese/mh/Makefile
+++ b/japanese/mh/Makefile
@@ -41,10 +41,15 @@ OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e "s/-O /${CFLAGS} /g" ${WRKSRC}/configure
-.if ${PORT_OPTIONS:MDOCS}
post-install:
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc-JP && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.endif
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmh.so.3
+.for i in ap conflict dp fmtdump install-mh mhl post rcvdist rcvpack rcvstore rcvtty slocal spost
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mh/${i}
+.endfor
.include <bsd.port.mk>
diff --git a/japanese/mh/files/patch-conf__makefiles__uip b/japanese/mh/files/patch-conf__makefiles__uip
new file mode 100644
index 000000000000..578964fdd28f
--- /dev/null
+++ b/japanese/mh/files/patch-conf__makefiles__uip
@@ -0,0 +1,13 @@
+--- conf/makefiles/uip.orig 2001-05-30 23:57:47.000000000 +0900
++++ conf/makefiles/uip 2014-10-13 17:55:46.000000000 +0900
+@@ -995,10 +995,6 @@
+ -chmod g-s zrcvtty
+ $(CP) xrcvtty $@
+ -@chmod $(PGMPROT) $@
+-@BEGIN: BSD43
+- -@chgrp tty $@
+- -@chmod g+s $@
+-@END: BSD43
+ -@ls -l $@
+ -@echo ""
+