add japanese/marumoji-fonts, funny looking Japanese fonts.
PR: 27692 Submitted by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
This commit is contained in:
parent
2bb13189cf
commit
1f77225493
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43391
@ -165,6 +165,7 @@
|
||||
SUBDIR += makejvf
|
||||
SUBDIR += man
|
||||
SUBDIR += man-doc
|
||||
SUBDIR += marumoji-fonts
|
||||
SUBDIR += mendexk-euc
|
||||
SUBDIR += mendexk-sjis
|
||||
SUBDIR += mh
|
||||
|
66
japanese/marumoji-fonts/Makefile
Normal file
66
japanese/marumoji-fonts/Makefile
Normal file
@ -0,0 +1,66 @@
|
||||
# New ports collection makefile for: marumoji-fonts
|
||||
# Date created: Jun 1 2001
|
||||
# Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= marumoji-fonts
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= japanese x11-fonts
|
||||
MASTER_SITES= http://mlnews.com/marumoji/src/ \
|
||||
http://www.eken.phys.nagoya-u.ac.jp/~yoichi/FreeBSD/distfiles/ \
|
||||
ftp://ftp.lavender.org/pub/x11/fonts/
|
||||
DISTFILES= maru14.pcf.gz maru16.pcf.gz maru18.pcf.gz \
|
||||
7x14maru.bdf.gz 7x14rkmaru.bdf.gz \
|
||||
8x16maru.bdf.gz 8x16rkmr.bdf.gz \
|
||||
9x18maru.bdf.gz 9x18rkmr.bdf.gz
|
||||
|
||||
MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
USE_X_PREFIX= yes
|
||||
FONTSDIR= lib/X11/fonts/local
|
||||
|
||||
.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
|
||||
|
||||
BDFFONTS= 7x14maru.bdf.gz 7x14rkmaru.bdf.gz 8x16maru.bdf.gz \
|
||||
8x16rkmr.bdf.gz 9x18maru.bdf.gz 9x18rkmr.bdf.gz
|
||||
FONTSIZE= 7x14 8x16 9x18
|
||||
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
||||
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKDIR}
|
||||
.for i in ${BDFFONTS}
|
||||
@${CP} ${DISTDIR}/${i} ${WRKDIR}
|
||||
@${GUNZIP_CMD} ${WRKDIR}/${i}
|
||||
.endfor
|
||||
@${MV} ${WRKDIR}/7x14rkmaru.bdf ${WRKDIR}/7x14rkmr.bdf
|
||||
|
||||
do-build:
|
||||
.for i in ${FONTSIZE}
|
||||
(cd ${WRKSRC} ; \
|
||||
bdftopcf ${i}maru.bdf > ${i}maru.pcf ; ${GZIP_CMD} ${i}maru.pcf; \
|
||||
bdftopcf ${i}rkmr.bdf > ${i}rkmr.pcf ; ${GZIP_CMD} ${i}rkmr.pcf )
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/${FONTSDIR}
|
||||
(cd ${DISTDIR} ; ${INSTALL_DATA} maru14.pcf.gz maru16.pcf.gz maru18.pcf.gz ${PREFIX}/${FONTSDIR})
|
||||
.for i in ${FONTSIZE}
|
||||
(cd ${WRKSRC} ; ${INSTALL_DATA} ${i}maru.pcf.gz ${i}rkmr.pcf.gz ${PREFIX}/${FONTSDIR})
|
||||
.endfor
|
||||
mkfontdir ${PREFIX}/${FONTSDIR}
|
||||
${MKDIR} ${PREFIX}/share/doc/marumoji-fonts
|
||||
${INSTALL_DATA} ${FILESDIR}/LICENSE ${PREFIX}/share/doc/marumoji-fonts
|
||||
|
||||
pre-install:
|
||||
@${SETENV} PKG_PREFIX=${PREFIX} \
|
||||
${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
||||
|
||||
.include <bsd.port.post.mk>
|
9
japanese/marumoji-fonts/distinfo
Normal file
9
japanese/marumoji-fonts/distinfo
Normal file
@ -0,0 +1,9 @@
|
||||
MD5 (maru14.pcf.gz) = a7bfe676ad69ed8dde8807ecbe7c1758
|
||||
MD5 (maru16.pcf.gz) = 274dcd0aebd762fca01cc51f61009909
|
||||
MD5 (maru18.pcf.gz) = 70ae5db4e9d54f046c66eb2a03989bc0
|
||||
MD5 (7x14maru.bdf.gz) = 39b80c415e06440ffbe94d00e07f9a09
|
||||
MD5 (7x14rkmaru.bdf.gz) = 43eee9a0657ef93639523011827542b6
|
||||
MD5 (8x16maru.bdf.gz) = 3b547083854a6ddf99c754e1ab712b57
|
||||
MD5 (8x16rkmr.bdf.gz) = d31f451485d37c4485d9386fac791b95
|
||||
MD5 (9x18maru.bdf.gz) = 54d410840e7af5ff53647b2312ade144
|
||||
MD5 (9x18rkmr.bdf.gz) = 824e77fcfcc5aa4aded277e5cdb4202d
|
27
japanese/marumoji-fonts/files/LICENSE
Normal file
27
japanese/marumoji-fonts/files/LICENSE
Normal file
@ -0,0 +1,27 @@
|
||||
License agreement for marumoji-fonts port
|
||||
|
||||
Copyright notice in 7x14rkmaru.bdf.gz is the following (others are
|
||||
public domain).
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this
|
||||
software and its documentation for any purpose is hereby granted
|
||||
without fee, provided that the above copyright notice appear in
|
||||
all copies and that both that copyright notice and this permis-
|
||||
sion notice appear in supporting documentation, and that the name
|
||||
of PFU not be used in advertising or publicity pertaining to dis-
|
||||
tribution of the software without specific, written prior permis-
|
||||
sion. PFU makes no representations about the suitability of this
|
||||
software for any purpose. It is provided "as is" without express
|
||||
or implied warranty.
|
||||
|
||||
PFU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, IN-
|
||||
CLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
|
||||
NO EVENT SHALL PFU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSE-
|
||||
QUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
|
||||
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLI-
|
||||
GENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
Original designed by K.Shirakami <shira@pfu.fujitsu.co.jp>
|
||||
Ver. 1.1
|
||||
freeware
|
1
japanese/marumoji-fonts/pkg-comment
Normal file
1
japanese/marumoji-fonts/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Japanese marumoji fonts
|
3
japanese/marumoji-fonts/pkg-descr
Normal file
3
japanese/marumoji-fonts/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Japanese marumoji font collection for X
|
||||
|
||||
WWW: http://mlnews.com/marumoji/
|
15
japanese/marumoji-fonts/pkg-plist
Normal file
15
japanese/marumoji-fonts/pkg-plist
Normal file
@ -0,0 +1,15 @@
|
||||
%%FONTSDIR%%/7x14maru.pcf.gz
|
||||
%%FONTSDIR%%/7x14rkmr.pcf.gz
|
||||
%%FONTSDIR%%/8x16maru.pcf.gz
|
||||
%%FONTSDIR%%/8x16rkmr.pcf.gz
|
||||
%%FONTSDIR%%/9x18maru.pcf.gz
|
||||
%%FONTSDIR%%/9x18rkmr.pcf.gz
|
||||
%%FONTSDIR%%/maru14.pcf.gz
|
||||
%%FONTSDIR%%/maru16.pcf.gz
|
||||
%%FONTSDIR%%/maru18.pcf.gz
|
||||
share/doc/marumoji-fonts/LICENSE
|
||||
@dirrm share/doc/marumoji-fonts
|
||||
@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
|
||||
@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
|
||||
@unexec if [ `wc -c %D/%%FONTSDIR%%/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/%%FONTSDIR%%/fonts.dir; fi
|
||||
@unexec if [ ! -s %D/%%FONTSDIR%%/fonts.alias ]; then rm -f %D/%%FONTSDIR%%/fonts.alias; fi
|
62
japanese/marumoji-fonts/pkg-req
Normal file
62
japanese/marumoji-fonts/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}
|
||||
maru14 -misc-marumoji-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
|
||||
maru16 -misc-marumoji-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0
|
||||
maru18 -misc-marumoji-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0
|
||||
7x14rkmr -misc-marumoji-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
|
||||
7x14maru -misc-marumoji-medium-r-normal--14-130-75-75-c-70-iso8859-1
|
||||
8x16rkmr -misc-marumoji-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0
|
||||
8x16maru -misc-marumoji-medium-r-normal--16-150-75-75-c-80-iso8859-1
|
||||
9x18rkmr -misc-marumoji-medium-r-normal--18-170-75-75-c-90-jisx0201.1976-0
|
||||
9x18maru -misc-marumoji-medium-r-normal--18-170-75-75-c-90-iso8859-1
|
||||
-misc-marumoji-medium-r-normal--14-100-100-100-c-70-iso8859-1 -misc-marumoji-medium-r-normal--14-130-75-75-c-70-iso8859-1
|
||||
-misc-marumoji-medium-r-normal--14-100-100-100-c-70-jisx0201.1976-0 -misc-marumoji-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
|
||||
-misc-marumoji-medium-r-normal--14-100-100-100-c-140-jisx0208.1983-0 -misc-marumoji-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
|
||||
-misc-marumoji-medium-r-normal--16-120-100-100-c-80-iso8859-1 -misc-marumoji-medium-r-normal--16-150-75-75-c-80-iso8859-1
|
||||
-misc-marumoji-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0 -misc-marumoji-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0
|
||||
-misc-marumoji-medium-r-normal--16-120-100-100-c-160-jisx0208.1983-0 -misc-marumoji-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0
|
||||
-misc-marumoji-medium-r-normal--18-130-100-100-c-90-iso8859-1 -misc-marumoji-medium-r-normal--18-170-75-75-c-90-iso8859-1
|
||||
-misc-marumoji-medium-r-normal--18-130-100-100-c-90-jisx0201.1976-0 -misc-marumoji-medium-r-normal--18-170-75-75-c-90-jisx0201.1976-0
|
||||
-misc-marumoji-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -misc-marumoji-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-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