Update textproc/scim-m17n to version 0.2.3_9
[dports.git] / textproc / scim-m17n / Makefile
1 # Created by: Yinghong Liu <relaxbsd@gmail.com>
2 # $FreeBSD$
3
4 PORTNAME=       scim-m17n
5 PORTVERSION=    0.2.3
6 PORTREVISION=   9
7 CATEGORIES=     textproc
8 MASTER_SITES=   SF/scim/${PORTNAME}/${PORTVERSION} \
9                 http://anthesphoria.net/FreeBSD/ports/distfiles/
10
11 MAINTAINER=     nikola.lecic@anthesphoria.net
12 COMMENT=        SCIM IMEngine module which uses m17n library as the backend
13
14 BUILD_DEPENDS=  scim:${PORTSDIR}/textproc/scim \
15                 gsed:${PORTSDIR}/textproc/gsed
16 LIB_DEPENDS=    libm17n.so:${PORTSDIR}/devel/m17n-lib
17 RUN_DEPENDS=    scim:${PORTSDIR}/textproc/scim
18
19 USES=           gmake pkgconfig libtool:keepla
20 GNU_CONFIGURE=  yes
21 INSTALL_TARGET= install-strip
22
23 PLIST_FILES=    lib/scim-1.0/1.4.0/IMEngine/m17n.a \
24                 lib/scim-1.0/1.4.0/IMEngine/m17n.la \
25                 lib/scim-1.0/1.4.0/IMEngine/m17n.so \
26                 share/scim/icons/scim-m17n.png
27
28 post-patch:
29         @${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(moduledir)|${STAGEDIR}${PREFIX}/lib/scim-1.0/1.4.0/IMEngine|g' \
30                 ${WRKSRC}/src/Makefile.in
31         @${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(icondir)|${STAGEDIR}${PREFIX}/share/scim/icons|g' \
32                 ${WRKSRC}/data/Makefile.in
33
34 .include <bsd.port.mk>