freebsd-ports/chinese/ttfm/Makefile
Eric Anholt 4eb209da7d - 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)
2004-07-23 19:10:32 +00:00

39 lines
971 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.5
CATEGORIES= chinese print
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/ttfm/
MAINTAINER= ports@FreeBSD.org
COMMENT= A Big5/GB enhanced TrueType Font Manager
RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
FONTSDIR= ${PREFIX}/share/fonts/TrueType/
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in README USAGE
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${PREFIX}/man/man1
@${MKDIR} ${DATADIR}
.for module in gscjk.ttfm xttfm.ttfm
${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${DATADIR}
.endfor
@${MKDIR} ${FONTSDIR}
MAN1= ttfm.sh.1
.include <bsd.port.mk>