svn commit: r394441 - head/japanese/monafonts

MANTANI Nobutaka nobutaka at FreeBSD.org
Mon Aug 17 08:39:13 UTC 2015


Author: nobutaka
Date: Mon Aug 17 08:39:12 2015
New Revision: 394441
URL: https://svnweb.freebsd.org/changeset/ports/394441

Log:
  Fix installation of fonts.alias.
  
  PR:		200066
  Submitted by:	WATANABE Kazuhiro <CQG00620 at nifty.ne.jp>

Modified:
  head/japanese/monafonts/Makefile
  head/japanese/monafonts/pkg-descr
  head/japanese/monafonts/pkg-install

Modified: head/japanese/monafonts/Makefile
==============================================================================
--- head/japanese/monafonts/Makefile	Mon Aug 17 08:21:50 2015	(r394440)
+++ head/japanese/monafonts/Makefile	Mon Aug 17 08:39:12 2015	(r394441)
@@ -3,7 +3,7 @@
 
 PORTNAME=	monafonts
 PORTVERSION=	2.90
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	2
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	SF/monafont/monafont/monafont-${PORTVERSION}

Modified: head/japanese/monafonts/pkg-descr
==============================================================================
--- head/japanese/monafonts/pkg-descr	Mon Aug 17 08:21:50 2015	(r394440)
+++ head/japanese/monafonts/pkg-descr	Mon Aug 17 08:39:12 2015	(r394441)
@@ -3,6 +3,6 @@ Japanese Windows font. This is named aft
 '2 channel', notorious huge Web BBS.
 
   Bitmap font is installed the following directory tree:
-        ${LOCALBASE}/share/fonts/monafont/
+        ${LOCALBASE}/share/fonts/monafonts/
 
 WWW: http://monafont.sourceforge.net/

Modified: head/japanese/monafonts/pkg-install
==============================================================================
--- head/japanese/monafonts/pkg-install	Mon Aug 17 08:21:50 2015	(r394440)
+++ head/japanese/monafonts/pkg-install	Mon Aug 17 08:39:12 2015	(r394441)
@@ -4,7 +4,7 @@ if [ "$2" != "POST-INSTALL" ]; then
 	exit 0
 fi
 
-FONTDIR=${PKG_PREFIX}/share/fonts/monafont
+FONTDIR=${PKG_PREFIX}/share/fonts/monafonts
 
 grepv() {
 	awk -v SRC=$1 'BEGIN{while (getline < SRC) {ENTRY[$0]=1}} (ENTRY[$0] != 1) {print}' $2
@@ -79,8 +79,9 @@ cp fonts.alias fonts.alias.orig
 rm -f fonts.alias.orig ${TMPFILE}
 
 echo "**********************************************************"
-echo "You should restart X server or do 'xset fp rehash' command"
-echo "to enable this update."
+echo "Please add ${FONTDIR}"
+echo "to your font path in /etc/X11/xorg.conf."
+echo "You should restart X server to enable this update."
 echo "**********************************************************"
 
 exit 0


More information about the svn-ports-all mailing list