Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 1998 01:22:59 +0900
From:      Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp>
To:        asami@FreeBSD.ORG
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/6667: ports japanese/kon: install problem of man pages
Message-ID:  <19980519012259X.hideyuki@sat.t.u-tokyo.ac.jp>
In-Reply-To: Your message of "Mon, 18 May 1998 03:22:56 -0700 (PDT)" <199805181022.DAA12520@baloon.mimi.com>
References:  <199805181022.DAA12520@baloon.mimi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>  *  And yes, the directory should be created for the case of PREFIX
>  *  other than /usr/local.
> 
> I don't think that is necessary.  If you set PREFIX to something other 
> than /usr/local, then mtree will be run on that ${PREFIX} (and the
> entire hiererchy will be created) underneath.

OK, I was confused with the problem report.  So, all we need here is
the following patch, since the directory is changed from ja_JP.EUC to ja.

hideyuki


Index: Makefile
===================================================================
RCS file: /pub/FreeBSD-CVS/ports/japanese/kon/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	1997/09/19 19:27:45	1.13
+++ Makefile	1998/05/18 16:05:16
@@ -17,7 +17,7 @@
 MAINTAINER=	hideyuki@sat.t.u-tokyo.ac.jp
 
 MAN1=		kon.1
-MANLANG=	ja_JP.EUC
+MANLANG=	ja
 EXTRACT_ONLY=	kon2-0.3.tar.gz
 
 DOCDIR=		${PREFIX}/share/doc/kon2
@@ -29,7 +29,7 @@
 	@(cd ${WRKSRC}; ${MAKE} -f Makefile.FreeBSD config)
 
 post-install:
-	@${INSTALL_MAN} ${WRKSRC}/doc/kon.1 ${PREFIX}/man/ja_JP.EUC/man1
+	@${INSTALL_MAN} ${WRKSRC}/doc/kon.1 ${PREFIX}/man/ja/man1
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCDIR}
 	@${INSTALL_DATA} ${WRKSRC}/doc/README ${WRKSRC}/doc/README.FreeBSD \
Index: files/dotconfig
===================================================================
RCS file: /pub/FreeBSD-CVS/ports/japanese/kon/files/dotconfig,v
retrieving revision 1.4
diff -u -r1.4 dotconfig
--- dotconfig	1997/07/10 13:14:51	1.4
+++ dotconfig	1998/05/18 09:41:28
@@ -3,7 +3,7 @@
 TOPDIR	= %%PREFIX%%
 BINDIR	= $(TOPDIR)/bin
 LIBDIR	= $(TOPDIR)/etc
-MANDIR	= $(TOPDIR)/man/ja_JP.EUC/man1
+MANDIR	= $(TOPDIR)/man/ja/man1
 FONTDIR	= $(TOPDIR)/lib/fonts
 CONFIG_NAME = kon.cfg
 CFLAGS  += -DCONFIG_NAME=\"$(LIBDIR)/$(CONFIG_NAME)\"
Index: pkg/PLIST
===================================================================
RCS file: /pub/FreeBSD-CVS/ports/japanese/kon/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- PLIST	1997/07/10 13:15:00	1.4
+++ PLIST	1998/05/18 09:40:57
@@ -3,6 +3,6 @@
 etc/kon.cfg
 lib/fonts/7x14rk.bdf.gz
 lib/fonts/k14.bdf.gz
-man/ja_JP.EUC/man1/kon.1.gz
+man/ja/man1/kon.1.gz
 share/doc/kon2/README
 share/doc/kon2/README.FreeBSD

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980519012259X.hideyuki>