summaryrefslogtreecommitdiffstats
path: root/x11-fonts/wqy/Makefile
blob: 9eafa9b76528f1514aa564bfe61fa206dec13d42 (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
# New ports collection makefile for:	wqy font
# Date created:		11 May 2005
# Whom:			Dryice Liu <dryice@liu.com.cn>
#
# $FreeBSD$
#

PORTNAME=	wqy
PORTVERSION=	1.1.0
CATEGORIES=	x11-fonts
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR=	wqy
DISTNAME=	${PORTNAME}-yhunifont-bdf-${PORTVERSION}

MAINTAINER=	dryice@dryice.name
COMMENT=	A font which includes all the CJK characters covered by Unicode 4.0

WRKSRC=		${WRKDIR}/${PORTNAME}-yhunifont
NO_BUILD=	yes
USE_X_PREFIX=	yes
FONTSDIR=	lib/X11/fonts/wqy

PLIST_FILES=	${FONTSDIR}/fonts.dir ${FONTSDIR}/yhunifont.bdf
PLIST_DIRS=	${FONTSDIR}

.if !defined(NOPORTDOCS)
PORTDOCS=	AUTHORS ChangeLog COPYING INSTALL README.yhunifont
.endif

do-install:
	@${MKDIR} ${PREFIX}/${FONTSDIR}
	${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/${FONTSDIR}
	${INSTALL_DATA} ${WRKSRC}/yhunifont.bdf ${PREFIX}/${FONTSDIR}

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud