# New ports collection makefile for:    ja-scim-honoka
# Date created:		2 June 2006
# Whom:			Masashi CHIBA
#
# $FreeBSD: ports/japanese/scim-honoka/Makefile,v 1.5 2007/05/19 20:12:13 flz Exp $
#

PORTNAME=	scim-honoka
PORTVERSION=	0.9.1
PORTREVISION=	3
CATEGORIES=	japanese
MASTER_SITES=	http://nop.net-p.org/files/honoka/
DISTNAME=	honoka-${PORTVERSION}

MAINTAINER=	chiba.masashi@gmail.com
COMMENT=	SCIM IMEngine module using various Imput Methods

BUILD_DEPENDS=	scim:${PORTSDIR}/textproc/scim
RUN_DEPENDS:=	${BUILD_DEPENDS}

USE_LDCONFIG=	yes
USE_GETTEXT=	yes
USE_GNOME=	lthack gnomehack
USE_XLIB=	yes
USE_ICONV=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15

CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
		PTHREAD_LIBS="${PTHREAD_LIBS}"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500035
IGNORE=		does not build in FreeBSD < 5.x
.else
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
		LDFLAGS="-L${LOCALBASE}/lib"
.endif

post-install:
	@${ECHO_CMD}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_CMD}

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1