summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2001-02-21 17:11:55 +0000
committertakawata <takawata@FreeBSD.org>2001-02-21 17:11:55 +0000
commite37560a919bbb2e0417e15e7409720f5da41f901 (patch)
treeb4fa560236857e1e3ea174410647f4bf7544d048 /japanese
parent3f2d067a47deab049838b63861ddf55fd2398d4b (diff)
downloadFreeBSD-ports-e37560a919bbb2e0417e15e7409720f5da41f901.zip
FreeBSD-ports-e37560a919bbb2e0417e15e7409720f5da41f901.tar.gz
Move monafonts to Japanese directory.
Submitted by:MAINTAINER
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/monafonts/Makefile34
-rw-r--r--japanese/monafonts/distinfo1
-rw-r--r--japanese/monafonts/files/patch-aa16
-rw-r--r--japanese/monafonts/files/patch-ab8
-rw-r--r--japanese/monafonts/pkg-comment1
-rw-r--r--japanese/monafonts/pkg-descr12
-rw-r--r--japanese/monafonts/pkg-plist19
-rw-r--r--japanese/monafonts/pkg-req62
9 files changed, 154 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 65f1673..ed2ab3e 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -167,6 +167,7 @@
SUBDIR += mnews
SUBDIR += mnews-gnspool
SUBDIR += mnews-im
+ SUBDIR += monafonts
SUBDIR += mozilla-jlp
SUBDIR += msdosfs
SUBDIR += mtools
diff --git a/japanese/monafonts/Makefile b/japanese/monafonts/Makefile
new file mode 100644
index 0000000..036b15a
--- /dev/null
+++ b/japanese/monafonts/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: monafonts
+# Date created: 14 February 2001
+# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= monafonts
+PORTVERSION?= 20010213
+CATEGORIES= japanese x11-fonts
+MASTER_SITES= http://members.tripod.co.jp/s42335/mona/
+DISTNAME= mona-${PORTVERSION}
+
+MAINTAINER= nobutaka@nobutaka.com
+
+FONTSDIR= lib/X11/fonts/local
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+ALL_TARGET= fonts
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
+PLIST_SUB= FONTSDIR=${FONTSDIR}
+
+
+pre-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGREQ} ${PKGNAME} INSTALL
+
+.include <bsd.port.post.mk>
diff --git a/japanese/monafonts/distinfo b/japanese/monafonts/distinfo
new file mode 100644
index 0000000..f2167ca
--- /dev/null
+++ b/japanese/monafonts/distinfo
@@ -0,0 +1 @@
+MD5 (mona-20010213.tar.gz) = 734c6486d8e25177905bd5de8fcd8e00
diff --git a/japanese/monafonts/files/patch-aa b/japanese/monafonts/files/patch-aa
new file mode 100644
index 0000000..89956b5
--- /dev/null
+++ b/japanese/monafonts/files/patch-aa
@@ -0,0 +1,16 @@
+--- Makefile.orig Wed Feb 14 23:47:52 2001
++++ Makefile Thu Feb 15 00:41:14 2001
+@@ -3,11 +3,11 @@
+
+ SED = sed
+ PERL = perl
+-X11BIN = /usr/X11R6/bin
++X11BIN = ${PREFIX}/bin
+ GZIP = gzip
+ #GAWK = gawk
+
+-FONTDIR = /usr/X11R6/lib/X11/fonts/misc
++FONTDIR = ${PREFIX}/lib/X11/fonts/local
+
+ BDFTOPCF= $(X11BIN)/bdftopcf
+ MKFONTDIR=$(X11BIN)/mkfontdir
diff --git a/japanese/monafonts/files/patch-ab b/japanese/monafonts/files/patch-ab
new file mode 100644
index 0000000..aed3834
--- /dev/null
+++ b/japanese/monafonts/files/patch-ab
@@ -0,0 +1,8 @@
+--- tools/mkitalic Sun Feb 11 09:09:45 2001
++++ tools/mkitalic Thu Feb 15 20:40:19 2001
+@@ -1,4 +1,4 @@
+-#!/usr/bin/gawk -f
++#!/usr/bin/awk -f
+ #
+ # -- makes BDF font italic
+ # version 0.00.1
diff --git a/japanese/monafonts/pkg-comment b/japanese/monafonts/pkg-comment
new file mode 100644
index 0000000..d09b76f
--- /dev/null
+++ b/japanese/monafonts/pkg-comment
@@ -0,0 +1 @@
+X11 12,16-dot kanji fonts
diff --git a/japanese/monafonts/pkg-descr b/japanese/monafonts/pkg-descr
new file mode 100644
index 0000000..e80c609
--- /dev/null
+++ b/japanese/monafonts/pkg-descr
@@ -0,0 +1,12 @@
+X11 12,16-dot kanji propotional fonts that have same metric and order as
+Japanese Windows font. This is named after ascii art 'mona' used in
+'2 channel' ,notrious huge Web BBS.
+
+
+ Bitmap font is installed the following directory tree:
+ ${X11BASE}/lib/X11/fonts/local/
+
+WWW: http://members.tripod.co.jp/s42335/mona/
+
+--
+MANTANI Nobutaka <nobutaka@nobutaka.com>
diff --git a/japanese/monafonts/pkg-plist b/japanese/monafonts/pkg-plist
new file mode 100644
index 0000000..1a82b04
--- /dev/null
+++ b/japanese/monafonts/pkg-plist
@@ -0,0 +1,19 @@
+%%FONTSDIR%%/mona12aB.pcf.gz
+%%FONTSDIR%%/mona12aI.pcf.gz
+%%FONTSDIR%%/mona12aR.pcf.gz
+%%FONTSDIR%%/mona12kB.pcf.gz
+%%FONTSDIR%%/mona12kI.pcf.gz
+%%FONTSDIR%%/mona12kR.pcf.gz
+%%FONTSDIR%%/mona12rB.pcf.gz
+%%FONTSDIR%%/mona12rI.pcf.gz
+%%FONTSDIR%%/mona12rR.pcf.gz
+%%FONTSDIR%%/mona16aB.pcf.gz
+%%FONTSDIR%%/mona16aI.pcf.gz
+%%FONTSDIR%%/mona16aR.pcf.gz
+%%FONTSDIR%%/mona16kB.pcf.gz
+%%FONTSDIR%%/mona16kI.pcf.gz
+%%FONTSDIR%%/mona16kR.pcf.gz
+%%FONTSDIR%%/mona16rB.pcf.gz
+%%FONTSDIR%%/mona16rI.pcf.gz
+%%FONTSDIR%%/mona16rR.pcf.gz
+@unexec if [ ! -s %D/%%FONTSDIR%%/fonts.alias ]; then rm -f %D/%%FONTSDIR%%/fonts.alias; fi
diff --git a/japanese/monafonts/pkg-req b/japanese/monafonts/pkg-req
new file mode 100644
index 0000000..e68d231
--- /dev/null
+++ b/japanese/monafonts/pkg-req
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+if [ "x$1" = "x" ]; then
+ exit 1;
+fi
+if [ "x$2" != "xINSTALL" -a "x$2" != "xDEINSTALL" ]; then
+ exit 1;
+fi
+
+export FONTDIR; FONTDIR=${PKG_PREFIX}/lib/X11/fonts/local
+
+if [ "$2x" = "INSTALLx" -a ! -d ${FONTDIR} ]; then
+ echo '**********************************************************************'
+ echo "****** ${FONTDIR}/ doesn't exist."
+ echo "****** Creating ${FONTDIR}/"
+ echo '****** Please upgrade your XFree86 to 3.3.3 or upper,'
+ echo "****** or add this directory to your /etc/XF86Config's FontPath entry."
+ echo '**********************************************************************'
+ mkdir ${FONTDIR}
+fi
+
+# font alias entry here!
+TMPFILE=/tmp/install-fonts-alias-$$
+cat << EOF > ${TMPFILE}
+mona12aR -mona-gothic-medium-r-normal--12-120-75-75-p-60-iso8859-1
+mona16aB -mona-gothic-bold-r-normal--16-150-75-75-p-80-iso8859-1
+mona16kR -mona-gothic-medium-r-normal--16-150-75-75-p-160-jisx0208.1990-0
+mona12kB -mona-gothic-bold-r-normal--12-120-75-75-p-120-jisx0208.1990-0
+mona16aI -mona-gothic-medium-i-normal--16-150-75-75-p-80-iso8859-1
+mona12kI -mona-gothic-medium-i-normal--12-120-75-75-p-120-jisx0208.1990-0
+mona16aR -mona-gothic-medium-r-normal--16-150-75-75-p-80-iso8859-1
+mona12aB -mona-gothic-bold-r-normal--12-120-75-75-p-60-iso8859-1
+mona12kR -mona-gothic-medium-r-normal--12-120-75-75-p-120-jisx0208.1990-0
+mona16kB -mona-gothic-bold-r-normal--16-150-75-75-p-160-jisx0208.1990-0
+mona12aI -mona-gothic-medium-i-normal--12-120-75-75-p-60-iso8859-1
+mona16kI -mona-gothic-medium-i-normal--16-150-75-75-p-160-jisx0208.1990-0
+mona12rR -mona-gothic-medium-r-normal--12-120-75-75-p-60-jisx0201.1976-0
+mona16rB -mona-gothic-bold-r-normal--16-150-75-75-p-80-jisx0201.1976-0
+mona16rI -mona-gothic-medium-i-normal--16-150-75-75-p-80-jisx0201.1976-0
+mona16rR -mona-gothic-medium-r-normal--16-150-75-75-p-80-jisx0201.1976-0
+mona12rB -mona-gothic-bold-r-normal--12-120-75-75-p-60-jisx0201.1976-0
+mona12rI -mona-gothic-medium-i-normal--12-120-75-75-p-60-jisx0201.1976-0
+EOF
+
+echo "Updating ${FONTDIR}/fonts.alias"
+cd ${FONTDIR}
+touch fonts.alias
+cp fonts.alias fonts.alias.orig
+if [ "$2" = "INSTALL" ] ; then
+ (grep -v -e "`cat ${TMPFILE}`" fonts.alias.orig ; \
+ cat ${TMPFILE}) > fonts.alias
+elif [ "$2" = "DEINSTALL" ] ; then
+ grep -v -- "`cat ${TMPFILE}`" fonts.alias.orig > fonts.alias
+fi
+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 "**********************************************************"
+
+exit 0;
OpenPOWER on IntegriCloud