Index: branches/2019Q1/japanese/mh/Makefile =================================================================== --- branches/2019Q1/japanese/mh/Makefile (revision 492045) +++ branches/2019Q1/japanese/mh/Makefile (revision 492046) @@ -1,52 +1,65 @@ # Created by: Akito FUJITA # $FreeBSD$ PORTNAME= mh PORTVERSION= ${VERSION}.j${JP_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= japanese mail MASTER_SITES= ftp://ftp.laic.u-hyogo.ac.jp/pub/net/mh/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${VERSION}-JP-${JP_VERSION} MAINTAINER= CQG00620@nifty.ne.jp COMMENT= Rand MH mail handling system + Japanese patches BUILD_DEPENDS= jless:japanese/less RUN_DEPENDS= jless:japanese/less VERSION= 6.8.4 JP_VERSION= 3.05 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-batchmode \ --enable-apop=${PREFIX}/etc/pop.auth \ --enable-jmandir=${MANPREFIX}/man/ja MAKE_JOBS_UNSAFE= yes CFLAGS+= -Wno-return-type +LLD_UNSAFE= yes USE_LDCONFIG= yes PORTDOCS= 00.READ.ME.1ST CHANGES.JP COMMANDS.JP FAQ.JP FEATURES.JP \ INSTALL.JP OPTIONS.JP READ-ME.JP TODO.JP DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} CONFLICTS= nmh-[0-9]* OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e "s/-O /${CFLAGS} /g" ${WRKSRC}/configure +.for i in comp dist forw mh-mail mhl ja-comp ja-dist ja-forw ja-mh-mail ja-mhl + @(cd ${WRKSRC}/conf/doc && \ + ${AWK} '{ \ + if (/^\.so/) { \ + ifile="../../support/general" substr($$2, index($$2, "/")); \ + while((getline l < ifile > 0)) \ + print l; \ + close(ifile); \ + } else \ + print; \ + }' ${i}.rf > ${i}.tmp && ${MV} ${i}.tmp ${i}.rf) +.endfor post-install: ${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 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc-JP && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: branches/2019Q1/japanese/mh/files/patch-conf_doc_me2man.sed =================================================================== --- branches/2019Q1/japanese/mh/files/patch-conf_doc_me2man.sed (nonexistent) +++ branches/2019Q1/japanese/mh/files/patch-conf_doc_me2man.sed (revision 492046) @@ -0,0 +1,10 @@ +--- conf/doc/me2man.sed.orig 1993-12-01 04:00:17 UTC ++++ conf/doc/me2man.sed +@@ -8,3 +8,7 @@ + /^\.DE$/c\ + .in -.5i\ + .SH DESCRIPTION ++## replace delimiter and padding character used with .fc macro ++s/^^\(.*\)~^\(.*\)$/\1 \2/ ++## "\ " and "\0" losts the whitespace with mandoc ++s/\\[ 0]/ /g Property changes on: branches/2019Q1/japanese/mh/files/patch-conf_doc_me2man.sed ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q1/japanese/mh/files/patch-conf_doc_tmac.h =================================================================== --- branches/2019Q1/japanese/mh/files/patch-conf_doc_tmac.h (nonexistent) +++ branches/2019Q1/japanese/mh/files/patch-conf_doc_tmac.h (revision 492046) @@ -0,0 +1,86 @@ +--- conf/doc/tmac.h.orig 1993-12-01 04:00:20 UTC ++++ conf/doc/tmac.h +@@ -3,62 +3,46 @@ + .\" Try to keep only one copy of the documentation around + .\" by re-defining macros and so forth. + .\" +-.fc ^ ~ + .\" I pity the fool who tampers with the next line... + .ds ZZ -man +-.de SC \" Title section +-.TH \\$1 \\$2 @(MHCENTERFOOT) @(MHLEFTFOOT) +-.. +-.de NA \" Name section +-.SH NAME +-.. +-.de SY \" Synopsis section +-.SH SYNOPSIS +-.in +.5i +-.ti -.5i +-.. +-.de DE \" Description section +-.in -.5i +-.SH DESCRIPTION +-.. +-.de Fi \" Files section ++.de Fi + .SH FILES + .nf + .ta \w'@(MHETCPATH)/ExtraBigFileName 'u + .. +-.de Pr \" Profile section +-.SH "PROFILE\ COMPONENTS" ++.de Pr ++.SH "PROFILE COMPONENTS" + .nf + .ta 2.4i + .ta \w'ExtraBigProfileName 'u + .. +-.de Ps \" Profile next ++.de Ps + .br + .. +-.de Sa \" See Also section ++.de Sa + .fi +-.SH "SEE\ ALSO" ++.SH "SEE ALSO" + .. +-.de De \" Defaults section ++.de De + .SH "DEFAULTS" + .nf + .. +-.de Ds \" Defaults next ++.de Ds + .br + .. +-.de Co \" Context section ++.de Co + .fi + .SH CONTEXT + .. +-.de Hh \" Hints section ++.de Hh + .fi + .SH "HELPFUL HINTS" + .. +-.de Hi \" History section ++.de Hi + .fi + .SH HISTORY + .. +-.de Bu \" Bugs section ++.de Bu + .fi + .SH BUGS + .. +@@ -75,3 +59,8 @@ + .de re + .ta 0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i + .. ++.\" This defines appropriate quote strings for nroff and troff ++.ds lq \&" ++.ds rq \&" ++.if t .ds lq `` ++.if t .ds rq '' Property changes on: branches/2019Q1/japanese/mh/files/patch-conf_doc_tmac.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q1/japanese/mh/files/patch-conf_makefiles_doc =================================================================== --- branches/2019Q1/japanese/mh/files/patch-conf_makefiles_doc (nonexistent) +++ branches/2019Q1/japanese/mh/files/patch-conf_makefiles_doc (revision 492046) @@ -0,0 +1,11 @@ +--- conf/makefiles/doc.orig 1999-02-09 11:30:00 UTC ++++ conf/makefiles/doc +@@ -239,7 +239,7 @@ inst-jman8= inst-ja-ap inst-ja-conflict inst-ja-dp ins + + .me.doc:; nroff -Tlpr -me $< > $@ + +-.me.man:; cat tmac.me $< | sed -f me2man.sed @(MHCATMAN) > $@ ++.me.man:; cat tmac.h $< | sed -f me2man.sed @(MHCATMAN) > $@ + + .cat.imp:; catimp -i $@ $< + Property changes on: branches/2019Q1/japanese/mh/files/patch-conf_makefiles_doc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q1 =================================================================== --- branches/2019Q1 (revision 492045) +++ branches/2019Q1 (revision 492046) Property changes on: branches/2019Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r492045