aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-kochi
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-09-13 23:36:45 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-09-13 23:36:45 +0000
commit0b3da8c79c80795126e216954b18291047315961 (patch)
treecb890cbf02753a51263acc8e2df899b6dbcf79be /japanese/font-kochi
parentc716728e4a1cae2ad6028534945293e137836147 (diff)
downloadports-0b3da8c79c80795126e216954b18291047315961.tar.gz
ports-0b3da8c79c80795126e216954b18291047315961.zip
Fix fonts.dir by using fonts:fc and style consistency.
Notes
Notes: svn path=/head/; revision=396873
Diffstat (limited to 'japanese/font-kochi')
-rw-r--r--japanese/font-kochi/Makefile8
-rw-r--r--japanese/font-kochi/files/pkg-install.in2
2 files changed, 4 insertions, 6 deletions
diff --git a/japanese/font-kochi/Makefile b/japanese/font-kochi/Makefile
index 9cb66f31532c..50e7bb0bbeaf 100644
--- a/japanese/font-kochi/Makefile
+++ b/japanese/font-kochi/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kochi
PORTVERSION= 20030809
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= japanese x11-fonts
MASTER_SITES= SFJP/efont/5411/
PKGNAMEPREFIX= ja-font-
@@ -12,16 +12,14 @@ DISTNAME= ${PORTNAME}-substitute-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Kochi Japanese TrueType font
-USES= fonts tar:bzip2
+USES= fonts:fc tar:bzip2
+FONTNAME= TTF
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
SUB_FILES= pkg-install
DATADIR= ${PREFIX}/share/font-${PORTNAME}
PLIST_SUB= DATADIR=share/font-${PORTNAME}
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
-FONTNAME= TTF
PORTDOCS= README.ja COPYING docs
OPTIONS_DEFINE= DOCS
diff --git a/japanese/font-kochi/files/pkg-install.in b/japanese/font-kochi/files/pkg-install.in
index c4d37ceb0aff..65e12153c75a 100644
--- a/japanese/font-kochi/files/pkg-install.in
+++ b/japanese/font-kochi/files/pkg-install.in
@@ -6,7 +6,7 @@ catfontsdir ()
while read _IN
do
case "${_IN}" in
- *-kochi-*|[0-9]*|"") ;;
+ kochi-*|*-kochi-*|[0-9]*|"") ;;
*-aliastt-*|[0-9]*|"") ;;
*) echo ${_IN} ;;
esac