diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-11-03 20:25:53 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-11-03 20:25:53 +0000 |
commit | 79e1a9594df8856bd5b15b1482b7beab76c19433 (patch) | |
tree | 6e9c0920886ca692ab1830f87e35061f5aba5c32 /japanese/font-vlgothic | |
parent | 75b441f457967eec90585caa1e1912ef165fa7f0 (diff) | |
download | ports-79e1a9594df8856bd5b15b1482b7beab76c19433.tar.gz ports-79e1a9594df8856bd5b15b1482b7beab76c19433.zip |
Notes
Diffstat (limited to 'japanese/font-vlgothic')
-rw-r--r-- | japanese/font-vlgothic/Makefile | 49 | ||||
-rw-r--r-- | japanese/font-vlgothic/distinfo | 3 | ||||
-rw-r--r-- | japanese/font-vlgothic/files/25.vlgothic.conf | 17 | ||||
-rw-r--r-- | japanese/font-vlgothic/pkg-descr | 3 | ||||
-rw-r--r-- | japanese/font-vlgothic/pkg-plist | 17 |
5 files changed, 89 insertions, 0 deletions
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%% |