2004-05-29 19:45:46 +02:00
|
|
|
# New ports collection makefile for: m17n-lib
|
|
|
|
# Date created: 29 May 2004
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= m17n-lib
|
2012-01-11 09:36:33 +01:00
|
|
|
PORTVERSION= 1.6.3
|
2004-05-29 19:45:46 +02:00
|
|
|
CATEGORIES= devel
|
2009-01-11 12:11:03 +01:00
|
|
|
MASTER_SITES= http://www.m17n.org/m17n-lib-download/ \
|
|
|
|
http://anthesphoria.net/FreeBSD/ports/distfiles/
|
2004-05-29 19:45:46 +02:00
|
|
|
|
2009-01-11 12:11:03 +01:00
|
|
|
MAINTAINER= nikola.lecic@anthesphoria.net
|
2004-05-29 19:45:46 +02:00
|
|
|
COMMENT= A library for the multilingual text handling
|
|
|
|
|
2010-05-03 08:39:40 +02:00
|
|
|
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
|
2011-02-06 10:37:43 +01:00
|
|
|
m17n-db>=1.6.2:${PORTSDIR}/devel/m17n-db
|
2010-05-03 08:39:40 +02:00
|
|
|
LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
fribidi.3:${PORTSDIR}/converters/fribidi \
|
2005-03-03 13:51:48 +01:00
|
|
|
gd.4:${PORTSDIR}/graphics/gd \
|
2007-10-23 13:40:51 +02:00
|
|
|
otf.0:${PORTSDIR}/print/libotf
|
2011-02-06 10:37:43 +01:00
|
|
|
RUN_DEPENDS= m17n-db>=1.6.2:${PORTSDIR}/devel/m17n-db
|
2004-05-29 19:45:46 +02:00
|
|
|
|
2009-06-21 21:11:39 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2010-05-03 08:39:40 +02:00
|
|
|
USE_XORG= ice sm x11 xaw xft xt
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME= libxml2 pkgconfig
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf libtool
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-05-29 19:45:46 +02:00
|
|
|
|
|
|
|
OPTIONS= ANTHY "With Anthy support" off \
|
2007-10-23 13:40:51 +02:00
|
|
|
ISPELL "With Ispell support" off \
|
|
|
|
THAI "With libThai support" off
|
2004-05-29 19:45:46 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-06-10 20:39:51 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
|
2005-03-03 13:51:48 +01:00
|
|
|
.if defined(WITH_ANTHY)
|
2004-07-04 05:20:26 +02:00
|
|
|
LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy
|
2004-05-29 19:45:46 +02:00
|
|
|
.else
|
2007-10-23 13:40:51 +02:00
|
|
|
CONFIGURE_ARGS+= --without-anthy
|
2004-05-29 19:45:46 +02:00
|
|
|
.endif
|
|
|
|
|
2005-03-03 13:51:48 +01:00
|
|
|
.if defined(WITH_ISPELL)
|
2004-05-29 19:45:46 +02:00
|
|
|
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
|
|
|
|
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= HAVE_ISPELL=no
|
|
|
|
.endif
|
|
|
|
|
2007-10-23 13:40:51 +02:00
|
|
|
.if defined(WITH_THAI)
|
|
|
|
LIB_DEPENDS+= thai.0:${PORTSDIR}/devel/libthai
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-libthai
|
|
|
|
.endif
|
|
|
|
|
2004-05-29 19:45:46 +02:00
|
|
|
post-patch:
|
2005-03-03 13:51:48 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g ; \
|
|
|
|
s|-ldl||g'
|
2004-05-29 19:45:46 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|