aboutsummaryrefslogtreecommitdiff
path: root/textproc/scim/Makefile
blob: 2f243cc0a32102b67109da8077748df4107a6f59 (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
PORTNAME=	scim
PORTVERSION=	1.4.9
PORTREVISION=	6
CATEGORIES=	textproc
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Smart Common Input Method platform
WWW=		https://github.com/scim-im/scim

LICENSE=	LGPL21

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USES=		compiler:c++11-lang gettext gmake gnome iconv libtool pathfix \
		pkgconfig xorg
USE_GNOME=	gtk20 intlhack
USE_XORG=	x11 xpm
USE_LDCONFIG=	yes

CPPFLAGS+=	-I${LOCALBASE}/include -D__STDC_ISO_10646__
LIBS+=		-L${LOCALBASE}/lib

post-patch:
	@${REINPLACE_CMD} 's/-lstdc++//'				\
		${WRKSRC}/extras/gtk2_immodule/Makefile.in		\
		${WRKSRC}/extras/setup/Makefile.in			\
		${WRKSRC}/src/Makefile.in				\
		${WRKSRC}/tests/Makefile.in

.include <bsd.port.mk>