freebsd-ports/chinese/ttfm/Makefile
Ying-Chieh Liao d066feed51 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
2001-10-15 12:09:23 +00:00

41 lines
1.0 KiB
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.3
PORTREVISION= 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/TrueType/
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
@${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${PREFIX}/man/man1
@${MKDIR} ${MODULESDIR}
.for module in abiword.ttfm 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}
MAN1= ttfm.sh.1
.include <bsd.port.mk>