openbsd-ports/chinese/ttfm/Makefile

37 lines
1018 B
Makefile
Raw Normal View History

2007-04-13 10:10:24 -04:00
# $OpenBSD: Makefile,v 1.17 2007/04/13 14:10:24 sturm Exp $
2001-03-25 22:49:10 -05:00
COMMENT= "big5/gb enhanced truetype font manager"
2004-02-11 03:42:14 -05:00
DISTNAME= ttfm-0.9.5
2007-04-13 10:10:24 -04:00
PKGNAME= zh-${DISTNAME}p0
CATEGORIES= chinese
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-04-13 10:10:24 -04:00
WANTLIB= c freetype z
2004-02-11 03:42:14 -05:00
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/ttfm/
2004-02-15 12:28:09 -05:00
MAKE_FLAGS= CC="${CC}" CFLAGS='${CFLAGS} `freetype-config --cflags`'
2001-01-21 10:04:38 -05:00
2006-11-13 11:31:07 -05:00
USE_X11= Yes
2002-10-24 19:52:29 -04:00
NO_REGRESS= Yes
DOCS= README USAGE
2004-02-11 03:42:14 -05:00
SCRIPTS= gscjk.ttfm xttfm.ttfm
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ttfm
${INSTALL_DATA_DIR} ${PREFIX}/share/ttfm
${INSTALL_PROGRAM} ${WRKBUILD}/ttfinfo ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKBUILD}/ttfm.sh ${PREFIX}/bin
2001-02-04 21:35:23 -05:00
${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${PREFIX}/man/man1
2004-02-11 03:42:14 -05:00
@cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/ttfm
@cd ${WRKSRC}/modules; ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/share/ttfm
.include <bsd.port.mk>