aboutsummaryrefslogtreecommitdiff
path: root/japanese/vlgothic
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-11-03 20:25:53 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-11-03 20:25:53 +0000
commit79e1a9594df8856bd5b15b1482b7beab76c19433 (patch)
tree6e9c0920886ca692ab1830f87e35061f5aba5c32 /japanese/vlgothic
parent75b441f457967eec90585caa1e1912ef165fa7f0 (diff)
downloadports-79e1a9594df8856bd5b15b1482b7beab76c19433.tar.gz
ports-79e1a9594df8856bd5b15b1482b7beab76c19433.zip
Notes
Diffstat (limited to 'japanese/vlgothic')
-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
5 files changed, 89 insertions, 0 deletions
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%%