blob: 7fd1c733bdd7cf03a2b5f8c7022e33e379e80dc9 (
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
47
48
49
50
51
52
53
54
|
# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
# $FreeBSD$
PORTNAME= m17n-lib
PORTVERSION= 1.7.0
PORTREVISION= 1
CATEGORIES= devel textproc
MASTER_SITES= SAVANNAH/m17n
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= Library for the multilingual text handling
BUILD_DEPENDS= bison:devel/bison \
m17n-db>=1.6.4:devel/m17n-db
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libfribidi.so:converters/fribidi \
libgd.so:graphics/gd \
libotf.so:print/libotf
RUN_DEPENDS= m17n-db>=1.6.4:devel/m17n-db
MAKE_JOBS_UNSAFE= yes
USES= autoreconf gettext-tools libtool pkgconfig
USE_XORG= ice sm x11 xaw xft xt
USE_GNOME= libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-nls
OPTIONS_DEFINE= ANTHY ISPELL THAI
ANTHY_DESC= Kana-Kanji conversion support via Anthy
ISPELL_DESC= Spell checking support via Ispell
THAI_DESC= Thai language support via libThai
ANTHY_LIB_DEPENDS= libanthy.so:japanese/anthy
ANTHY_CONFIGURE_OFF= --without-anthy
ISPELL_BUILD_DEPENDS= ispell:textproc/aspell-ispell
ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell
ISPELL_CONFIGURE_OFF= HAVE_ISPELL=no
THAI_LIB_DEPENDS= libthai.so:devel/libthai
THAI_CONFIGURE_OFF= --without-libthai
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
's|libdir}/pkgconfig|prefix}/libdata/pkgconfig|g ; \
s|-ldl||g'
.include <bsd.port.mk>
|