head	1.22;
access;
symbols
	RELEASE_8_3_0:1.21
	RELEASE_9_0_0:1.21
	RELEASE_7_4_0:1.21
	RELEASE_8_2_0:1.21
	RELEASE_6_EOL:1.21
	RELEASE_8_1_0:1.21
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.21
	RELEASE_7_2_0:1.21
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.21
	RELEASE_7_0_0:1.21
	RELEASE_6_3_0:1.21
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.20
	RELEASE_6_1_0:1.19
	RELEASE_5_5_0:1.19
	RELEASE_6_0_0:1.18
	RELEASE_5_4_0:1.17
	RELEASE_4_11_0:1.15
	RELEASE_5_3_0:1.15
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.12
	RELEASE_5_2_0:1.12
	RELEASE_4_9_0:1.11
	RELEASE_5_1_0:1.11
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.8
	RELEASE_4_6_1:1.8
	RELEASE_4_6_0:1.8
	RELEASE_5_0_DP1:1.8
	RELEASE_4_5_0:1.8
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.7
	RELEASE_4_1_1:1.5
	RELEASE_4_1_0:1.5
	RELEASE_3_5_0:1.5
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.4
	RELEASE_3_3_0:1.3
	v1_1:1.1.1.1
	JTJANG:1.1.1;
locks; strict;
comment	@# @;


1.22
date	2012.11.17.05.54.57;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2007.05.19.20.00.45;	author flz;	state Exp;
branches;
next	1.20;

1.20
date	2006.07.24.14.17.26;	author jmelo;	state Exp;
branches;
next	1.19;

1.19
date	2005.11.28.04.46.05;	author linimon;	state Exp;
branches;
next	1.18;

1.18
date	2005.07.25.21.58.07;	author linimon;	state Exp;
branches;
next	1.17;

1.17
date	2005.02.19.13.51.49;	author leeym;	state Exp;
branches;
next	1.16;

1.16
date	2005.01.08.15.50.02;	author sem;	state Exp;
branches;
next	1.15;

1.15
date	2004.08.21.09.24.14;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2004.07.23.19.10.07;	author anholt;	state Exp;
branches;
next	1.13;

1.13
date	2004.04.09.03.06.24;	author kris;	state Exp;
branches;
next	1.12;

1.12
date	2003.11.03.01.19.14;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2003.04.14.17.58.54;	author leeym;	state Exp;
branches;
next	1.10;

1.10
date	2003.02.26.14.23.41;	author foxfair;	state Exp;
branches;
next	1.9;

1.9
date	2002.12.21.18.48.37;	author ijliao;	state Exp;
branches;
next	1.8;

1.8
date	2000.12.09.20.09.35;	author keith;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.06.18.14.48;	author keith;	state Exp;
branches;
next	1.6;

1.6
date	2000.10.08.10.19.19;	author asami;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.13.08.28.08;	author asami;	state Exp;
branches;
next	1.4;

1.4
date	99.11.01.18.02.23;	author foxfair;	state Exp;
branches;
next	1.3;

1.3
date	99.08.25.04.57.52;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	99.07.19.05.45.01;	author foxfair;	state Exp;
branches;
next	1.1;

1.1
date	99.07.18.00.57.33;	author foxfair;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.07.18.00.57.33;	author foxfair;	state Exp;
branches;
next	;


desc
@@


1.22
log
@Switch exporter over
@
text
@# New ports collection makefile for:	Chinese Big5 TrueType fonts
# Date created:		9 July 1999
# Whom:			Jing-Tang Keith Jang <keith@@FreeBSD.org>
#
# $FreeBSD: head/chinese/moettf/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	moettf
PORTVERSION=	2.0
PORTREVISION=	2
CATEGORIES=	chinese x11-fonts
MASTER_SITES=	http://ftp.riken.go.jp/pub/FreeBSD/distfiles/zh-moettf/ \
		http://ftp.math.uni-bielefeld.de/pub/unix/FreeBSD/distfiles/zh-moettf/
DISTFILES=	moe_kai.ttf moe_sung.ttf edustds1.exe edustds2.exe \
		edustd-15.exe kai-pc.ttf

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Three Chinese BIG5 TrueType fonts: Kai LiShu Sung SungExt

EXTRACT_DEPENDS=unrar:${PORTSDIR}/archivers/unrar

DIST_SUBDIR=	zh-moettf

NO_CDROM=	Contact Taiwan's Ministry of Education for commercial use.
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

TTF_DEFAULT=	moe_sung.ttf
TTF_DEFAULTKAI=	moe_kai.ttf
TTF=		moe_lishu.ttf moe_kai.ttf moe_sung.ttf moe_sungext.ttf moe_sungsym.ttf

