aboutsummaryrefslogtreecommitdiff
path: root/devel/m17n-lib/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-10-23 11:40:51 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-10-23 11:40:51 +0000
commit3fb7664eb9083edc2c2407e2dcc41570fc572d79 (patch)
tree5b36bfc446f28b8e775d2b0a501ac47cdac4fbea /devel/m17n-lib/Makefile
parent8477d6dfcc28f96256ee8e2213258fb7759f8a44 (diff)
Notes
Diffstat (limited to 'devel/m17n-lib/Makefile')
-rw-r--r--devel/m17n-lib/Makefile25
1 files changed, 15 insertions, 10 deletions
diff --git a/devel/m17n-lib/Makefile b/devel/m17n-lib/Makefile
index 578555b59843..6b271d1fbd5e 100644
--- a/devel/m17n-lib/Makefile
+++ b/devel/m17n-lib/Makefile
@@ -6,36 +6,36 @@
#
PORTNAME= m17n-lib
-PORTVERSION= 1.3.4
+PORTVERSION= 1.4.0
CATEGORIES= devel
MASTER_SITES= http://www.m17n.org/m17n-lib-download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A library for the multilingual text handling
-BUILD_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
+BUILD_DEPENDS= m17n-db>=1.4.0:${PORTSDIR}/devel/m17n-db
LIB_DEPENDS= fribidi.0:${PORTSDIR}/converters/fribidi \
gd.4:${PORTSDIR}/graphics/gd \
- otf.0:${PORTSDIR}/print/libotf \
- Xft.2:${PORTSDIR}/x11-fonts/libXft
-RUN_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
+ otf.0:${PORTSDIR}/print/libotf
+RUN_DEPENDS= m17n-db>=1.4.0:${PORTSDIR}/devel/m17n-db
-USE_AUTOTOOLS= libtool:15
-USE_XLIB= yes
+USE_XORG= xaw xft xt
USE_GNOME= gnometarget libxml2 pkgconfig
+USE_AUTOTOOLS= autoconf:261 libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
OPTIONS= ANTHY "With Anthy support" off \
- ISPELL "With Ispell support" off
+ ISPELL "With Ispell support" off \
+ THAI "With libThai support" off
.include <bsd.port.pre.mk>
.if defined(WITH_ANTHY)
LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy
.else
-CONFIGURE_ENV+= ac_cv_lib_anthydic_anthy_init_sessions=no
+CONFIGURE_ARGS+= --without-anthy
.endif
.if defined(WITH_ISPELL)
@@ -45,10 +45,15 @@ RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
CONFIGURE_ENV+= HAVE_ISPELL=no
.endif
+.if defined(WITH_THAI)
+LIB_DEPENDS+= thai.0:${PORTSDIR}/devel/libthai
+.else
+CONFIGURE_ARGS+= --without-libthai
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g ; \
s|-ldl||g'
- @${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>