aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-11-04 04:25:53 +0800
committeralepulver <alepulver@FreeBSD.org>2006-11-04 04:25:53 +0800
commitd60972a9a033d21aa792d6ddb37c6ddeb8d39261 (patch)
tree58963ac351871f8b1f29ca00a1d9ed72b1b7bfd7 /japanese
parent3ae0dc5953356a2f93419f397d8d56afc655c319 (diff)
downloadfreebsd-ports-gnome-d60972a9a033d21aa792d6ddb37c6ddeb8d39261.tar.gz
freebsd-ports-gnome-d60972a9a033d21aa792d6ddb37c6ddeb8d39261.tar.zst
freebsd-ports-gnome-d60972a9a033d21aa792d6ddb37c6ddeb8d39261.zip
Free Japanese TrueType fonts named 'VLGothic'.
WWW: http://dicey.org/vlgothic/ PR: ports/104955 Submitted by: NIIMI Satoshi <sa2c at sa2c.net>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/font-vlgothic/Makefile49
-rw-r--r--japanese/font-vlgothic/distinfo3
-rw-r--r--japanese/font-vlgothic/files/25.vlgothic.conf17
-rw-r--r--japanese/font-vlgothic/pkg-descr3
-rw-r--r--japanese/font-vlgothic/pkg-plist17
-rw-r--r--japanese/vlgothic/Makefile49
-rw-r--r--japanese/vlgothic/distinfo3
-rw-r--r--japanese/vlgothic/files/25.vlgothic.conf17
-rw-r--r--japanese/vlgothic/pkg-descr3
-rw-r--r--japanese/vlgothic/pkg-plist17
11 files changed, 179 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index f2c96e1d9daf..2da730d3e46a 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -397,6 +397,7 @@
SUBDIR += vflib
SUBDIR += vftool
SUBDIR += vje30
+ SUBDIR += vlgothic
SUBDIR += w3
SUBDIR += w3m
SUBDIR += w3m-img
diff --git a/japanese/font-vlgothic/Makefile b/japanese/font-vlgothic/Makefile
new file mode 100644
index 000000000000..1e531cc92ce1
--- /dev/null
+++ b/japanese/font-vlgothic/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: VLGothic fotns
+# Date created: 31 Oct 2006
+# Whom: NIIMI Satoshi <sa2c@sa2c.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vlgothic
+PORTVERSION= 20061026
+CATEGORIES= japanese x11-fonts
+MASTER_SITES= http://vinelinux.org/~daisuke/vlgothic/ \
+ http://dicey.org/vlgothic/
+DISTNAME= VLGothic-${PORTVERSION}
+
+MAINTAINER= sa2c@sa2c.net
+COMMENT= Free Japanese TrueType fonts named 'VLGothic'
+
+BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+NO_BUILD= yes
+
+FONTSDIR= lib/X11/fonts/vlgothic
+PLIST_SUB= FONTSDIR=${FONTSDIR}
+
+WRKSRC= ${WRKDIR}/VLGothic
+
+DOC_FILES= Changelog LICENSE LICENSE.en LICENSE_E.mplus LICENSE_J.mplus \
+ README README.sazanami README_J.mplus
+
+do-install:
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/VL-PGothic-Regular.ttf \
+ ${WRKSRC}/VL-Gothic-Regular.ttf \
+ ${PREFIX}/${FONTSDIR}
+ ${MKDIR} ${PREFIX}/etc/fonts/conf.d
+ ${INSTALL_DATA} ${FILESDIR}/25.vlgothic.conf \
+ ${PREFIX}/etc/fonts/conf.d
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
+post-install:
+ ${X11BASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/japanese/font-vlgothic/distinfo b/japanese/font-vlgothic/distinfo
new file mode 100644
index 000000000000..61bd5aab8042
--- /dev/null
+++ b/japanese/font-vlgothic/distinfo
@@ -0,0 +1,3 @@
+MD5 (VLGothic-20061026.tar.bz2) = b827b4a513f044edef080f1d65e0f861
+SHA256 (VLGothic-20061026.tar.bz2) = 97a57df6c33bf4775b7c06f2da686651f40370e5d198686465a82673f7ab93d2
+SIZE (VLGothic-20061026.tar.bz2) = 4520246
diff --git a/japanese/font-vlgothic/files/25.vlgothic.conf b/japanese/font-vlgothic/files/25.vlgothic.conf
new file mode 100644
index 000000000000..114290b01f62
--- /dev/null
+++ b/japanese/font-vlgothic/files/25.vlgothic.conf
@@ -0,0 +1,17 @@
+<?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/pkg-descr b/japanese/font-vlgothic/pkg-descr
new file mode 100644
index 000000000000..ee455d807460
--- /dev/null
+++ b/japanese/font-vlgothic/pkg-descr
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 000000000000..743da5657835
--- /dev/null
+++ b/japanese/font-vlgothic/pkg-plist
@@ -0,0 +1,17 @@
+@comment $FreeBSD$
+etc/fonts/conf.d/25.vlgothic.conf
+%%FONTSDIR%%/VL-PGothic-Regular.ttf
+%%FONTSDIR%%/VL-Gothic-Regular.ttf
+%%PORTDOCS%%%%DOCSDIR%%/Changelog
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE.en
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE_E.mplus
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE_J.mplus
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.sazanami
+%%PORTDOCS%%%%DOCSDIR%%/README_J.mplus
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
+@unexec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
+@unexec [ -s %D/%%FONTSDIR%%/fonts.cache-1 ] || rm -f %D/%%FONTSDIR%%/fonts.cache-1
+@dirrmtry %%FONTSDIR%%
diff --git a/japanese/vlgothic/Makefile b/japanese/vlgothic/Makefile
new file mode 100644
index 000000000000..1e531cc92ce1
--- /dev/null
+++ b/japanese/vlgothic/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: VLGothic fotns
+# Date created: 31 Oct 2006
+# Whom: NIIMI Satoshi <sa2c@sa2c.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vlgothic
+PORTVERSION= 20061026
+CATEGORIES= japanese x11-fonts
+MASTER_SITES= http://vinelinux.org/~daisuke/vlgothic/ \
+ http://dicey.org/vlgothic/
+DISTNAME= VLGothic-${PORTVERSION}
+
+MAINTAINER= sa2c@sa2c.net
+COMMENT= Free Japanese TrueType fonts named 'VLGothic'
+
+BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+NO_BUILD= yes
+
+FONTSDIR= lib/X11/fonts/vlgothic
+PLIST_SUB= FONTSDIR=${FONTSDIR}
+
+WRKSRC= ${WRKDIR}/VLGothic
+
+DOC_FILES= Changelog LICENSE LICENSE.en LICENSE_E.mplus LICENSE_J.mplus \
+ README README.sazanami README_J.mplus
+
+do-install:
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/VL-PGothic-Regular.ttf \
+ ${WRKSRC}/VL-Gothic-Regular.ttf \
+ ${PREFIX}/${FONTSDIR}
+ ${MKDIR} ${PREFIX}/etc/fonts/conf.d
+ ${INSTALL_DATA} ${FILESDIR}/25.vlgothic.conf \
+ ${PREFIX}/etc/fonts/conf.d
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
+post-install:
+ ${X11BASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/japanese/vlgothic/distinfo b/japanese/vlgothic/distinfo
new file mode 100644
index 000000000000..61bd5aab8042
--- /dev/null
+++ b/japanese/vlgothic/distinfo
@@ -0,0 +1,3 @@
+MD5 (VLGothic-20061026.tar.bz2) = b827b4a513f044edef080f1d65e0f861
+SHA256 (VLGothic-20061026.tar.bz2) = 97a57df6c33bf4775b7c06f2da686651f40370e5d198686465a82673f7ab93d2
+SIZE (VLGothic-20061026.tar.bz2) = 4520246
diff --git a/japanese/vlgothic/files/25.vlgothic.conf b/japanese/vlgothic/files/25.vlgothic.conf
new file mode 100644
index 000000000000..114290b01f62
--- /dev/null
+++ b/japanese/vlgothic/files/25.vlgothic.conf
@@ -0,0 +1,17 @@
+<?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/vlgothic/pkg-descr b/japanese/vlgothic/pkg-descr
new file mode 100644
index 000000000000..ee455d807460
--- /dev/null
+++ b/japanese/vlgothic/pkg-descr
@@ -0,0 +1,3 @@
+Free Japanese TrueType fonts named 'VLGothic'.
+
+WWW: http://dicey.org/vlgothic/
diff --git a/japanese/vlgothic/pkg-plist b/japanese/vlgothic/pkg-plist
new file mode 100644
index 000000000000..743da5657835
--- /dev/null
+++ b/japanese/vlgothic/pkg-plist
@@ -0,0 +1,17 @@
+@comment $FreeBSD$
+etc/fonts/conf.d/25.vlgothic.conf
+%%FONTSDIR%%/VL-PGothic-Regular.ttf
+%%FONTSDIR%%/VL-Gothic-Regular.ttf
+%%PORTDOCS%%%%DOCSDIR%%/Changelog
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE.en
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE_E.mplus
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE_J.mplus
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.sazanami
+%%PORTDOCS%%%%DOCSDIR%%/README_J.mplus
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
+@unexec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
+@unexec [ -s %D/%%FONTSDIR%%/fonts.cache-1 ] || rm -f %D/%%FONTSDIR%%/fonts.cache-1
+@dirrmtry %%FONTSDIR%%