Lines 6-30
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= m17n-lib |
8 |
PORTNAME= m17n-lib |
9 |
PORTVERSION= 1.1.0 |
9 |
PORTVERSION= 1.2.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 |
LIB_DEPENDS= fribidi.0:${PORTSDIR}/converters/fribidi \ |
17 |
LIB_DEPENDS= fribidi.0:${PORTSDIR}/converters/fribidi \ |
|
|
18 |
gd.4:${PORTSDIR}/graphics/gd \ |
17 |
otf.0:${PORTSDIR}/print/libotf \ |
19 |
otf.0:${PORTSDIR}/print/libotf \ |
18 |
Xft.2:${PORTSDIR}/x11-fonts/libXft \ |
20 |
Xft.2:${PORTSDIR}/x11-fonts/libXft |
19 |
gd.4:${PORTSDIR}/graphics/gd |
|
|
20 |
BUILD_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db |
21 |
RUN_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db |
21 |
RUN_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db |
22 |
|
22 |
|
23 |
USE_REINPLACE= yes |
|
|
24 |
USE_XLIB= yes |
23 |
USE_XLIB= yes |
25 |
USE_GNOME= libxml2 |
24 |
USE_GNOME= gnometarget libxml2 pkgconfig |
|
|
25 |
USE_REINPLACE= yes |
26 |
USE_LIBTOOL_VER= 15 |
26 |
USE_LIBTOOL_VER= 15 |
27 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" |
27 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
|
|
28 |
LDFLAGS="-L${LOCALBASE}/lib" |
28 |
INSTALLS_SHLIB= yes |
29 |
INSTALLS_SHLIB= yes |
29 |
|
30 |
|
30 |
OPTIONS= ANTHY "With Anthy support" off \ |
31 |
OPTIONS= ANTHY "With Anthy support" off \ |
Lines 32-44
Link Here
|
32 |
|
33 |
|
33 |
.include <bsd.port.pre.mk> |
34 |
.include <bsd.port.pre.mk> |
34 |
|
35 |
|
35 |
.ifdef WITH_ANTHY |
36 |
.if defined(WITH_ANTHY) |
36 |
LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy |
37 |
LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy |
37 |
.else |
38 |
.else |
38 |
CONFIGURE_ENV+= ac_cv_lib_anthydic_anthy_init_sessions=no |
39 |
CONFIGURE_ENV+= ac_cv_lib_anthydic_anthy_init_sessions=no |
39 |
.endif |
40 |
.endif |
40 |
|
41 |
|
41 |
.ifdef WITH_ISPELL |
42 |
.if defined(WITH_ISPELL) |
42 |
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
43 |
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
43 |
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
44 |
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
44 |
.else |
45 |
.else |
Lines 46-51
Link Here
|
46 |
.endif |
47 |
.endif |
47 |
|
48 |
|
48 |
post-patch: |
49 |
post-patch: |
49 |
${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/*/Makefile.in |
50 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ |
|
|
51 |
's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g ; \ |
52 |
s|-ldl||g' |
50 |
|
53 |
|
51 |
.include <bsd.port.post.mk> |
54 |
.include <bsd.port.post.mk> |