aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-02-14 05:20:19 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-02-14 05:20:19 +0000
commit576e0f598594ae457f6b7c377e82c74705ec8a84 (patch)
tree16db329e0425068117b32eb6b63d40b8fd0fd332 /japanese
parent3cbe5c067a093f925e94152e052b037c16fa8e2a (diff)
downloadports-576e0f598594ae457f6b7c377e82c74705ec8a84.tar.gz
ports-576e0f598594ae457f6b7c377e82c74705ec8a84.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/man/Makefile3
-rw-r--r--japanese/man/pkg-install11
2 files changed, 13 insertions, 1 deletions
diff --git a/japanese/man/Makefile b/japanese/man/Makefile
index 54d5a178b130..2a1196c80eb5 100644
--- a/japanese/man/Makefile
+++ b/japanese/man/Makefile
@@ -3,7 +3,7 @@
# Date created: 4 December 1996
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
-# $Id: Makefile,v 1.3 1996/12/12 08:35:36 asami Exp $
+# $Id: Makefile,v 1.4 1997/02/12 10:59:14 asami Exp $
#
DISTNAME= jp-man-1.1
@@ -36,6 +36,7 @@ XPG4PATCHFILE= patch-xpg4
XPG4PATCHSUFX= xpg4
pre-patch:
+ @${MKDIR} ${PATCHDIR}
@rm -f ${PATCHDIR}/patch-${XPG4PATCHSUFX}
.if !defined(NOUSE_XPG4LIB)
@${SED} -e "s,%xpg4_lib_path%,${XPG4LIBPATH},g" < ${FILESDIR}/${XPG4PATCHFILEORG} > ${FILESDIR}/${XPG4PATCHFILE}
diff --git a/japanese/man/pkg-install b/japanese/man/pkg-install
new file mode 100644
index 000000000000..7f4832007aea
--- /dev/null
+++ b/japanese/man/pkg-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+CP=${CP:-/bin/cp}
+
+usr_tmac=/usr/share/tmac
+local_tmac=${PKG_PREFIX}/share/groff/tmac
+
+if [ "X$2" = X"POST-INSTALL" ]; then
+ ${CP} -p ${usr_tmac}/tmac.an ${local_tmac}
+ ${CP} -p ${usr_tmac}/tmac.groff_an ${local_tmac}
+fi