aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/groff/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile
index 81d40440687e..7b8c7cbfa682 100644
--- a/japanese/groff/Makefile
+++ b/japanese/groff/Makefile
@@ -39,6 +39,8 @@ post-patch:
esac; \
done
+.include <bsd.port.pre.mk>
+
post-install:
@${CP} -p /usr/share/tmac/tmac.an ${PREFIX}/share/groff/tmac
@${CP} -p /usr/share/tmac/tmac.andoc ${PREFIX}/share/groff/tmac
@@ -46,10 +48,14 @@ post-install:
@${CP} -p /usr/share/tmac/tmac.orig_me ${PREFIX}/share/groff/tmac
@${CP} -p /usr/share/tmac/tmac.vgrind ${PREFIX}/share/groff/tmac
@${CP} -p /usr/share/tmac/eqnrc ${PREFIX}/share/groff/tmac
+.if ${OSVERSION} >= 400000
+ @${CP} -p /usr/share/tmac/locale/hyphen.us-ru ${PREFIX}/share/groff/tmac
+.else
@${CP} -p /usr/share/tmac/hyphen.us-ru ${PREFIX}/share/groff/tmac
+.endif
@${CP} -p /usr/share/tmac/troffrc ${PREFIX}/share/groff/tmac
@${CP} -p /usr/share/tmac/mdoc/doc-common ${PREFIX}/share/groff/tmac/mdoc
@${CP} -p /usr/share/tmac/mdoc/doc-syms ${PREFIX}/share/groff/tmac/mdoc
@/usr/bin/patch -d ${PREFIX}/share/groff/tmac < ${FILESDIR}/rc.diff
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>