# New ports collection makefile for:    zh-oto
# Date created:		8 March 2003
# Whom:			Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD: chinese/oto/Makefile 316654 2013-04-27 08:50:46Z mva $
#

PORTNAME=	oto
PORTVERSION=	0.5
CATEGORIES=	chinese print
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Show you font info and add new 'name' and 'cmap' tables

USES=		iconv
GNU_CONFIGURE=	YES
USE_GMAKE=	YES
CPPFLAGS+=	-I${LOCALBASE}/include
CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib -liconv"

post-patch:
	@${FIND} ${WRKSRC}/src/ -type f -print0 | \
	    ${XARGS} -0 ${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,'

.include <bsd.port.mk>
