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"
|
2001-01-18 21:55:18 -05:00
|
|
|
|
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
|
2001-01-18 21:55:18 -05:00
|
|
|
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
|
2001-01-18 21:55:18 -05:00
|
|
|
|
2004-02-11 03:42:14 -05:00
|
|
|
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/ttfm/
|
2001-03-07 21:34:54 -05:00
|
|
|
|
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
|
|
|
|
|
2001-01-18 21:55:18 -05:00
|
|
|
DOCS= README USAGE
|
2004-02-11 03:42:14 -05:00
|
|
|
SCRIPTS= gscjk.ttfm xttfm.ttfm
|
2001-01-18 21:55:18 -05:00
|
|
|
|
2001-03-07 15:18:32 -05:00
|
|
|
do-install:
|
2001-01-18 21:55:18 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ttfm
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/ttfm
|
2001-03-07 15:18:32 -05:00
|
|
|
${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
|
2001-01-18 21:55:18 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|