head	1.24;
access;
symbols
	RELEASE_8_3_0:1.23
	RELEASE_9_0_0:1.23
	RELEASE_7_4_0:1.22
	RELEASE_8_2_0:1.22
	RELEASE_6_EOL:1.22
	RELEASE_8_1_0:1.22
	RELEASE_7_3_0:1.22
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.22
	RELEASE_6_4_0:1.22
	RELEASE_5_EOL:1.21
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.19
	RELEASE_4_EOL:1.18
	RELEASE_6_2_0:1.17
	RELEASE_6_1_0:1.17
	RELEASE_5_5_0:1.17
	RELEASE_6_0_0:1.16
	RELEASE_5_4_0:1.15
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.13
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.12
	RELEASE_5_2_0:1.12
	RELEASE_4_9_0:1.9
	RELEASE_5_1_0:1.9
	RELEASE_4_8_0:1.9
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_5_0_DP1:1.6
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.1;
locks; strict;
comment	@# @;


1.24
date	2012.11.17.05.54.58;	author svnexp;	state Exp;
branches;
next	1.23;

1.23
date	2011.10.29.14.20.00;	author rafan;	state Exp;
branches;
next	1.22;

1.22
date	2008.06.06.16.16.29;	author rafan;	state Exp;
branches;
next	1.21;

1.21
date	2008.03.25.14.28.19;	author rafan;	state Exp;
branches;
next	1.20;

1.20
date	2007.05.19.20.00.49;	author flz;	state Exp;
branches;
next	1.19;

1.19
date	2007.02.22.07.37.54;	author rafan;	state Exp;
branches;
next	1.18;

1.18
date	2006.11.26.18.12.11;	author rafan;	state Exp;
branches;
next	1.17;

1.17
date	2005.08.28.15.43.47;	author clive;	state Exp;
branches;
next	1.16;

1.16
date	2005.07.25.21.58.09;	author linimon;	state Exp;
branches;
next	1.15;

1.15
date	2005.02.19.13.51.49;	author leeym;	state Exp;
branches;
next	1.14;

1.14
date	2005.01.08.15.50.04;	author sem;	state Exp;
branches;
next	1.13;

1.13
date	2004.07.23.19.10.08;	author anholt;	state Exp;
branches;
next	1.12;

1.12
date	2003.11.21.03.09.44;	author linimon;	state Exp;
branches;
next	1.11;

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

1.10
date	2003.09.30.17.55.11;	author vanilla;	state Exp;
branches;
next	1.9;

1.9
date	2003.02.26.14.23.43;	author foxfair;	state Exp;
branches;
next	1.8;

1.8
date	2002.08.03.19.30.17;	author clive;	state Exp;
branches;
next	1.7;

1.7
date	2002.06.02.17.31.56;	author ijliao;	state Exp;
branches;
next	1.6;

1.6
date	2002.03.31.10.07.04;	author clive;	state Exp;
branches;
next	1.5;

1.5
date	2001.10.15.12.09.23;	author ijliao;	state Exp;
branches;
next	1.4;

1.4
date	2001.02.01.06.17.20;	author keith;	state Exp;
branches;
next	1.3;

1.3
date	2000.12.04.12.15.31;	author keith;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.26.18.39.38;	author keith;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.13.08.48.09;	author keith;	state Exp;
branches;
next	;


desc
@@


1.24
log
@Switch exporter over
@
text
@# New ports collection makefile for:	zh-ttfm
# Date created:		12 Nov 2000
# Whom:			Jing-Tang Keith Jang <keith@@FreeBSD.org>
#
# $FreeBSD: head/chinese/ttfm/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	ttfm
PORTVERSION=	0.9.5
PORTREVISION=	3
CATEGORIES=	chinese print
MASTER_SITES=	LOCAL/rafan/chinese

MAINTAINER=	rafan@@FreeBSD.org
COMMENT=	A Big5/GB enhanced TrueType Font Manager

RUN_DEPENDS=	mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
		mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2

MAKE_ARGS=	FREETYPE_BASE=${LOCALBASE:Q} CC="${CC}"

PORTDOCS=	README USAGE
MAN1=		ttfm.sh.1

