aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mnews
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1996-12-18 15:59:44 +0800
committermax <max@FreeBSD.org>1996-12-18 15:59:44 +0800
commitb8739a6d832ecbb86fc32cfc12c42beba2cdeb34 (patch)
tree13b1540722ee0c6209196c417d85f28616db30d1 /japanese/mnews
parentf8258d42517e2156ab01210b4cc83e845bce999f (diff)
downloadfreebsd-ports-gnome-b8739a6d832ecbb86fc32cfc12c42beba2cdeb34.tar.gz
freebsd-ports-gnome-b8739a6d832ecbb86fc32cfc12c42beba2cdeb34.tar.zst
freebsd-ports-gnome-b8739a6d832ecbb86fc32cfc12c42beba2cdeb34.zip
Install mnews.1 into man/ja_JP.EUC/man1 instead to share/doc/mnews.
Honor ${NOPORTDOCS}. Some cosmetic tweaks.
Diffstat (limited to 'japanese/mnews')
-rw-r--r--japanese/mnews/Makefile22
-rw-r--r--japanese/mnews/pkg-plist2
2 files changed, 15 insertions, 9 deletions
diff --git a/japanese/mnews/Makefile b/japanese/mnews/Makefile
index 97d9ab5712f5..ebd94db32842 100644
--- a/japanese/mnews/Makefile
+++ b/japanese/mnews/Makefile
@@ -3,7 +3,7 @@
# Date created: 23 Sep 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.5 1996/11/02 03:04:49 max Exp $
+# $Id: Makefile,v 1.6 1996/11/11 10:12:28 max Exp $
#
DISTNAME= mnews119
@@ -14,10 +14,13 @@ DISTFILES= mnews119.tar.gz mnews119_119PL1.tar.gz mnews119PL1_PL2.tar.gz
MAINTAINER= max@FreeBSD.ORG
-NO_WRKSUBDIR=yes
+NO_WRKSUBDIR= yes
PATCH_DIST_STRIP= -p1
-DOCS= FAQ.doc board.doc mnews.doc mnews.1 prerel.doc \
- present.doc read1ST.doc readme.doc update.doc
+MAN1= mnews.1
+MANLANG= ja_JP.EUC
+
+DOCS= FAQ.doc board.doc mnews.doc prerel.doc \
+ present.doc read1ST.doc readme.doc update.doc
SAMPLES= jnames.fj jnames.jp jnames.smp jnames.tnn
pre-patch:
@@ -32,14 +35,17 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mnews ${PREFIX}/bin
${MKDIR} ${PREFIX}/lib/mnews
${INSTALL_DATA} ${WRKSRC}/jnames.fj ${PREFIX}/lib/mnews/jnames
- ${MKDIR} ${PREFIX}/share/doc/mnews
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/mnews
-.endfor
${MKDIR} ${PREFIX}/share/examples/mnews
.for f in ${SAMPLES}
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/examples/mnews
.endfor
+ ${INSTALL_MAN} ${WRKSRC}/mnews.1 ${PREFIX}/man/ja_JP.EUC/man1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/mnews
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/mnews
+.endfor
+.endif
post-install:
.if !defined(BATCH)
diff --git a/japanese/mnews/pkg-plist b/japanese/mnews/pkg-plist
index a0a415c7efe0..212f22970334 100644
--- a/japanese/mnews/pkg-plist
+++ b/japanese/mnews/pkg-plist
@@ -1,9 +1,9 @@
bin/mnews
lib/mnews/jnames
lib/mnews/default-domain
+man/ja_JP.EUC/man1/mnews.1.gz
share/doc/mnews/FAQ.doc
share/doc/mnews/board.doc
-share/doc/mnews/mnews.1
share/doc/mnews/mnews.doc
share/doc/mnews/prerel.doc
share/doc/mnews/present.doc