aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2019-12-30 04:39:09 +0000
committerHiroki Sato <hrs@FreeBSD.org>2019-12-30 04:39:09 +0000
commit671856f6368f470d5986ea4210a978086e3def6b (patch)
treef11a62704c2a272b3d7e16a68bef545d91b544a6 /japanese
parent1eff25d08bdb3d9fdd16c22a4cddeac017efd6f0 (diff)
downloadports-671856f6368f470d5986ea4210a978086e3def6b.tar.gz
ports-671856f6368f470d5986ea4210a978086e3def6b.zip
- Use FONTPATHSPEC and nuke pkg-message for adding FontPath manually.
- Add LICENSE.
Notes
Notes: svn path=/head/; revision=521442
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-kaname12/Makefile7
-rw-r--r--japanese/font-kaname12/files/pkg-message.in19
2 files changed, 5 insertions, 21 deletions
diff --git a/japanese/font-kaname12/Makefile b/japanese/font-kaname12/Makefile
index 0004339137f4..dabfcdc03c77 100644
--- a/japanese/font-kaname12/Makefile
+++ b/japanese/font-kaname12/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kaname12
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese x11-fonts
MASTER_SITES= LOCAL/hrs
PKGNAMEPREFIX= ja-font-
@@ -14,12 +14,15 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= CQG00620@nifty.ne.jp
COMMENT= 12-dot Kanji font
+LICENSE= PD
+
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf
USES= fonts
+FONTPATHSPEC= ${FONTNAME}:unscaled:pri=60
NO_ARCH= yes
NO_WRKSUBDIR= yes
-SUB_FILES= Makefile pkg-message
+SUB_FILES= Makefile
MAKEFILE= ${WRKDIR}/Makefile
PORTDOCS= readme readme.kaname_bdf kaname.doc \
readme.knm gijutsu-siryou.doc
diff --git a/japanese/font-kaname12/files/pkg-message.in b/japanese/font-kaname12/files/pkg-message.in
deleted file mode 100644
index fd51f56edab9..000000000000
--- a/japanese/font-kaname12/files/pkg-message.in
+++ /dev/null
@@ -1,19 +0,0 @@
-[
-{ type: install
- message: <<EOM
-You can start using the font(s) by following these instructions:
-
-Either type the following in an X terminal:
-
- xset fp+ %%FONTSDIR%%
- xset fp rehash
-
-Or, more permanently, add the following line to the "Files" section
-of your X.Org configuration file (typically /etc/X11/xorg.conf):
-
- FontPath "%%FONTSDIR%%/"
-
-then restart X.
-EOM
-}
-]