# Created by: sada # $FreeBSD: head/japanese/font-mikachan/Makefile 412347 2016-04-01 14:08:37Z mat $ PORTNAME= mikachan PORTVERSION= 9.1 CATEGORIES= japanese x11-fonts MASTER_SITES= http://mikachan.sourceforge.jp/ PKGNAMEPREFIX= ja-font- DISTNAME= ver${PORTVERSION} EXTRACT_SUFX= .lzh DIST_SUBDIR= ${PORTNAME} MAINTAINER= TsurutaniNaoki@gmail.com COMMENT= Handwritten Japanese TrueType fonts by Mika-chan EXTRACT_DEPENDS= lha:archivers/lha USES= fonts:fc FONTNAME= TTF EXTRACT_CMD= lha EXTRACT_BEFORE_ARGS= pq EXTRACT_AFTER_ARGS= > ${WRKSRC}/mika.ttf NO_CDROM= Do not sell distfile 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 PLIST_FILES= %%DATADIR%%/fonts.dir \ %%DATADIR%%/mika.ttf \ %%FONTSDIR%%/mika.ttf do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} \ ${WRKSRC}/mika.ttf ${FILESDIR}/fonts.dir \ ${STAGEDIR}${DATADIR} post-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} cd ${STAGEDIR}${FONTSDIR} && \ ${LN} -s ../../../${DATADIR_REL}/*.ttf . .include