summaryrefslogtreecommitdiff
path: root/chinese/dfsongsd/Makefile
blob: d1f3444464992f4e99edd3dc6fd46680375a4558 (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
47
# New ports collection makefile for:	DynaComware DFSongSd
# Date created:		2005/05/08
# Whom:			chinsan <chinsan@mail2000.com.tw>
#
# $FreeBSD$
#

PORTNAME=	dfsongsd
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	chinese x11-fonts
MASTER_SITES=	# empty
DISTNAME=	DFSongSd.ttf
EXTRACT_SUFX=

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Chinese (HKSCS-2001 + CJK A) TrueType fonts

RESTRICTED=	"No redistribution or commercial use is allowed."
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

TTF_DEFAULT=	${DISTFILES}
TTF=		${DISTFILES}

.include <bsd.port.pre.mk>

do-extract:
	@${MKDIR} ${WRKDIR}

do-fetch:
.if !exists (${DISTDIR}/${DISTNAME})
ECHO_MSG=/usr/bin/printf
IGNORE=\'s distfile must be downloaded manually from\n\
\ \ \ \ \ http://glyph.iso10646hk.net/chinese/download_001.jsp If you agree\n\
\ \ \ \ \ with the terms given in the above page, please download ${DISTNAME},\n\
\ \ \ \ \ put it into ${DISTDIR} and run \'make\' again\n\n.
.endif

do-install:
	@${MKDIR} ${FONTSDIR}
.for ttf in ${TTF}
	${INSTALL_DATA} ${DISTDIR}/${TTF} ${FONTSDIR}
.endfor

.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
.include <bsd.port.post.mk>