blob: 3ac7a081070f0346153e81ce08eacb7018a4a861 (
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
45
46
|
# $FreeBSD$
PORTNAME= elisa10
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://www.wheel.gr.jp/~dai/software/
PKGNAMEPREFIX= ja-font-
DISTNAME= elisau10
MAINTAINER= hrs@FreeBSD.org
COMMENT= Elisa 10-dot Kanji font
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf
USES= fonts tar:tgz
FONTNAME= misc
NO_ARCH= yes
NO_WRKSUBDIR= yes
SUB_FILES= Makefile pkg-install
MAKEFILE= ${WRKDIR}/Makefile
SUB_LIST= BDFTOPCF_CMD="${LOCALBASE}/bin/bdftopcf" \
GZIP_CMD="${GZIP_CMD}" \
FONTSALIAS="${DATADIR}/fonts.alias"
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
PORTDOCS= elisau10.doc hosoku.txt
PLIST_FILES= %%DATADIR%%/elisau10.pcf.gz \
%%DATADIR%%/fonts.alias \
%%FONTSDIR%%/elisau10.pcf.gz
OPTIONS_DEFINE= DOCS
pre-build: apply-slist
post-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${STAGEDIR}${FONTSDIR} && \
${LN} -s ../../../${DATADIR_REL}/*.pcf.gz .
${INSTALL_DATA} ${WRKSRC}/fonts.alias ${STAGEDIR}${DATADIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|