diff options
Diffstat (limited to 'japanese/font-kaname12/Makefile')
-rw-r--r-- | japanese/font-kaname12/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/japanese/font-kaname12/Makefile b/japanese/font-kaname12/Makefile new file mode 100644 index 0000000..6602b8d --- /dev/null +++ b/japanese/font-kaname12/Makefile @@ -0,0 +1,44 @@ +# Created by: Mita Yoshio <mita@jp.FreeBSD.org> +# $FreeBSD$ + +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:${PORTSDIR}/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_ARGS} install-doc + +.include <bsd.port.mk> |