head	1.4;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3;
locks; strict;
comment	@# @;


1.4
date	2012.11.17.05.54.56;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2009.06.02.06.46.42;	author hrs;	state Exp;
branches;
next	1.2;

1.2
date	2009.05.31.12.05.21;	author hrs;	state Exp;
branches;
next	1.1;

1.1
date	2009.05.31.09.19.09;	author hrs;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Switch exporter over
@
text
@# New ports collection makefile for:	font-std
# Date created:		15 May 2009
# Whom:			hrs
#
# $FreeBSD: head/chinese/font-std/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	font-std
PORTVERSION=	0.0.20090602
CATEGORIES=	chinese x11-fonts
MASTER_SITES=	# empty
DISTFILES=	# empty

MAINTAINER=	hrs@@FreeBSD.org
COMMENT=	Chinese Standard Fonts

RUN_DEPENDS=	${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf \
		${LOCALBASE}/share/fonts/TrueType/gbsn00lp.ttf:${PORTSDIR}/chinese/arphicttf \
		${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf \
		${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:${PORTSDIR}/chinese/arphicttf

NO_BUILD=	yes
PLIST_FILES=	${FONTSDIR}/std.zh_CN/STHeiti-Regular \
		${FONTSDIR}/std.zh_CN/STSong-Light \
		${FONTSDIR}/std.zh_CN/MSung-Light \
		${FONTSDIR}/std.zh_CN/MHei-Medium
PLIST_DIRS=	${FONTSDIR}/std.zh_CN
FONTSDIR=	share/fonts

do-fetch:
	@@${DO_NADA}

do-install:
	${MKDIR} ${PREFIX}/${FONTSDIR}/std.zh_CN
	${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf ${PREFIX}/${FONTSDIR}/std.zh_CN/STHeiti-Regular
	${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/gbsn00lp.ttf ${PREFIX}/${FONTSDIR}/std.zh_CN/STSong-Light
	${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf ${PREFIX}/${FONTSDIR}/std.zh_CN/MSung-Light
	${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf ${PREFIX}/${FONTSDIR}/std.zh_CN/MHei-Medium

.include <bsd.port.mk>
@


1.3
log
@Use RUN_DEPENDS instead of BUILD_DEPENDS.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.2
log
@Fix PLIST.

Spotted by:	QAT
@
text
@d9 1
a9 1
PORTVERSION=	0.0.20090515
d17 1
a17 1
BUILD_DEPENDS=	${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf \
@


1.1
log
@japanese/font-std, chinese/font-std, and dependency fixups due
to it have been added.  These are to install standard fonts used in the
Ports Collection.  Currently they contain:

 std.ja_JP/Mincho
 std.ja_JP/Gothic
 std.ja_JP/Ryumin-Light
 std.ja_JP/GothicBBB-Medium
 std.zh_CN/STHeiti-Regular
 std.zh_CN/STSong-Light
 std.zh_CN/MSung-Light
 std.zh_CN/MHei-Medium

under ${PREFIX}/share/fonts/.  They are just symlinks to
corresponding font files.  The symlink names are based on popular
PostScript font names.

Applications should refer the font files via XLFD or fontconfig
first.  If they need a direct reference to the font file, please use
files in std.*/*.  This is because direct reference to a specific
font name in an application configuration file makes the maintenance
difficult when the font file name is changed, for example.
@
text
@d28 1
a28 1
FONTSDIR=	${PREFIX}/share/fonts
d34 5
a38 5
	${MKDIR} ${FONTSDIR}/std.zh_CN
	${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf ${FONTSDIR}/std.zh_CN/STHeiti-Regular
	${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/gbsn00lp.ttf ${FONTSDIR}/std.zh_CN/STSong-Light
	${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf ${FONTSDIR}/std.zh_CN/MSung-Light
	${LN} -s -f ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf ${FONTSDIR}/std.zh_CN/MHei-Medium
@

