blob: fc5d24f628e375b6df804a8124eec15951b5ca96 (
plain)
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
|
# Created by: Jie Gao <gaoj@cpsc.ucalgary.ca>
# $FreeBSD$
PORTNAME= scim
PORTVERSION= 1.4.9
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF
MAINTAINER= lx@FreeBSD.org
COMMENT= Smart Common Input Method platform
USE_GNOME= gnomehack gnomehier gtk20 intlhack
USE_AUTOTOOLS= libtool
USE_GCC= any
USE_XORG= x11 xpm
USE_LDCONFIG= yes
USES= gettext gmake iconv pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
NO_STAGE= yes
.include <bsd.port.pre.mk>
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
LDFLAGS+= -L${LOCALBASE}/lib -lintl ${ICONV_LIB}
post-patch:
${REINPLACE_CMD} -e '/^libscim@SCIM_EPOCH@_la_LDFLAGS/s|=|= ${PTHREAD_LIBS}|' \
${WRKSRC}/src/Makefile.in
post-install:
@${LOCALBASE}/bin/gtk-query-immodules-2.0 > ${LOCALBASE}/etc/gtk-2.0/gtk.immodules
@${CAT} ${PKGMESSAGE}
@${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME}
.include <bsd.port.post.mk>
|