do-extract:
	@@${MKDIR} ${WRKSRC}
	@@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustd-15.exe ${WRKSRC}
	@@${MV} ${WRKSRC}/Edustd-15.TTF ${WRKSRC}/moe_lishu.ttf
	@@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustds1.exe ${WRKSRC}
	@@${MV} ${WRKSRC}/edustds1.ttf ${WRKSRC}/moe_sungext.ttf
	@@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustds2.exe ${WRKSRC}
	@@${MV} ${WRKSRC}/edustds2.ttf ${WRKSRC}/moe_sungsym.ttf
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/moe_kai.ttf ${WRKSRC}
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/moe_sung.ttf ${WRKSRC}

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

post-install:
.if !defined(WITHOUT_X11)
.for f in fonts.dir fonts.alias
	${SED} -e "s/ t w m o e _ k a i/twmoe_kai/g" \
		-e "s/    r        /twmoe_sung/g" \
		${XFONTSDIR}/${f} > ${XFONTSDIR}/${f}.$$ && \
		${MV} ${XFONTSDIR}/${f}.$$ ${XFONTSDIR}/${f}
.endfor
.endif

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


1.21
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@- Remove bad sites.
- Add new mastersites.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.19
log
@Remove dead mastersite per distfile survey.
@
text
@d12 2
a13 2
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/keith/moettf/ \
		ftp://ftp.cc.ntut.edu.tw/OS/Linux/packages/chinese/fonts/twmoefont/ttf/
d24 1
a24 1
NO_CDROM=	"Contact Taiwan's Ministry of Education for commercial use."
@


1.18
log
@Reset bouncing maintainer address.  These ports are now available for
adoption.

Note that I have left the maintainer's own ftp site as a MASTERSITE
because it still appears to be active (for now, anyways).

Hat:	portmgr
@
text
@d12 1
a12 4
MASTER_SITES=	http://www.edu.tw/download/mandr/biauword/5879/ \
		http://www.edu.tw/download/mandr/allbook/lishu/ \
		http://www.edu.tw/download/mandr/biauword/kai/ \
		ftp://freebsd.sinica.edu.tw/pub/keith/moettf/ \
@


