Move monafonts to Japanese directory.
Submitted by:MAINTAINER
This commit is contained in:
parent
e1f805ac9d
commit
e21026544a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38561
@ -167,6 +167,7 @@
|
|||||||
SUBDIR += mnews
|
SUBDIR += mnews
|
||||||
SUBDIR += mnews-gnspool
|
SUBDIR += mnews-gnspool
|
||||||
SUBDIR += mnews-im
|
SUBDIR += mnews-im
|
||||||
|
SUBDIR += monafonts
|
||||||
SUBDIR += mozilla-jlp
|
SUBDIR += mozilla-jlp
|
||||||
SUBDIR += msdosfs
|
SUBDIR += msdosfs
|
||||||
SUBDIR += mtools
|
SUBDIR += mtools
|
||||||
|
34
japanese/monafonts/Makefile
Normal file
34
japanese/monafonts/Makefile
Normal file
@ -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>
|
1
japanese/monafonts/distinfo
Normal file
1
japanese/monafonts/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (mona-20010213.tar.gz) = 734c6486d8e25177905bd5de8fcd8e00
|
16
japanese/monafonts/files/patch-aa
Normal file
16
japanese/monafonts/files/patch-aa
Normal file
@ -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
|
8
japanese/monafonts/files/patch-ab
Normal file
8
japanese/monafonts/files/patch-ab
Normal file
@ -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
|
1
japanese/monafonts/pkg-comment
Normal file
1
japanese/monafonts/pkg-comment
Normal file
@ -0,0 +1 @@
|
|||||||
|
X11 12,16-dot kanji fonts
|
12
japanese/monafonts/pkg-descr
Normal file
12
japanese/monafonts/pkg-descr
Normal file
@ -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>
|
19
japanese/monafonts/pkg-plist
Normal file
19
japanese/monafonts/pkg-plist
Normal file
@ -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
|
62
japanese/monafonts/pkg-req
Normal file
62
japanese/monafonts/pkg-req
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user