# Created by: Mita Yoshio # $FreeBSD: head/japanese/font-kaname12/Makefile 412347 2016-04-01 14:08:37Z mat $ PORTNAME= kaname12 PORTVERSION= 1.1 CATEGORIES= japanese x11-fonts MASTER_SITES= LOCAL/hrs PKGNAMEPREFIX= ja-font- DISTNAME= kaname_k12_bdf DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ knm_new_linux${EXTRACT_SUFX} MAINTAINER= CQG00620@nifty.ne.jp COMMENT= 12-dot Kanji font BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf USES= fonts FONTNAME= misc NO_ARCH= yes NO_WRKSUBDIR= yes SUB_FILES= Makefile pkg-install SUB_LIST= FONTSALIAS="${DATADIR}/fonts.alias" MAKEFILE= ${WRKDIR}/Makefile PORTDOCS= readme readme.kaname_bdf kaname.doc \ readme.knm gijutsu-siryou.doc PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-install OPTIONS_DEFINE= DOCS pre-build: apply-slist post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${FONTSDIR} cd ${STAGEDIR}${FONTSDIR} && \ ${LN} -s ../../../${DATADIR_REL}/*.pcf.gz . post-install-DOCS-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-doc .include