summaryrefslogtreecommitdiff
path: root/japanese/font-ayu20/Makefile
blob: 4d113b4f367c90a93860f727d7c969ac1ab2fe6c (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

PORTNAME=	ayu20
PORTVERSION=	1.7.a
PORTREVISION=	3
CATEGORIES=	japanese x11-fonts
MASTER_SITES=	OSDN/x-tt
PKGNAMEPREFIX=	ja-font-
DISTNAME=	ayu20gothic-1.7a

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	Ayu 20-dot Kanji font

LICENSE=	PD

BUILD_DEPENDS=	mkitalic:x11-fonts/mkbold-mkitalic \
		bdftopcf:x11-fonts/bdftopcf

USES=		fonts
FONTPATHSPEC=	${FONTNAME}:unscaled:pri=60
NO_ARCH=	yes
NO_WRKSUBDIR=	yes
SUB_FILES=	Makefile
PORTDOCS=	README.txt
MAKEFILE=	${WRKDIR}/Makefile

OPTIONS_DEFINE=	DOCS

pre-build: apply-slist

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

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

.include <bsd.port.mk>