summaryrefslogtreecommitdiff
path: root/japanese/font-mplus-ipa
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/font-mplus-ipa')
-rw-r--r--japanese/font-mplus-ipa/Makefile65
-rw-r--r--japanese/font-mplus-ipa/distinfo3
-rw-r--r--japanese/font-mplus-ipa/files/20-unhint-ipattfonts.conf23
-rw-r--r--japanese/font-mplus-ipa/files/62-fonts-ipattfonts.conf31
-rw-r--r--japanese/font-mplus-ipa/files/pkg-install.in101
-rw-r--r--japanese/font-mplus-ipa/pkg-descr5
-rw-r--r--japanese/font-mplus-ipa/pkg-plist105
7 files changed, 0 insertions, 333 deletions
diff --git a/japanese/font-mplus-ipa/Makefile b/japanese/font-mplus-ipa/Makefile
deleted file mode 100644
index 6b7aea5a8407..000000000000
--- a/japanese/font-mplus-ipa/Makefile
+++ /dev/null
@@ -1,65 +0,0 @@
-# New ports collection makefile for: IPA TrueType fonts
-# Date created: 18 July 2004
-# Whom: NAKATA, Maho <maho@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= ipa-ttfonts
-PORTVERSION= 1.0.20060520.p1
-PORTREVISION= 2
-PORTEPOCH= 2
-CATEGORIES= japanese x11-fonts
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= hrs
-DISTNAME= mixfont-mplus-ipa-TrueType-20060520p1
-
-MAINTAINER= hrs@FreeBSD.org
-COMMENT= IPA Japanese TrueType fonts with M-plus outline font
-
-RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-
-USE_BZIP2= yes
-NO_BUILD= yes
-PKGINSTALL= ${WRKDIR}/pkg-install
-PKGDEINSTALL= ${WRKDIR}/pkg-install
-SUB_FILES= pkg-install
-SUB_LIST= X_FONTSDIR=${PREFIX}/${X_FONTSDIR}
-PLIST_SUB= X_FONTSDIR=${X_FONTSDIR} \
- LOCAL_FONTSDIR=${LOCAL_FONTSDIR}
-PORTDOCS= Bitstream-COPYRIGHT.txt Mplus-LICENSE_E.txt \
- Mplus-LICENSE_J.txt README.txt
-
-LOCAL_FONTSDIR= share/fonts
-X_FONTSDIR= lib/X11/fonts
-
-do-install:
- ${MKDIR} ${DATADIR}
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}
- ${CP} -R ${WRKSRC}/opfc-ModuleHP-1.1.1_withIPAFonts_and_Mplus/* \
- ${DATADIR}
- ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TrueType/
- ${LN} -s -f \
- ${DATADIR}/fonts/ipa*.ttf ${DATADIR}/fonts/M+*.ttf \
- ${LOCALBASE}/${LOCAL_FONTSDIR}/TrueType/
- ${MKDIR} ${LOCALBASE}/${X_FONTSDIR}/TrueType
- ${LN} -s -f \
- ${DATADIR}/fonts/ipa*.ttf ${DATADIR}/fonts/M+*.ttf \
- ${LOCALBASE}/${X_FONTSDIR}/TrueType/
- ${INSTALL_DATA} ${FILESDIR}/20-unhint-ipattfonts.conf \
- ${FILESDIR}/62-fonts-ipattfonts.conf \
- ${PREFIX}/etc/fonts/conf.avail
- ${LN} -s -f ../conf.avail/20-unhint-ipattfonts.conf \
- ${PREFIX}/etc/fonts/conf.d/20-unhint-ipattfonts.conf
- ${LN} -s -f ../conf.avail/62-fonts-ipattfonts.conf \
- ${PREFIX}/etc/fonts/conf.d/62-fonts-ipattfonts.conf
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
-
-post-install:
- ${LOCALBASE}/bin/fc-cache -f -v ${LOCALBASE}/${X_FONTSDIR}/TrueType
- ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-.include <bsd.port.mk>
diff --git a/japanese/font-mplus-ipa/distinfo b/japanese/font-mplus-ipa/distinfo
deleted file mode 100644
index 5d37643203d8..000000000000
--- a/japanese/font-mplus-ipa/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (mixfont-mplus-ipa-TrueType-20060520p1.tar.bz2) = fba1e3d9eed12c364ea56ec18025d826
-SHA256 (mixfont-mplus-ipa-TrueType-20060520p1.tar.bz2) = c1cb93f64c1aa3287078ff7a7afa06d37279af83f7592a64dee669de7dd1f923
-SIZE (mixfont-mplus-ipa-TrueType-20060520p1.tar.bz2) = 16767116
diff --git a/japanese/font-mplus-ipa/files/20-unhint-ipattfonts.conf b/japanese/font-mplus-ipa/files/20-unhint-ipattfonts.conf
deleted file mode 100644
index d5d14d634b35..000000000000
--- a/japanese/font-mplus-ipa/files/20-unhint-ipattfonts.conf
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<!-- $FreeBSD$ -->
-<fontconfig>
- <match target="font">
- <test name="family">
- <string>IPAMincho</string>
- <string>IPAGothic</string>
- <string>IPAPMincho</string>
- <string>IPAPGothic</string>
- <string>IPAUIGothic</string>
- <family>M+1P+IPAG</family>
- <family>M+2P+IPAG</family>
- <family>M+1P+IPAG circle</family>
- <family>M+2P+IPAG circle</family>
- <family>M+1VM+IPAG circle</family>
- <family>M+2VM+IPAG circle</family>
- </test>
- <edit name="autohint">
- <bool>false</bool>
- </edit>
- </match>
-</fontconfig>
diff --git a/japanese/font-mplus-ipa/files/62-fonts-ipattfonts.conf b/japanese/font-mplus-ipa/files/62-fonts-ipattfonts.conf
deleted file mode 100644
index 6f433bc8d232..000000000000
--- a/japanese/font-mplus-ipa/files/62-fonts-ipattfonts.conf
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<!-- $FreeBSD$ -->
-<fontconfig>
- <alias>
- <family>serif</family>
- <prefer>
- <family>IPAPMincho</family>
- </prefer>
- </alias>
- <alias>
- <family>sans-serif</family>
- <prefer>
- <family>IPAPGothic</family>
- <family>IPAUIGothic</family>
- <family>M+1P+IPAG</family>
- <family>M+2P+IPAG</family>
- <family>M+1P+IPAG circle</family>
- <family>M+2P+IPAG circle</family>
- </prefer>
- </alias>
- <alias>
- <family>monospace</family>
- <prefer>
- <family>IPAGothic</family>
- <family>IPAMincho</family>
- <family>M+1VM+IPAG circle</family>
- <family>M+2VM+IPAG circle</family>
- </prefer>
- </alias>
-</fontconfig>
diff --git a/japanese/font-mplus-ipa/files/pkg-install.in b/japanese/font-mplus-ipa/files/pkg-install.in
deleted file mode 100644
index 6a1cdc6f8554..000000000000
--- a/japanese/font-mplus-ipa/files/pkg-install.in
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-X_FONTSDIR=%%X_FONTSDIR%%/TrueType
-
-catfontsdir ()
-{
- while read _IN
- do
- case "${_IN}" in
- *-ipa-*|[0-9]*|"") ;;
- *) echo ${_IN} ;;
- esac
- done
-}
-
-ROMA=""
-BOLD="ds=y"
-ITAL="ai=0.15"
-OBLI="ai=0.15"
-RITA="ai=0.08"
-ROBL="ai=0.08"
-
-make_xlfd()
-{
- _enc=$1
- _file=$2
- _vendor=$3
- _fname=$4
- _poc=$5
-
- case "${_poc}:${_enc}" in
- p:jisx0201.1976-*) PFIX="bw=0.5" ;;
- c:jisx0201.1976-*) PFIX="bw=0.5" ;;
- p:*) PFIX="" ;;
- c:*) PFIX="" ;;
- esac
-
- set -- "${ROMA}" medium-r \
- ${BOLD} bold-r \
- ${ITAL} medium-i \
- ${ITAL}:${BOLD} bold-i \
- ${OBLI} medium-o \
- ${OBLI}:${BOLD} bold-o \
- ${RITA} medium-ri \
- ${RITA}:${BOLD} bold-ri \
- ${ROBL} medium-ro \
- ${ROBL}:${BOLD} bold-ro
- while [ $# != 0 ]; do
- _prefix="${PFIX}:$1"; shift
- _variant=$1; shift
- printf "%s:%s -%s-%s-%s-normal--0-0-0-0-%s-0-%s\n" \
- $_prefix $_file $_vendor $_fname $_variant $_poc $_enc
- done | sed -e 's,::,:,g' -e 's,^:,,'
-}
-
-addentries ()
-{
- for ENC in iso8859-1 iso10646-1 jisx0201.1976-0 jisx0208.1983-0 jisx0208.1990-0
- do
- make_xlfd $ENC ipag.ttf ipa IPAGothic c
- make_xlfd $ENC ipag.ttf ipa gothic c
- make_xlfd $ENC ipagp.ttf ipa IPAPGothic p
- make_xlfd $ENC ipagp.ttf ipa gothic p
- make_xlfd $ENC ipagui.ttf ipa IPAUIGothic c
- make_xlfd $ENC ipagui.ttf ipa UIGothic c
- make_xlfd $ENC ipam.ttf ipa IPAMincho c
- make_xlfd $ENC ipam.ttf ipa mincho c
- make_xlfd $ENC ipamp.ttf ipa IPAPMincho p
- make_xlfd $ENC ipamp.ttf ipa mincho p
- make_xlfd $ENC M+2VM+IPAG-circle.ttf ipa M+2VM+IPAG_circle c
- make_xlfd $ENC M+1VM+IPAG-circle.ttf ipa M+1VM+IPAG_circle c
- make_xlfd $ENC M+1P+IPAG.ttf ipa M+1P+IPAG p
- make_xlfd $ENC M+1P+IPAG-circle.ttf ipa M+1P+IPAG_circle p
- make_xlfd $ENC M+2P+IPAG.ttf ipa M+2P+IPAG p
- make_xlfd $ENC M+2P+IPAG-circle.ttf ipa M+2P+IPAG_circle p
- done
-}
-
-nfonts ()
-{
- _L=0; while read _IN; do _L=$((${_L}+1)); done; echo ${_L}
-}
-
-case "$2" in
-POST-INSTALL)
- cd ${X_FONTSDIR}
- touch fonts.dir
- (catfontsdir < fonts.dir; addentries) > fonts.dir.tmp
- nfonts < fonts.dir.tmp > fonts.dir
- cat fonts.dir.tmp >> fonts.dir
- rm -f fonts.dir.tmp
- ;;
-DEINSTALL)
- cd ${X_FONTSDIR}
- catfontsdir < fonts.dir > fonts.dir.tmp
- nfonts < fonts.dir.tmp > fonts.dir
- cat fonts.dir.tmp >> fonts.dir
- rm -f fonts.dir.tmp
- ;;
-esac
diff --git a/japanese/font-mplus-ipa/pkg-descr b/japanese/font-mplus-ipa/pkg-descr
deleted file mode 100644
index 6a4e55edc148..000000000000
--- a/japanese/font-mplus-ipa/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Japanese TrueType fonts distributed by Infomation-technology Promotion
-Agency (IPA) Japan. M+ outline font and Bitstream Vera Sans Mono font
-composite versions included.
-
-WWW: http://mix-mplus-ipa.sourceforge.jp/
diff --git a/japanese/font-mplus-ipa/pkg-plist b/japanese/font-mplus-ipa/pkg-plist
deleted file mode 100644
index c759c2934668..000000000000
--- a/japanese/font-mplus-ipa/pkg-plist
+++ /dev/null
@@ -1,105 +0,0 @@
-@comment $FreeBSD$
-%%DATADIR%%/ppd/OPVP-HP-Color_LaserJet_5500.ppd
-%%DATADIR%%/ppd/OPVP-HP-Color_LaserJet_4600.ppd
-%%DATADIR%%/ppd/Makefile.in
-%%DATADIR%%/ppd/Makefile.am
-%%DATADIR%%/opvp/Makefile.in
-%%DATADIR%%/opvp/Makefile.am
-%%DATADIR%%/opvp/HPPageColor.c
-%%DATADIR%%/opfc-ModuleHP.spec
-%%DATADIR%%/mkinstalldirs
-%%DATADIR%%/missing
-%%DATADIR%%/ltmain.sh
-%%DATADIR%%/libopvp/pdapi.h
-%%DATADIR%%/libopvp/opvp_rpc_server.h
-%%DATADIR%%/libopvp/opvp_rpc_server.c
-%%DATADIR%%/libopvp/opvp_rpc_reqno.h
-%%DATADIR%%/libopvp/opvp_rpc_core.h
-%%DATADIR%%/libopvp/opvp_rpc_core.c
-%%DATADIR%%/libopvp/opvp_driver.h
-%%DATADIR%%/libopvp/opvp_common.h
-%%DATADIR%%/libopvp/doc/rpc040223.pdf
-%%DATADIR%%/libopvp/doc/Makefile.in
-%%DATADIR%%/libopvp/doc/Makefile.am
-%%DATADIR%%/libopvp/README.jp
-%%DATADIR%%/libopvp/Makefile.in
-%%DATADIR%%/libopvp/Makefile.am
-%%DATADIR%%/libopvp/COPYING
-%%DATADIR%%/install-sh
-%%DATADIR%%/fonts/ipamp.ttf
-%%DATADIR%%/fonts/ipam.ttf
-%%DATADIR%%/fonts/ipagui.ttf
-%%DATADIR%%/fonts/ipagp.ttf
-%%DATADIR%%/fonts/ipag.ttf
-%%DATADIR%%/fonts/Makefile.in
-%%DATADIR%%/fonts/Makefile.am
-%%DATADIR%%/fonts/M+2VM+IPAG-circle.ttf
-%%DATADIR%%/fonts/M+2P+IPAG.ttf
-%%DATADIR%%/fonts/M+2P+IPAG-circle.ttf
-%%DATADIR%%/fonts/M+1VM+IPAG-circle.ttf
-%%DATADIR%%/fonts/M+1P+IPAG.ttf
-%%DATADIR%%/fonts/M+1P+IPAG-circle.ttf
-%%DATADIR%%/fonts/COPYING.font.ja
-%%DATADIR%%/doc/ProjectOverview.pdf
-%%DATADIR%%/doc/Makefile.in
-%%DATADIR%%/doc/Makefile.am
-%%DATADIR%%/depcomp
-%%DATADIR%%/configure.in
-%%DATADIR%%/configure
-%%DATADIR%%/config.sub
-%%DATADIR%%/config.h.in
-%%DATADIR%%/config.guess
-%%DATADIR%%/compile
-%%DATADIR%%/aclocal.m4
-%%DATADIR%%/VERSION
-%%DATADIR%%/README.jp
-%%DATADIR%%/README
-%%DATADIR%%/NEWS
-%%DATADIR%%/Makefile.in
-%%DATADIR%%/Makefile.am
-%%DATADIR%%/INSTALL
-%%DATADIR%%/ChangeLog
-%%DATADIR%%/COPYING
-%%DATADIR%%/AUTHORS
-@dirrm %%DATADIR%%/ppd
-@dirrm %%DATADIR%%/opvp
-@dirrm %%DATADIR%%/libopvp/doc
-@dirrm %%DATADIR%%/libopvp
-@dirrm %%DATADIR%%/fonts
-@dirrm %%DATADIR%%/doc
-@dirrm %%DATADIR%%
-%%LOCAL_FONTSDIR%%/TrueType/ipag.ttf
-%%LOCAL_FONTSDIR%%/TrueType/ipagp.ttf
-%%LOCAL_FONTSDIR%%/TrueType/ipagui.ttf
-%%LOCAL_FONTSDIR%%/TrueType/ipam.ttf
-%%LOCAL_FONTSDIR%%/TrueType/ipamp.ttf
-%%LOCAL_FONTSDIR%%/TrueType/M+2VM+IPAG-circle.ttf
-%%LOCAL_FONTSDIR%%/TrueType/M+2P+IPAG.ttf
-%%LOCAL_FONTSDIR%%/TrueType/M+2P+IPAG-circle.ttf
-%%LOCAL_FONTSDIR%%/TrueType/M+1VM+IPAG-circle.ttf
-%%LOCAL_FONTSDIR%%/TrueType/M+1P+IPAG.ttf
-%%LOCAL_FONTSDIR%%/TrueType/M+1P+IPAG-circle.ttf
-@dirrmtry %%LOCAL_FONTSDIR%%/TrueType
-@dirrmtry %%LOCAL_FONTSDIR%%
-etc/fonts/conf.avail/20-unhint-ipattfonts.conf
-etc/fonts/conf.avail/62-fonts-ipattfonts.conf
-@exec ln -s -f ../conf.avail/20-unhint-ipattfonts.conf %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf
-@exec ln -s -f ../conf.avail/62-fonts-ipattfonts.conf %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf
-@unexec rm -f %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf
-@unexec rm -f %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf
-%%X_FONTSDIR%%/TrueType/ipag.ttf
-%%X_FONTSDIR%%/TrueType/ipagp.ttf
-%%X_FONTSDIR%%/TrueType/ipagui.ttf
-%%X_FONTSDIR%%/TrueType/ipam.ttf
-%%X_FONTSDIR%%/TrueType/ipamp.ttf
-%%X_FONTSDIR%%/TrueType/M+2VM+IPAG-circle.ttf
-%%X_FONTSDIR%%/TrueType/M+2P+IPAG.ttf
-%%X_FONTSDIR%%/TrueType/M+2P+IPAG-circle.ttf
-%%X_FONTSDIR%%/TrueType/M+1VM+IPAG-circle.ttf
-%%X_FONTSDIR%%/TrueType/M+1P+IPAG.ttf
-%%X_FONTSDIR%%/TrueType/M+1P+IPAG-circle.ttf
-@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true
-@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true
-@unexec rm -f %D/%%X_FONTSDIR%%/TrueType/fonts.cache-1
-@dirrmtry %%X_FONTSDIR%%/TrueType
-@unexec if [ -d %D/%%X_FONTSDIR%%/TrueType ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true; fi