blob: 6602b8da826d750517903c12f130a7f24d0c96d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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>
|