post-patch:
	@@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
		-e 's,%%PREFIX%%,${PREFIX},' \
		${WRKSRC}/modules/gscjk.ttfm \
		${WRKSRC}/modules/xttfm.ttfm \
		${WRKSRC}/ttfm.sh

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin/
	${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/
.endfor
.endif
	${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${MANPREFIX}/man/man1/
	@@${MKDIR} ${DATADIR}
.for module in gscjk.ttfm xttfm.ttfm
	${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${DATADIR}/
.endfor

.include <bsd.port.mk>
@


1.23
log
@- Respect CC

PR:		ports/162120
Submitted by:	Nali Toja <nalitoja at gmail.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.22
log
@- Respect PREFIX and LOCALBASE
@
text
@d21 1
a21 1
MAKE_ARGS=	FREETYPE_BASE=${LOCALBASE:Q}
@


1.21
log
@- Remove reference to X_CLIENTS_PORT and X11BASE
- Add trailing slash for directories
- Use MANPREFIX for manual pages
@
text
@d21 2
d30 2
a31 1
		${WRKSRC}/modules/xttfm.ttfm
@


1.20
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	2
d17 2
a18 1
RUN_DEPENDS=	mkfontdir:${X_CLIENTS_PORT}
d25 1
a25 1
	@@${REINPLACE_CMD} -e 's,%%X11BASE%%,${X11BASE},' \
d31 2
a32 2
	${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin
d36 1
a36 1
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
d39 1
a39 1
	${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${PREFIX}/man/man1
d42 1
a42 1
	${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${DATADIR}
@


1.19
log
@- Host files on my local distfiles.
  freebsd.sinica.edu.tw is down for a long time. For arphicttf, the two
  sites are just FreeBSD distfiles mirror. Host at my place is better.
- Claim maintainership
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.18
log
@- Repsect X11BASE. This should fix chinese/*ttf build failure with
  non-standard X11BASE.

Reported by:	pointyhat
@
text
@d12 1
a12 1
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/ttfm/
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.17
log
@Let mkfontscale(1) and mkfontdir(1) handle fonts.scale and fonts.dir.

PR:		ports/76658
@
text
@d23 6
@


1.16
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
@d10 1
@


1.15
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
@d13 1
a13 1
MAINTAINER=	statue@@freebsd.netlab.cse.yzu.edu.tw
@


1.14
log
@- Pass maintainership to submitter

PR:		ports/75730
Submitted by:	statue(at)freebsd.netlab.cse.yzu.edu.tw
@
text
@d19 2
a20 1
FONTSDIR=	${PREFIX}/share/fonts/TrueType/
d27 1
a27 1
.for doc in README USAGE
a35 3
	@@${MKDIR} ${FONTSDIR}

MAN1=	ttfm.sh.1
@


1.13
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
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.12
log
@statue@@freebsd.sinica.edu.tw has asked for all the maintained
ports to be reset to ports@@FreeBSD.org.  We're sorry to see you
go and want to thank you for your help in the past.

PR:		ports/59515
Submitted by:	statue@@freebsd.sinica.edu.tw
@
text
@d16 1
a16 1
RUN_DEPENDS=	mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
@


1.11
log
@Update to 0.9.5

PR:		58903
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d13 1
a13 1
MAINTAINER=	statue@@freebsd.sinica.edu.tw
@


1.10
log
@update to 0.9.4
update MASTER_SITES
take maintainership

PR:		ports/57180
Submitted by:	statue@@freebsd.sinica.edu.tw
@
text
@d9 1
a9 1
PORTVERSION=	0.9.4
a19 1
MODULESDIR=	${PREFIX}/share/ttfm/
d22 4
a25 3
	@@${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin
	@@${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin
	@@${MKDIR} ${PREFIX}/share/doc/ttfm
d27 1
a27 1
	@@${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/ttfm
d29 3
a31 2
	@@${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${PREFIX}/man/man1
	@@${MKDIR} ${MODULESDIR}
d33 1
a33 1
	@@${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${MODULESDIR}
@


1.9
log
@pkg-comment police: Purge them in this category while I'm here.
@
text
@d9 1
a9 2
PORTVERSION=	0.9.3
PORTREVISION=	3
d11 1
a11 1
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/keith/ttfm/
d13 1
a13 1
MAINTAINER=	keith@@FreeBSD.org
a15 2
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 4
d17 1
a17 3
.endif

USE_FREETYPE=	yes
d31 1
a31 1
.for module in abiword.ttfm gscjk.ttfm xfreetype.ttfm xttfm.ttfm
a33 3
.for module in chitex.ttfm ghostscript6.ttfm ttf2pk.ttfm xttfm-tcl.ttfm
	@@${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${MODULESDIR}/${module}.nop
.endfor
d38 1
a38 1
.include <bsd.port.post.mk>
@


1.8
log
@remove files/patch-aa
add files/patch-modules::abiword.ttfm
update files/patch-ttfinfo.c

PR: ports/38820 , ports/41141
@
text
@d15 1
@


1.7
log
@add gscjk module
remove ghostscript6 module
bump portrevision

PR:		38803
Submitted by:	Statue <statue@@softwareliberty.org>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.6
log
@Add dependency for XFree86-4.

PR:	ports/33038
Submitted by:	Statue <statue@@softwareliberty.org>
@
text
@d10 1
a10 1
PORTREVISION=	1
d35 1
a35 1
.for module in abiword.ttfm ghostscript6.ttfm xfreetype.ttfm xttfm.ttfm
d38 1
a38 1
.for module in chitex.ttfm ttf2pk.ttfm xttfm-tcl.ttfm
@


1.5
log
@Since AbiWord 0.9.0, it had been moved from $PREFIX/AbiSuite
to $PREFIX/share/AbiSuite

So we should change path-setting in chinese/abiword and chinese/ttfm

PR:		30600
Submitted by:	Kuang-che Wu <kcwu@@ck.tp.edu.tw>
Approved by:	MAINTAINER
@
text
@d16 5
d45 1
a45 1
.include <bsd.port.mk>
@


1.4
log
@Update to 0.9.3.  This version supports Ghostscript 6.50, and
a new abiword module and a man page were added.
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/ttfm/Makefile,v 1.3 2000/12/04 12:15:31 keith Exp $
d10 1
@


1.3
log
@Update to 0.9.2.  Prior versions of TTFM modules have many
undefined behaviors, some of which are coherent in 0.9.2,
others like CID & TTF naming conventions are not standardized
yet.

Future versions should move to FreeType 2, since it has more
font support, especially for CID fonts, so that some really
hacks can be removed from TTFM.
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/ttfm/Makefile,v 1.2 2000/11/26 18:39:38 keith Exp $
d9 1
a9 1
PORTVERSION=	0.9.2
d17 1
a17 1
FONTSDIR=	${PREFIX}/share/fonts/ttf/
d27 1
d29 1
a29 1
.for module in ghostscript6.ttfm xfreetype.ttfm xttfm.ttfm
d36 2
@


1.2
log
@Update to 0.9.1.

This version fixes some minor typos and bugs in ttfm.sh and X modules,
and the ghostscript6.ttfm module was also added.  The new module is to
be used along with the forthcoming zh-ghostscript6 and zh-enscript.  It
can also be used as a CID font manager.  Relative info can be found at:

http://www.aihara.co.jp/~taiji/tops/

The new GS6 module is written with Japan/Korean in mind, meaning there
are some barebones for identifying/using Japan/Korean TTF/CIDs.

TODO modules:
  * Abiword
  * ChiTeX
  * CID for XFree86-4
  * CJK
  * cwTeX
  * GS5.5/vflib
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/ttfm/Makefile,v 1.1 2000/11/13 08:48:09 keith Exp $
d9 1
a9 1
PORTVERSION=	0.9.1
@


1.1
log
@New port added: ttfm

A True Type Font Manager that handles true type font installation,
uninstallation, list, and default font setting.  It was originally
in the CLE Linux distribution, modified by Cheng Yuan-Chung from
Joerg Pommnitz's ttmkfdir, to have Big5/GB TTF better detection.

There are four modules as of version 0.9.0 for their respective apps:

chitex: For ChiTeX, a Chinese TeX/LaTeX
ttf2pk: Generate pk/tfm for CJK
xfreetype: For Xfsft in XFree86 3.3.x and "freetype" module in 4.x
xttfm: For X-TT in XFree86 3.3.x and "xtt" module in 4.x, available
       in both tcl and sh versions.

Since ChiTeX hasn't been ported yet, CJK needs further tuning, only
xfreetype & xttfm are available right now.  Future applications which
uses TTF(like ghostscript) should use TTFM to manage TTF.  The importing
of this port also implies existing ports like arphicttf/moettf should
be re-written.

/me is always able to find trouble for himself. :-)
@
text
@d5 1
a5 1
# $FreeBSD$
d9 1
a9 1
PORTVERSION=	0.9.0
d11 1
a11 1
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/keith/
d28 1
a28 1
.for module in xfreetype.ttfm xttfm.ttfm
@

