2002-01-15 16:55:09 +01: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
|
2003-08-18 08:03:43 +02:00
|
|
|
PORTVERSION= 20030809
|
2002-01-15 16:55:09 +01:00
|
|
|
CATEGORIES= japanese x11-fonts
|
2003-08-18 08:03:43 +02:00
|
|
|
MASTER_SITES= http://downloads.sourceforge.jp/efont/5411/ \
|
2002-08-15 13:13:44 +02:00
|
|
|
${MASTER_SITE_PORTS_JP}
|
2003-06-30 15:04:39 +02:00
|
|
|
DISTFILES= kochi-substitute-${PORTVERSION}.tar.bz2
|
2002-01-15 16:55:09 +01:00
|
|
|
|
2003-03-28 14:35:05 +01:00
|
|
|
MAINTAINER= kanou@khdd.net
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= Free Japanese TrueType fonts named 'Kochi'
|
2002-01-15 16:55:09 +01:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
FONTSDIR= lib/X11/fonts/TrueType
|
|
|
|
MAKE_ENV= FONTSDIR=${FONTSDIR}
|
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
|
2003-06-30 15:04:39 +02:00
|
|
|
WRKSRC= ${WRKDIR}/kochi-substitute-${PORTVERSION}
|
2002-01-15 16:55:09 +01:00
|
|
|
|
|
|
|
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
|
2003-06-30 15:04:39 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf \
|
2002-07-27 10:39:50 +02:00
|
|
|
${FILESDIR}/fonts.dir.kochi \
|
2002-01-15 16:55:09 +01:00
|
|
|
${FILESDIR}/fonts.alias.kochi \
|
|
|
|
${PREFIX}/${FONTSDIR}
|
2002-01-15 19:35:30 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-06-30 15:04:39 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/ja/kochi-ttfonts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/COPYING \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts
|
|
|
|
${MKDIR} -p ${PREFIX}/share/doc/ja/kochi-ttfonts/docs/ayu20gothic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/README \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/docs
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/ayu20gothic/* \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/docs/ayu20gothic
|
|
|
|
${MKDIR} -p ${PREFIX}/share/doc/ja/kochi-ttfonts/docs/k14goth
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/k14goth/* \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/docs/k14goth
|
|
|
|
${MKDIR} -p ${PREFIX}/share/doc/ja/kochi-ttfonts/docs/kappa20
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/kappa20/* \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/docs/kappa20
|
|
|
|
${MKDIR} -p ${PREFIX}/share/doc/ja/kochi-ttfonts/docs/naga10
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/naga10/* \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/docs/naga10
|
|
|
|
${MKDIR} -p ${PREFIX}/share/doc/ja/kochi-ttfonts/docs/shinonome12
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/shinonome12/* \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/docs/shinonome12
|
|
|
|
${MKDIR} -p ${PREFIX}/share/doc/ja/kochi-ttfonts/docs/shinonome16
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/shinonome16/* \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/docs/shinonome16
|
|
|
|
${MKDIR} -p ${PREFIX}/share/doc/ja/kochi-ttfonts/docs/wadalab
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/wadalab/* \
|
|
|
|
${PREFIX}/share/doc/ja/kochi-ttfonts/docs/wadalab
|
2002-01-15 19:35:30 +01:00
|
|
|
.endif
|
2002-01-15 16:55:09 +01:00
|
|
|
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
2002-01-16 03:41:26 +01:00
|
|
|
.include <bsd.port.mk>
|