aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/scim-input-pad/Makefile
blob: 98b78de5e98ffe94ea2165cf77d71753dfe19de5 (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:    scim-input-pad
# Date created:     2005/05/06
# Whom:         chinsan <chinsan@mail2000.com.tw>
#
# $FreeBSD$
#

PORTNAME=   scim-input-pad
PORTVERSION=    0.1.1
PORTREVISION=   4
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=scim

MAINTAINER= chinsan@FreeBSD.org
COMMENT=    SCIM add-on to input various symbols with on-screen pad

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

INSTALLS_SHLIB= yes
USE_AUTOTOOLS=  libtool:15
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
        LDFLAGS="-L${LOCALBASE}/lib"

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
USE_GNOME=  intlhack
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.pre.mk>

post-install:
    @${CAT} ${PKGMESSAGE}
    @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'

.include <bsd.port.post.mk>