diff options
Diffstat (limited to 'japanese/font-mikachan/Makefile')
-rw-r--r-- | japanese/font-mikachan/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/japanese/font-mikachan/Makefile b/japanese/font-mikachan/Makefile new file mode 100644 index 000000000000..8891f315e44e --- /dev/null +++ b/japanese/font-mikachan/Makefile @@ -0,0 +1,46 @@ +# Created by: sada +# $FreeBSD$ + +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= turutani@scphys.kyoto-u.ac.jp +COMMENT= Handwritten Japanese TrueType fonts by Mika-chan + +EXTRACT_DEPENDS= lha:${PORTSDIR}/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 <bsd.port.mk> |