Lines 6-41
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= m17n-lib |
8 |
PORTNAME= m17n-lib |
9 |
PORTVERSION= 1.3.4 |
9 |
PORTVERSION= 1.4.0 |
10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
11 |
MASTER_SITES= http://www.m17n.org/m17n-lib-download/ |
11 |
MASTER_SITES= http://www.m17n.org/m17n-lib-download/ |
12 |
|
12 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= A library for the multilingual text handling |
14 |
COMMENT= A library for the multilingual text handling |
15 |
|
15 |
|
16 |
BUILD_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db |
16 |
BUILD_DEPENDS= m17n-db>=1.4.0:${PORTSDIR}/devel/m17n-db |
17 |
LIB_DEPENDS= fribidi.0:${PORTSDIR}/converters/fribidi \ |
17 |
LIB_DEPENDS= fribidi.0:${PORTSDIR}/converters/fribidi \ |
18 |
gd.4:${PORTSDIR}/graphics/gd \ |
18 |
gd.4:${PORTSDIR}/graphics/gd \ |
19 |
otf.0:${PORTSDIR}/print/libotf \ |
19 |
otf.0:${PORTSDIR}/print/libotf |
20 |
Xft.2:${PORTSDIR}/x11-fonts/libXft |
20 |
RUN_DEPENDS= m17n-db>=1.4.0:${PORTSDIR}/devel/m17n-db |
21 |
RUN_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db |
|
|
22 |
|
21 |
|
23 |
USE_AUTOTOOLS= libtool:15 |
22 |
USE_XORG= xaw xft xt |
24 |
USE_XLIB= yes |
|
|
25 |
USE_GNOME= gnometarget libxml2 pkgconfig |
23 |
USE_GNOME= gnometarget libxml2 pkgconfig |
|
|
24 |
USE_AUTOTOOLS= autoconf:261 libtool:15 |
26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
25 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
27 |
LDFLAGS="-L${LOCALBASE}/lib" |
26 |
LDFLAGS="-L${LOCALBASE}/lib" |
28 |
USE_LDCONFIG= yes |
27 |
USE_LDCONFIG= yes |
29 |
|
28 |
|
30 |
OPTIONS= ANTHY "With Anthy support" off \ |
29 |
OPTIONS= ANTHY "With Anthy support" off \ |
31 |
ISPELL "With Ispell support" off |
30 |
ISPELL "With Ispell support" off \ |
|
|
31 |
THAI "With libThai support" off |
32 |
|
32 |
|
33 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
34 |
|
34 |
|
35 |
.if defined(WITH_ANTHY) |
35 |
.if defined(WITH_ANTHY) |
36 |
LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy |
36 |
LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy |
37 |
.else |
37 |
.else |
38 |
CONFIGURE_ENV+= ac_cv_lib_anthydic_anthy_init_sessions=no |
38 |
CONFIGURE_ARGS+= --without-anthy |
39 |
.endif |
39 |
.endif |
40 |
|
40 |
|
41 |
.if defined(WITH_ISPELL) |
41 |
.if defined(WITH_ISPELL) |
Lines 45-54
Link Here
|
45 |
CONFIGURE_ENV+= HAVE_ISPELL=no |
45 |
CONFIGURE_ENV+= HAVE_ISPELL=no |
46 |
.endif |
46 |
.endif |
47 |
|
47 |
|
|
|
48 |
.if defined(WITH_THAI) |
49 |
LIB_DEPENDS+= thai.0:${PORTSDIR}/devel/libthai |
50 |
.else |
51 |
CONFIGURE_ARGS+= --without-libthai |
52 |
.endif |
53 |
|
48 |
post-patch: |
54 |
post-patch: |
49 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ |
55 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ |
50 |
's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g ; \ |
56 |
's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g ; \ |
51 |
s|-ldl||g' |
57 |
s|-ldl||g' |
52 |
@${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure |
|
|
53 |
|
58 |
|
54 |
.include <bsd.port.post.mk> |
59 |
.include <bsd.port.post.mk> |