aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/scim-honoka/Makefile
blob: 21ad8c44ffbebf59bd7c07f4503997c3a0fd8f69 (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
41
42
43
44
45
46
# New ports collection makefile for:    ja-scim-honoka
# Date created:     2 June 2006
# Whom:         Masashi CHIBA
#
# $FreeBSD$
#

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>