1.17
log
@- add chinese/Makefile.ttf to control install/deinstall process of all
  TrueType fonts in chinese/*ttf
- update related Makefile(s) and remove pkg-{install,pkg-deinstall,pkg-plist}
- relocate non-font files to DATADIR or DOCSDIR
- fix "unable to reomve fonts from gscjk" problem in ttfm.sh and gscjk.ttfm
- update chinese/zh-fireflyttf to 1.2.6 [1]

PR:		[1] 77438
Submitted by:	leeym
Approved by:	statue at freebsd.sinica.edu.tw
@
text
@d20 1
a20 1
MAINTAINER=	statue@@freebsd.netlab.cse.yzu.edu.tw
@


1.16
log
@- Pass maintainership to submitter

PR:		ports/75730
Submitted by:	statue(at)freebsd.netlab.cse.yzu.edu.tw
@
text
@a23 1
RUN_DEPENDS=	ttfm.sh:${PORTSDIR}/chinese/ttfm
a24 1
USE_XLIB=	yes
d29 1
a29 8
SHAREMODE=	644
FONTDIR=	${PREFIX}/share/fonts/TrueType
XFONTDIR=	${X11BASE}/lib/X11/fonts/TrueType

OPTIONS=	CJK "CJK support" off \
		GS "Ghostscript support" off \
		X "X Window support" on \
		DEFAULT "set MOETTF the default font" off
d31 3
a33 12
.include <bsd.port.pre.mk>

INSTALL_ENV=	PKG_PREFIX=${PREFIX} \
		DEFAULT=${WITH_DEFAULT} WANT_CJK=${WITH_CJK} \
		WANT_GS=${WITH_GS} WITHOUT_X=${WITHOUT_X}

.if defined(WITH_CJK)
RUN_DEPENDS+=	bg5latex:${PORTSDIR}/chinese/CJK
.endif
.if defined(WITH_GS)
RUN_DEPENDS+=	${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
.endif
d36 9
a44 8
	@@${RM} -rf ${WRKDIR}
	@@${MKDIR} ${WRKDIR}
	@@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustd-15.exe ${WRKDIR}
	@@${MV} ${WRKDIR}/Edustd-15.TTF ${WRKDIR}/moe_lishu.ttf
	@@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustds1.exe ${WRKDIR}
	@@${MV} ${WRKDIR}/edustds1.ttf ${WRKDIR}/moe_sungext.ttf
	@@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustds2.exe ${WRKDIR}
	@@${MV} ${WRKDIR}/edustds2.ttf ${WRKDIR}/moe_sungsym.ttf
d47 13
a59 2
.if !exists(${FONTDIR})
	@@${MKDIR} ${FONTDIR}
a60 7
	@@${INSTALL_DATA} ${WRKDIR}/moe_lishu.ttf ${FONTDIR}
	@@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moe_kai.ttf ${FONTDIR}
	@@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/kai-pc.ttf ${FONTDIR}/moe_kai_pc.ttf
	@@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moe_sung.ttf ${FONTDIR}
	@@${INSTALL_DATA} ${WRKDIR}/moe_sungext.ttf ${FONTDIR}
	@@${INSTALL_DATA} ${WRKDIR}/moe_sungsym.ttf ${FONTDIR}
	@@${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
d62 2
@


1.15
log
@- Convert to OPTIONS

PR:		ports/70684
Submitted by:	Ying-Chieh Chen <yinjieh@@csie.nctu.edu.tw>
@
text
@d20 1
a20 1
MAINTAINER=	ports@@FreeBSD.org
@


1.14
log
@- Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
  and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
@
text
@d34 5
a38 3
INSTALL_ENV=	PKG_PREFIX=${PREFIX} \
		DEFAULT=${DEFAULT} WANT_CJK=${WANT_CJK} WANT_GS=${WANT_GS} \
		WITHOUT_X=${WITHOUT_X}
d42 5
a46 1
.if defined(WANT_CJK)
d49 1
a49 1
.if defined(WANT_GS)
a50 23
.endif

pre-fetch:
.if defined(WANT_CJK)
	@@${ECHO} "CJK support will be added."
.endif
.if defined(WANT_GS)
	@@${ECHO} "Ghostscript support will be added."
.endif
.if defined(WITHOUT_X)
	@@${ECHO} "X Window support will NOT be added."
.endif
.if defined(DEFAULT)
	@@${ECHO} "MOETTF will be set as default font."
.endif
.if !defined(WANT_CJK) && !defined(WANT_GS) && !defined(WITHOUT_X) && !defined(DEFAULT)
	@@${ECHO} --
	@@${ECHO} "Type \"make WANT_CJK=yes\" if you want CJK support."
	@@${ECHO} "Type \"make WANT_GS=yes\" if you want Ghostscript support."
	@@${ECHO} "Type \"make WITHOUT_X=yes\" if you DONT want X Window support."
	@@${ECHO} "Type \"make DEFAULT=yes\" to set MOETTF the default font."
	@@${ECHO} "You can use them in combinations."
	@@${ECHO} --
@


1.13
log
@unrar is an EXTRACT_DEPENDS, not BUILD_DEPENDS
@
text
@d34 1
a34 1
INSTALL_ENV=	PKG_PREFIX=${PREFIX} XFREE86_VERSION=${XFREE86_VERSION} \
a44 3
.endif
.if ${XFREE86_VERSION} == 3 && !defined(WITHOUT_X)
RUN_DEPENDS+=	mkfontdir.pl:${PORTSDIR}/x11-servers/XttXF86srv-common
@


1.12
log
@Reset maintainer on ports owned by the following committers who have
been inactive for over 12 months and did not respond to my email confirming
their status: keith, nakai, torstenb

Reviewed by:	portmgr
@
text
@d23 1
a23 1
BUILD_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar
@


1.11
log
@o fix MASTER_SITES
o add new file: moe_kai_pc.ttf
  http://www.edu.tw/mandr/bbs/1-4-2/kai.htm

PR:		50091
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
Approved by:	maintainer timeout
@
text
@d20 1
a20 1
MAINTAINER=	keith@@FreeBSD.org
@


1.10
log
@pkg-comment police: Purge them in this category while I'm here.
@
text
@d10 1
d12 3
a14 2
MASTER_SITES=	ftp://www.edu.tw/download/mandr/biauword/5879/ \
		ftp://www.edu.tw/download/mandr/allbook/lishu/ \
d17 2
a18 1
DISTFILES=	moe_kai.ttf moe_sung.ttf edustds1.exe edustds2.exe edustd-15.exe
d89 1
@


1.9
log
@due to ttfm module ghostscript6 change to gscjk

PR:		42330
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d18 1
@


1.8
log
@Adds two new fonts, moe_sungext.ttf and moe_sungsym.ttf.  Although
the fonts are encoded in BIG5, the characters and symbols are from
several less commonly used layers in CNS.  See
http://www.edu.tw/mandr/bbs/1-4-2/1-4-2.html for more details.

Also displays messages about WANT_XX when installing.
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/moettf/Makefile,v 1.7 2000/11/06 18:14:48 keith Exp $
d31 1
a31 1
		DEFAULT=${DEFAULT} WANT_CJK=${WANT_CJK} WANT_GS6=${WANT_GS6} \
d39 2
a40 2
.if defined(WANT_GS6)
RUN_DEPENDS+=	${LOCALBASE}/share/ghostscript/CJK/CMap/B5pc-H:${PORTSDIR}/chinese/ghostscript6
d50 2
a51 2
.if defined(WANT_GS6)
	@@${ECHO} "Ghostscript6 support will be added."
d59 1
a59 1
.if !defined(WANT_CJK) && !defined(WANT_GS6) && !defined(WITHOUT_X) && !defined(DEFAULT)
d62 1
a62 1
	@@${ECHO} "Type \"make WANT_GS6=yes\" if you want Ghostscript6 support."
@


1.7
log
@Change keith@@freebsd.sinica.edu.tw to keith@@FreeBSD.org
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/moettf/Makefile,v 1.6 2000/10/08 10:19:19 asami Exp $
d9 1
a9 1
PORTVERSION=	1.0
d11 5
a15 5
MASTER_SITES=	ftp://ftp.cc.ntut.edu.tw/OS/Linux/packages/chinese/fonts/twmoefont/ttf/ \
		ftp://ftp.ncu.edu.tw/Linux/Chinese/fonts/twmoefont/ttf/ \
		ftp://www.edu.tw/download/mandr/allbook/lishu/
DISTNAME=	${PKGNAME}
DISTFILES=	moe_kai.ttf moe_sung.ttf edustd-15.exe
d20 1
a20 1
LIB_DEPENDS=	font.1:${PORTSDIR}/x11-servers/XttXF86srv-common
d22 1
a22 1
USE_X_PREFIX=	yes
d25 1
a26 1
NO_CDROM=	"Contact Taiwan Ministry of Education for commercial use."
d28 5
a32 1
FONTDIR=	${PREFIX}/lib/X11/fonts/TrueType
d36 33
d74 4
a80 4
	@@${ECHO} "========================================================="
	@@${ECHO} "Please add ${FONTDIR} to your font path"
	@@${ECHO} "in /etc/XF86Config."
	@@${ECHO} "========================================================="
d86 3
a88 1
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.6
log
@Change PKGDIR from pkg/ to .  Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
@
text
@d3 1
a3 1
# Whom:			Keith Jang <keith@@freebsd.sinica.edu.tw>
d5 1
a5 1
# $FreeBSD: ports/chinese/moettf/Makefile,v 1.5 2000/04/13 08:28:08 asami Exp $
d17 1
a17 1
MAINTAINER=	keith@@freebsd.sinica.edu.tw
@


1.5
log
@Convert to PORTNAME/PORTVERSION.

Anomalies found:
 - autoconvert was missing "zh-" in front of PKGNAME
 - xcin (both 2.3 and 2.5) had invalid version strings
 - neither of xcin ports had NO_LATEST_LINK
 - telnet8-1.0 thinks PKGNAME is zh-telnet-1.0

Fixed all except the last (I wasn't sure if it was intentional).
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/moettf/Makefile,v 1.4 1999/11/01 18:02:23 foxfair Exp $
d49 1
a49 1
	@@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
@


1.4
log
@PR:		14642
Submitted by:	clive@@CirX.org
Reviewed by:	the maintainer
  Add *-bold-i-* to fonts.alias by default.
@
text
@a1 1
# Version required:	1.0
d5 1
a5 1
# $FreeBSD: ports/chinese/moettf/Makefile,v 1.3 1999/08/25 04:57:52 obrien Exp $
d8 2
a9 1
DISTNAME=	zh-moettf-1.0
d14 1
@


1.3
log
@Change Id->FreeBSD.
@
text
@d4 1
a4 1
# Whom:			Keith Jang <jtjang@@gcn.net.tw>
d6 1
a6 1
# $FreeBSD$
d16 1
a16 1
MAINTAINER=	jtjang@@gcn.net.tw
@


1.2
log
@Change DIST{NAME, _SUBDIR} to be appropriate for the port's name.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1999/07/18 00:57:33 foxfair Exp $
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1999/07/17 16:29:44 keith Exp $
d9 1
a9 1
DISTNAME=	zh-truetypefonts-1.0
d22 1
a22 1
DIST_SUBDIR=	zh-truetypefonts
@


1.1.1.1
log
@This port installs Chinese BIG5 TrueType fonts, includes Kai/LiShu/Sung
fonts. It then can be used along with X Window System or typesetting
software like CJK. Restricted usage: end user and non-commericial only.
@
text
@@
