92008b7d05
This is handwritten TrueType font-set. See: http://mikachan-font.com Lha use was adviced by sf, thanks.
41 lines
1004 B
Makefile
41 lines
1004 B
Makefile
# New ports collection makefile for: TrueTypeFont Mika-chan
|
|
# Date created: 12 October 2002
|
|
# Whom: sada
|
|
# Based on: KANOU Hiroki's kochi-ttfonts
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mikachan-ttfonts
|
|
PORTVERSION= 8.5
|
|
CATEGORIES= japanese x11-fonts
|
|
MASTER_SITES= http://members.tripod.co.jp/mikachan_font/
|
|
DISTNAME= ver${PORTVERSION}
|
|
EXTRACT_SUFX= .lzh
|
|
|
|
MAINTAINER= sada@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha
|
|
|
|
RESTRICTED= "detailed condition is not clear"
|
|
EXTRACT_CMD= lha
|
|
EXTRACT_BEFORE_ARGS= pq
|
|
EXTRACT_AFTER_ARGS= > ${WRKSRC}/mika.ttf
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
USE_X_PREFIX= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
MAKE_ENV= FONTSDIR=${FONTSDIR}
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
FONTSDIR= lib/X11/fonts/TrueType
|
|
|
|
do-install:
|
|
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
|
${INSTALL_DATA} \
|
|
${WRKDIR}/mika.ttf ${FILESDIR}/fonts.dir.mika \
|
|
${PREFIX}/${FONTSDIR}
|
|
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|