aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-elisa10
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2019-12-30 04:22:17 +0000
committerHiroki Sato <hrs@FreeBSD.org>2019-12-30 04:22:17 +0000
commitf173b59ceea69d976ab486e4e1a2d5d6e7cbd7ce (patch)
tree5923224ca960dd9ce9f920ce050f5b1e251d2d7d /japanese/font-elisa10
parent0255399e1be967dd622e8b8eee643e824bf8e84a (diff)
downloadports-f173b59ceea69d976ab486e4e1a2d5d6e7cbd7ce.tar.gz
ports-f173b59ceea69d976ab486e4e1a2d5d6e7cbd7ce.zip
- Use FONTPATHSPEC and nuke pkg-message for adding FontPath manually.
- Add LICENSE.
Notes
Notes: svn path=/head/; revision=521435
Diffstat (limited to 'japanese/font-elisa10')
-rw-r--r--japanese/font-elisa10/Makefile15
-rw-r--r--japanese/font-elisa10/files/pkg-message.in19
2 files changed, 11 insertions, 23 deletions
diff --git a/japanese/font-elisa10/Makefile b/japanese/font-elisa10/Makefile
index 993bea462f6f..8ba6cf8345f4 100644
--- a/japanese/font-elisa10/Makefile
+++ b/japanese/font-elisa10/Makefile
@@ -2,7 +2,7 @@
PORTNAME= elisa10
PORTVERSION= 1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://www.wheel.gr.jp/~dai/software/
PKGNAMEPREFIX= ja-font-
@@ -11,18 +11,25 @@ DISTNAME= elisau10
MAINTAINER= hrs@FreeBSD.org
COMMENT= Elisa 10-dot Kanji font
+LICENSE= NOTPARTIAL-NOTCOMMERCIAL
+LICENSE_NAME= Whole, not partial, and not commercial
+LICENSE_TEXT= Free redistribution of the whole package allowed, \
+ not partial, and not commercial
+LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
+
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf
USES= fonts tar:tgz
+FONTPATHSPEC= ${FONTNAME}:unscaled:pri=60
NO_ARCH= yes
NO_WRKSUBDIR= yes
-SUB_FILES= Makefile pkg-message
MAKEFILE= ${WRKDIR}/Makefile
+SUB_FILES= Makefile
SUB_LIST= BDFTOPCF_CMD="${LOCALBASE}/bin/bdftopcf" \
GZIP_CMD="${GZIP_CMD}"
PORTDOCS= elisau10.doc hosoku.txt
-PLIST_FILES= %%FONTSDIR%%/elisau10.pcf.gz \
- %%FONTSDIR%%/fonts.alias
+PLIST_FILES= ${FONTSDIR:S,^${PREFIX}/,,}/elisau10.pcf.gz \
+ ${FONTSDIR:S,^${PREFIX}/,,}/fonts.alias
OPTIONS_DEFINE= DOCS
diff --git a/japanese/font-elisa10/files/pkg-message.in b/japanese/font-elisa10/files/pkg-message.in
deleted file mode 100644
index fd51f56edab9..000000000000
--- a/japanese/font-elisa10/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
-}
-]