# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
# $FreeBSD: head/chinese/oto/Makefile 428150 2016-12-08 19:23:24Z tijl $

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

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

USES=		gmake iconv
GNU_CONFIGURE=	YES
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib ${ICONV_LIB}

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

.include <bsd.port.mk>
