diff options
Diffstat (limited to 'japanese/font-vlgothic')
-rw-r--r-- | japanese/font-vlgothic/Makefile | 61 | ||||
-rw-r--r-- | japanese/font-vlgothic/distinfo | 3 | ||||
-rw-r--r-- | japanese/font-vlgothic/files/20-unhint-vlgothic.conf | 14 | ||||
-rw-r--r-- | japanese/font-vlgothic/files/62-fonts-vlgothic.conf | 17 | ||||
-rw-r--r-- | japanese/font-vlgothic/files/pkg-install.in | 89 | ||||
-rw-r--r-- | japanese/font-vlgothic/pkg-descr | 3 | ||||
-rw-r--r-- | japanese/font-vlgothic/pkg-plist | 21 |
7 files changed, 0 insertions, 208 deletions
diff --git a/japanese/font-vlgothic/Makefile b/japanese/font-vlgothic/Makefile deleted file mode 100644 index 333d4caef987..000000000000 --- a/japanese/font-vlgothic/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# New ports collection makefile for: VLGothic fotns -# Date created: 31 Oct 2006 -# Whom: NIIMI Satoshi <sa2c@sa2c.net> -# -# $FreeBSD$ -# - -PORTNAME= vlgothic -PORTVERSION= 20080429 -PORTREVISION= 2 -CATEGORIES= japanese x11-fonts -MASTER_SITES= http://vinelinux.org/~daisuke/vlgothic/ -DISTNAME= VLGothic-${PORTVERSION} - -MAINTAINER= hrs@FreeBSD.org -COMMENT= Free Japanese TrueType fonts named 'VLGothic' - -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= Changelog LICENSE LICENSE.en LICENSE_E.mplus LICENSE_J.mplus \ - README README.sazanami README_J.mplus -WRKSRC= ${WRKDIR}/VLGothic - -LOCAL_FONTSDIR= share/fonts -X_FONTSDIR= lib/X11/fonts - -do-install: - ${MKDIR} ${DATADIR} - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC} - ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DATADIR} - ${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TrueType/ - ${LN} -s -f ${DATADIR}/*.ttf \ - ${LOCALBASE}/${LOCAL_FONTSDIR}/TrueType/ - ${MKDIR} ${LOCALBASE}/${X_FONTSDIR}/TrueType - ${LN} -s -f ${DATADIR}/*.ttf \ - ${LOCALBASE}/${X_FONTSDIR}/TrueType/ - ${INSTALL_DATA} ${FILESDIR}/20-unhint-vlgothic.conf \ - ${FILESDIR}/62-fonts-vlgothic.conf \ - ${PREFIX}/etc/fonts/conf.avail - ${LN} -s -f ../conf.avail/20-unhint-vlgothic.conf \ - ${PREFIX}/etc/fonts/conf.d/20-unhint-vlgothic.conf - ${LN} -s -f ../conf.avail/62-fonts-vlgothic.conf \ - ${PREFIX}/etc/fonts/conf.d/62-fonts-vlgothic.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-vlgothic/distinfo b/japanese/font-vlgothic/distinfo deleted file mode 100644 index c51097c2061d..000000000000 --- a/japanese/font-vlgothic/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (VLGothic-20080429.tar.bz2) = 5e87dc26f34d6539b5229e1e30643deb -SHA256 (VLGothic-20080429.tar.bz2) = 48600380839398186e02538b6690d61d58a33312cff363370438029990e3a878 -SIZE (VLGothic-20080429.tar.bz2) = 4562517 diff --git a/japanese/font-vlgothic/files/20-unhint-vlgothic.conf b/japanese/font-vlgothic/files/20-unhint-vlgothic.conf deleted file mode 100644 index 30b3395591c7..000000000000 --- a/japanese/font-vlgothic/files/20-unhint-vlgothic.conf +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<!-- $FreeBSD$ --> -<fontconfig> - <match target="font"> - <test name="family"> - <string>VL Gothic</string> - <string>VL PGothic</string> - </test> - <edit name="autohint"> - <bool>false</bool> - </edit> - </match> -</fontconfig> diff --git a/japanese/font-vlgothic/files/62-fonts-vlgothic.conf b/japanese/font-vlgothic/files/62-fonts-vlgothic.conf deleted file mode 100644 index 8ca1fbfeb94d..000000000000 --- a/japanese/font-vlgothic/files/62-fonts-vlgothic.conf +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<!-- $FreeBSD$ --> -<fontconfig> - <alias> - <family>sans-serif</family> - <prefer> - <family>VL PGothic</family> - </prefer> - </alias> - <alias> - <family>monospace</family> - <prefer> - <family>VL Gothic</family> - </prefer> - </alias> -</fontconfig> diff --git a/japanese/font-vlgothic/files/pkg-install.in b/japanese/font-vlgothic/files/pkg-install.in deleted file mode 100644 index 1a3298463a08..000000000000 --- a/japanese/font-vlgothic/files/pkg-install.in +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -X_FONTSDIR=%%X_FONTSDIR%%/TrueType - -catfontsdir () -{ - while read _IN - do - case "${_IN}" in - *-vlgothic-*|[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 VL-PGothic-Regular.ttf vlgothic "VL_PGothic" p - make_xlfd $ENC VL-PGothic-Regular.ttf vlgothic gothic p - make_xlfd $ENC VL-Gothic-Regular.ttf vlgothic "VL_Gothic" c - make_xlfd $ENC VL-Gothic-Regular.ttf vlgothic gothic c - 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-vlgothic/pkg-descr b/japanese/font-vlgothic/pkg-descr deleted file mode 100644 index ee455d807460..000000000000 --- a/japanese/font-vlgothic/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Free Japanese TrueType fonts named 'VLGothic'. - -WWW: http://dicey.org/vlgothic/ diff --git a/japanese/font-vlgothic/pkg-plist b/japanese/font-vlgothic/pkg-plist deleted file mode 100644 index 0274e6aa12cf..000000000000 --- a/japanese/font-vlgothic/pkg-plist +++ /dev/null @@ -1,21 +0,0 @@ -@comment $FreeBSD$ -%%DATADIR%%/VL-PGothic-Regular.ttf -%%DATADIR%%/VL-Gothic-Regular.ttf -@dirrm %%DATADIR%% -%%LOCAL_FONTSDIR%%/TrueType/VL-PGothic-Regular.ttf -%%LOCAL_FONTSDIR%%/TrueType/VL-Gothic-Regular.ttf -@dirrmtry %%LOCAL_FONTSDIR%%/TrueType -@dirrmtry %%LOCAL_FONTSDIR%% -etc/fonts/conf.avail/20-unhint-vlgothic.conf -etc/fonts/conf.avail/62-fonts-vlgothic.conf -@exec ln -s -f ../conf.avail/20-unhint-vlgothic.conf %D/etc/fonts/conf.d/20-unhint-vlgothic.conf -@exec ln -s -f ../conf.avail/62-fonts-vlgothic.conf %D/etc/fonts/conf.d/62-fonts-vlgothic.conf -@unexec rm -f %D/etc/fonts/conf.d/20-unhint-vlgothic.conf -@unexec rm -f %D/etc/fonts/conf.d/62-fonts-vlgothic.conf -%%X_FONTSDIR%%/TrueType/VL-PGothic-Regular.ttf -%%X_FONTSDIR%%/TrueType/VL-Gothic-Regular.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 |