blob: 33db847d67022933c2ea710f9562bdbc2a922c14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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.1
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>
|