1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/chinese/ttfm/Makefile
Jing-Tang Keith Jang 19184ea111 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.
2000-12-04 12:15:31 +00:00

37 lines
968 B
Makefile

# New ports collection makefile for: zh-ttfm
# Date created: 12 Nov 2000
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ttfm
PORTVERSION= 0.9.2
CATEGORIES= chinese print
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/ttfm/
MAINTAINER= keith@FreeBSD.org
USE_FREETYPE= yes
FONTSDIR= ${PREFIX}/share/fonts/ttf/
MODULESDIR= ${PREFIX}/share/ttfm/
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/doc/ttfm
.for doc in README USAGE
@${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/ttfm
.endfor
@${MKDIR} ${MODULESDIR}
.for module in ghostscript6.ttfm xfreetype.ttfm xttfm.ttfm
@${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${MODULESDIR}
.endfor
.for module in chitex.ttfm ttf2pk.ttfm xttfm-tcl.ttfm
@${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${MODULESDIR}/${module}.nop
.endfor
@${MKDIR} ${FONTSDIR}
.include <bsd.port.mk>