aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-motoya-al
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-09-04 21:15:21 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-09-04 21:15:21 +0000
commit9edc5c1eb237b00e56a50e5ca865cfa4ae290688 (patch)
tree50783d2a432030563550cbc1eb312bc5333bf86b /japanese/font-motoya-al
parentd8b0e5a7d7d78b28b099311555abbf220adff5d7 (diff)
downloadports-9edc5c1eb237b00e56a50e5ca865cfa4ae290688.tar.gz
ports-9edc5c1eb237b00e56a50e5ca865cfa4ae290688.zip
- Fix a warning "Having multiple values in <test> isn't supported and may
not work as expected" when using the latest x11-fonts/fontconfig [*]. - Update to the latest version (font-migu, font-ume, font-vlgothic). - Style clean-ups. PR: ports/181701 [*]
Notes
Notes: svn path=/head/; revision=326328
Diffstat (limited to 'japanese/font-motoya-al')
-rw-r--r--japanese/font-motoya-al/Makefile11
-rw-r--r--japanese/font-motoya-al/files/20-unhint-motoya-al.conf12
-rw-r--r--japanese/font-motoya-al/pkg-descr4
3 files changed, 16 insertions, 11 deletions
diff --git a/japanese/font-motoya-al/Makefile b/japanese/font-motoya-al/Makefile
index ec0560df659e..79e5c04c122d 100644
--- a/japanese/font-motoya-al/Makefile
+++ b/japanese/font-motoya-al/Makefile
@@ -1,11 +1,8 @@
-# New ports collection makefile for: font-motoya-al
-# Date created: 7 January 2011
-# Whom: hrs
# $FreeBSD$
-#
PORTNAME= font-motoya-al
PORTVERSION= 0.0.20100921
+PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= hrs
@@ -29,6 +26,10 @@ PORTDOCS= newsrelease20100921.pdf
LOCAL_FONTSDIR= share/fonts
X_FONTSDIR= lib/X11/fonts
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${DATADIR}
@@ -47,7 +48,7 @@ do-install:
${PREFIX}/etc/fonts/conf.d/20-unhint-motoya-al.conf
${LN} -s -f ../conf.avail/62-fonts-motoya-al.conf \
${PREFIX}/etc/fonts/conf.d/62-fonts-motoya-al.conf
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/japanese/font-motoya-al/files/20-unhint-motoya-al.conf b/japanese/font-motoya-al/files/20-unhint-motoya-al.conf
index 421f6c828d9e..18db3ed906ef 100644
--- a/japanese/font-motoya-al/files/20-unhint-motoya-al.conf
+++ b/japanese/font-motoya-al/files/20-unhint-motoya-al.conf
@@ -3,10 +3,14 @@
<!-- $FreeBSD$ -->
<fontconfig>
<match target="font">
- <test name="family">
- <string>MotoyaLCeder</string>
- <string>MotoyaLMaru</string>
- </test>
+ <or>
+ <test name="family">
+ <string>MotoyaLCeder</string>
+ </test>
+ <test name="family">
+ <string>MotoyaLMaru</string>
+ </test>
+ </or>
<edit name="autohint">
<bool>false</bool>
</edit>
diff --git a/japanese/font-motoya-al/pkg-descr b/japanese/font-motoya-al/pkg-descr
index 1af0c2e1bad1..b9e2a3470d59 100644
--- a/japanese/font-motoya-al/pkg-descr
+++ b/japanese/font-motoya-al/pkg-descr
@@ -3,5 +3,5 @@ Two free Japanese TrueType fonts (Apache License) by MOTOYA Co.,Ltd:
- Motoya L Ceder W3
- Motoya L Maru W3
-WWW: http://www.motoyafont.jp/news/newsrelease20100921.pdf
-WWW: https://android.googlesource.com/platform/frameworks/base/+/76d3b0f1bdf31b7315b636834f7da7211ca907e0
+WWW: http://www.motoyafont.jp/news/newsrelease20100921.pdf
+WWW: https://android.googlesource.com/platform/frameworks/base/+/76d3b0f1bdf31b7315b636834f7da7211ca907e0