summaryrefslogtreecommitdiff
path: root/japanese/font-mona-ttf/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-09-25 21:48:09 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-09-25 21:48:09 +0000
commitf053d39def80ad3f3e63ee2044bb8c3e8c5138d4 (patch)
treedeebe3467f37b732e1acbd189727420d1d5cbd99 /japanese/font-mona-ttf/Makefile
parentc0b1f08afcfda03d4dc0353b3ca4734057e8708f (diff)
downloadfreebsd-ports-f053d39def80ad3f3e63ee2044bb8c3e8c5138d4.zip
Fix inconsistent installation directories of Japanese fonts and
reorganize the package names: (new) -> font-ayu18 (new) -> font-ayu20 k10 -> font-naga10 (also builds "marunaga" variant now) k12 -> font-kaname12 (new) -> font-elisa10 (resurrected) elisa8x8 -> font-elisa8 kanji18 -> font-kanji18 (also builds 16-dot variant now) kanji26 -> font-kanji26 (also builds 24-dot variant now) kappa20 -> font-kappa20 (Ayu fonts is separated into font-ayu20) mikachan-ttfonts -> font-mikachan monafonts-ttf -> font-mona-ttf monafonts -> font-mona All of bitmap fonts are now installed into misc/, and the TrueType fonts go into TTF/. No objection from: maintainers
Diffstat (limited to 'japanese/font-mona-ttf/Makefile')
-rw-r--r--japanese/font-mona-ttf/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/japanese/font-mona-ttf/Makefile b/japanese/font-mona-ttf/Makefile
new file mode 100644
index 000000000000..1f9459e004aa
--- /dev/null
+++ b/japanese/font-mona-ttf/Makefile
@@ -0,0 +1,39 @@
+# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= mona
+PORTVERSION= 2.90
+CATEGORIES= japanese x11-fonts
+MASTER_SITES= SF/monafont/monafont/monafont-${PORTVERSION}
+PKGNAMEPREFIX= ja-font-
+PKGNAMESUFFIX= -ttf
+DISTNAME= monafont-ttf-${PORTVERSION}
+
+MAINTAINER= nobutaka@FreeBSD.org
+COMMENT= TrueType Kanji fonts
+
+USES= fonts:fc zip
+FONTNAME= TTF
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+SUB_FILES= pkg-install
+SUB_LIST= DIRFILE="${DATADIR}/fonts.dir"
+PKGINSTALL= ${WRKDIR}/pkg-install
+PKGDEINSTALL= ${WRKDIR}/pkg-install
+MAKE_ENV= FONTSDIR=${FONTSDIR:S,${PREFIX},,}
+PLIST_FILES= %%DATADIR%%/fonts.dir \
+ %%DATADIR%%/mona.ttf \
+ %%FONTSDIR%%/mona.ttf
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKDIR}/mona.ttf ${FILESDIR}/fonts.dir \
+ ${STAGEDIR}${DATADIR}
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ cd ${STAGEDIR}${FONTSDIR} && \
+ ${LN} -s ../../../${DATADIR_REL}/*.ttf .
+
+.include <bsd.port.mk>