blob: 3fdcf2ae9cf4909d02d048055da738a2810b014b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: Japanese TrueType fonts
# Version required: 1998.10.20
# Date created: 16 November 1998
# Whom: asami
#
# $Id: Makefile,v 1.1.1.1 1998/11/19 08:47:28 asami Exp $
#
DISTNAME= ja-truetypefonts-1998.10.20
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://www.linux.or.jp/%7Eishikawa/linux/dists/FreeType/
DISTFILES= xtt-fonts_0.19981020-3.tar.gz
MAINTAINER= candy@kgc.co.jp
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/xtt-fonts-0.19981020
NO_BUILD= yes
FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
.include <bsd.port.pre.mk>
do-install:
.if !exists(${FONTDIR})
@${ECHO} "*********************************************************"
@${ECHO} "Please add ${FONTDIR} to your font path"
@${ECHO} "in /etc/XF86Config."
@${ECHO} "*********************************************************"
${MKDIR} ${FONTDIR}
.endif
${INSTALL_DATA} ${WRKSRC}/wadalab-gothic.ttf ${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/watanabe-mincho.ttf ${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/fonts.dir ${FONTDIR}/fonts.dir.truetype
${INSTALL_DATA} ${WRKSRC}/fonts.alias ${FONTDIR}/fonts.alias.truetype
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>
|