head	1.7;
access;
symbols
	RELEASE_8_3_0:1.5
	RELEASE_9_0_0:1.5
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.7
date	2013.03.19.15.07.10;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2012.11.17.05.54.57;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2008.04.19.17.47.01;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2008.03.01.14.59.38;	author erwin;	state Exp;
branches;
next	1.3;

1.3
date	2007.05.19.20.00.45;	author flz;	state Exp;
branches;
next	1.2;

1.2
date	2006.09.03.02.04.35;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2005.06.08.13.06.50;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.7
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314605
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: LI Dong <ld@@FreeBSD.org.cn>
# $FreeBSD: head/chinese/msttf/Makefile 314605 2013-03-18 21:56:30Z eadler $

PORTNAME=	msttf
PORTVERSION=	1.0
PORTREVISION=	2
CATEGORIES=	chinese x11-fonts
MASTER_SITES=	#
DISTFILES=	${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}
DIST_SUBDIR=	msttf
EXTRACT_ONLY=	# none

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Three TrueType fonts from Microsoft Windows(TM) 2000/XP

RUN_DEPENDS=	ttfm.sh:${PORTSDIR}/chinese/ttfm

MSTTF_SIMHEI=	simhei.ttf
MSTTF_SIMSUN=	simsun.ttc
MSTTF_TAHOMA=	tahoma.ttf

IGNOREFILES=	${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}
RESTRICTED=	Redistribution of pre-compiled binaries is not permitted

NO_BUILD=	yes
SHAREMODE=	644
NO_WRKSUBDIR=	yes
USE_XORG=	x11
FONTDIR=	${PREFIX}/share/fonts/TrueType
XFONTDIR=	${LOCALBASE}/lib/X11/fonts/TrueType
INSTALL_ENV=	PKG_PREFIX=${PREFIX} XFREE86_VERSION=${XFREE86_VERSION} \
		WANT_GS=${WANT_GS} WITHOUT_X=${WITHOUT_X}

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DIST_SUBDIR}/${MSTTF_SIMHEI})
IGNORE= Because of licensing restrictions, you must copy the three TrueType \
	fonts from your copy of Microsoft Windows(TM) 2000/XP manually. End \
	user can use these fonts freely in his/her own computers. Please \
	place these fonts in ${DISTDIR}/${DIST_SUBDIR}. \
	Fonts: ${MSTTF_SIMHEI} of ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}

.endif

.if !exists(${DISTDIR}/${DIST_SUBDIR}/${MSTTF_SIMSUN})
IGNORE=	Because of licensing restrictions, you must copy the three \
	TrueType fonts from your copy of Microsoft Windows(TM) \
	2000/XP manually. End user can use these fonts freely in \
	his/her own computers. Please place these fonts in \
	${DISTDIR}/${DIST_SUBDIR}. \
	Fonts: ${MSTTF_SIMSUN} of ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}\n
.endif

.if !exists(${DISTDIR}/${DIST_SUBDIR}/${MSTTF_TAHOMA})
IGNORE= Because of licensing restrictions, you must copy the three \
	TrueType fonts from your copy of Microsoft Windows(TM) \
	2000/XP manually. End user can use these fonts freely in \
	his/her own computers. Please place these fonts in \
	${DISTDIR}/${DIST_SUBDIR}. \
	Fonts: ${MSTTF_TAHOMA} of ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}\n
.endif

do-install:
	@@${MKDIR} ${FONTDIR}
	@@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MSTTF_SIMHEI} ${FONTDIR}
	@@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MSTTF_SIMSUN} ${FONTDIR}
	@@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MSTTF_TAHOMA} ${FONTDIR}
	@@${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.post.mk>
@


1.6
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	Microsoft Windows Chinese TrueType fonts
# Date created:		28 Feb 2004
# Whom:			LI Dong <ld@@FreeBSD.org.cn>
#
# $FreeBSD: head/chinese/msttf/Makefile 300895 2012-07-14 12:56:14Z beat $
#
d23 1
a23 1
RESTRICTED=	"Redistribution of pre-compiled binaries is not permitted"
@


1.5
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@Reset maintainer.

<ld@@FreeBSD.org.cn>:
Sorry, no mailbox here by that name. (#5.1.1)
@
text
@d10 1
a10 1
PORTREVISION=	1
d32 1
a32 1
USE_XLIB=	yes
d34 1
a34 1
XFONTDIR=	${X11BASE}/lib/X11/fonts/TrueType
@


1.3
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d17 1
a17 1
MAINTAINER=	ld@@FreeBSD.org.cn
@


1.2
log
@NO_PACKAGE is superfluous
@
text
@d10 1
@


1.1
log
@new port: chinese/msttf

	Three TrueType fonts from Microsoft Windows(TM) 2000/XP.
	Because of licensing restrictions, end user can use these
	fonts freely in his/her own computers.
	**** Redistribution of pre-compiled binaries is not permitted. ****

PR:		ports/64838
Submitted by:	LI Dong <ld@@FreeBSD.org.cn>
@
text
@a26 1
NO_PACKAGE=	"Redistribution of pre-compiled binaries is not permitted"
@

