aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/scim-honoka-plugin-romkan/Makefile
blob: ccbbf49f420f49fb5ad15c9a78d68a238f3e1f5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    ja-scim-honoka-plugin-romkan
# Date created:     3 Jun 2006
# Whom:         Masashi CHIBA 
#
# $FreeBSD$
#

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

MAINTAINER= chiba.masashi@gmail.com
COMMENT=    Honoka plugin for romaji input

BUILD_DEPENDS=  scim:${PORTSDIR}/textproc/scim \
        ${LOCALBASE}/lib/scim-1.0/1.4.0/IMEngine/honoka.so:${PORTSDIR}/japanese/scim-honoka
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USE_GETTEXT=    yes
USE_GNOME=  lthack gnomehack
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 -L${X11BASE}/lib"
.endif

.include <bsd.port.post.mk>