summaryrefslogtreecommitdiff
path: root/japanese/font-elisa10/Makefile
blob: 92d8f4f4a30d534a6042feaa9edb3e54b1cb0c90 (plain)
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
PORTNAME=	elisa10
PORTVERSION=	1.0
PORTREVISION=	4
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

LICENSE=	NOTPARTIAL-NOTCOMMERCIAL
LICENSE_NAME=	Whole, not partial, and not commercial
LICENSE_TEXT=   Free redistribution of the whole package allowed, \
		not partial, and not commercial
LICENSE_PERMS=  dist-mirror pkg-mirror auto-accept

BUILD_DEPENDS=	bdftopcf:x11-fonts/bdftopcf

USES=		fonts tar:tgz
FONTPATHSPEC=	${FONTNAME}:unscaled:pri=60
NO_ARCH=	yes
NO_WRKSUBDIR=	yes
MAKEFILE=	${WRKDIR}/Makefile
SUB_FILES=	Makefile
SUB_LIST=	BDFTOPCF_CMD="${LOCALBASE}/bin/bdftopcf" \
		GZIP_CMD="${GZIP_CMD}"
PORTDOCS=	elisau10.doc hosoku.txt
PLIST_FILES=	${FONTSDIR:S,^${PREFIX}/,,}/elisau10.pcf.gz \
		${FONTSDIR:S,^${PREFIX}/,,}/fonts.alias

OPTIONS_DEFINE=	DOCS

pre-build: apply-slist

post-install:
	${INSTALL_DATA} ${WRKSRC}/fonts.alias ${STAGEDIR}${FONTSDIR}

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>