japanese/mh: fixes

- Strip binaries and libs
- Add missing patch

PR:		194880
Submitted by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
Approved by:	mentors (implicit)
This commit is contained in:
Bartek Rutkowski 2014-11-11 13:41:37 +00:00
parent 12089f1b84
commit 42e01db0e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372447
2 changed files with 19 additions and 1 deletions

View file

@ -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>

View file

@ -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 ""