2002-01-15 10:55:09 -05:00
|
|
|
# New ports collection makefile for: Kochi TrueType fonts
|
|
|
|
# Date created: 6 January 2001
|
|
|
|
# Whom: KANOU Hiroki <kanou@mil.allnet.ne.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kochi-ttfonts
|
2002-07-30 14:42:52 -04:00
|
|
|
PORTVERSION= 20020727
|
2002-01-15 10:55:09 -05:00
|
|
|
CATEGORIES= japanese x11-fonts
|
2002-08-15 07:13:44 -04:00
|
|
|
MASTER_SITES= http://www.on.cs.keio.ac.jp/~yasu/linux/fonts/ \
|
|
|
|
${MASTER_SITE_PORTS_JP}
|
2002-01-17 10:11:19 -05:00
|
|
|
DISTFILES= kochi-mincho-0.2.${PORTVERSION}.tar.bz2 \
|
|
|
|
kochi-gothic-0.2.${PORTVERSION}.tar.bz2
|
2002-01-15 10:55:09 -05:00
|
|
|
|
|
|
|
MAINTAINER= kanou@mil.allnet.ne.jp
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
FONTSDIR= lib/X11/fonts/TrueType
|
|
|
|
MAKE_ENV= FONTSDIR=${FONTSDIR}
|
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
(cd ${WRKDIR}/kochi-mincho/examples; \
|
|
|
|
${MV} fonts.dir.xtt fonts.dir.kochi )
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.if !exists(${PREFIX}/${FONTSDIR})
|
|
|
|
@${ECHO} "*********************************************************"
|
|
|
|
@${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
|
|
|
|
@${ECHO} "and load 'xtt' module in /etc/XF86Config."
|
|
|
|
@${ECHO} "*********************************************************"
|
|
|
|
${MKDIR} ${PREFIX}/${FONTSDIR}
|
|
|
|
.endif
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/kochi-gothic/fonts/kochi-gothic.ttf \
|
|
|
|
${WRKDIR}/kochi-mincho/fonts/kochi-mincho.ttf \
|
2002-07-27 04:39:50 -04:00
|
|
|
${FILESDIR}/fonts.dir.kochi \
|
2002-01-15 10:55:09 -05:00
|
|
|
${FILESDIR}/fonts.alias.kochi \
|
|
|
|
${PREFIX}/${FONTSDIR}
|
2002-01-15 13:35:30 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ja/kochi-ttfonts/mincho
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/kochi-mincho/README \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/mincho
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ja/kochi-ttfonts/gothic
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/kochi-gothic/README \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/gothic
|
|
|
|
.endif
|
2002-01-15 10:55:09 -05:00
|
|
|
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
2002-01-15 21:41:26 -05:00
|
|
|
.include <bsd.port.mk>
|