diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-02-01 11:32:02 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-02-01 11:32:02 +0000 |
commit | b5ba75f41d60d0b5fbf15b016bcdf6b9b178e680 (patch) | |
tree | e347ed202035267feedd74c6ccda16dc932875d7 /devel/m17n-lib/Makefile | |
parent | d9a434e066a0ac92a370d1cbcc8c577539884533 (diff) | |
download | ports-b5ba75f41d60d0b5fbf15b016bcdf6b9b178e680.tar.gz ports-b5ba75f41d60d0b5fbf15b016bcdf6b9b178e680.zip |
Notes
Diffstat (limited to 'devel/m17n-lib/Makefile')
-rw-r--r-- | devel/m17n-lib/Makefile | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/devel/m17n-lib/Makefile b/devel/m17n-lib/Makefile index 50f089abf385..cfd6c46c8f6e 100644 --- a/devel/m17n-lib/Makefile +++ b/devel/m17n-lib/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: m17n-lib -# Date created: 29 May 2004 -# Whom: Kimura Fuyuki <fuyuki@hadaly.org> -# +# Created by: Kimura Fuyuki <fuyuki@hadaly.org> # $FreeBSD$ -# PORTNAME= m17n-lib PORTVERSION= 1.6.3 @@ -13,15 +9,15 @@ MASTER_SITES= http://www.m17n.org/m17n-lib-download/ \ http://anthesphoria.net/FreeBSD/ports/distfiles/ MAINTAINER= nikola.lecic@anthesphoria.net -COMMENT= A library for the multilingual text handling +COMMENT= Library for the multilingual text handling BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \ m17n-db>=1.6.2:${PORTSDIR}/devel/m17n-db -LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ - freetype.9:${PORTSDIR}/print/freetype2 \ - fribidi.3:${PORTSDIR}/converters/fribidi \ - gd.4:${PORTSDIR}/graphics/gd \ - otf.0:${PORTSDIR}/print/libotf +LIB_DEPENDS= fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ + freetype:${PORTSDIR}/print/freetype2 \ + fribidi:${PORTSDIR}/converters/fribidi \ + gd:${PORTSDIR}/graphics/gd \ + otf:${PORTSDIR}/print/libotf RUN_DEPENDS= m17n-db>=1.6.2:${PORTSDIR}/devel/m17n-db MAKE_JOBS_UNSAFE= yes @@ -31,29 +27,31 @@ USE_GNOME= libxml2 pkgconfig USE_AUTOTOOLS= autoconf libtool USE_LDCONFIG= yes -OPTIONS= ANTHY "With Anthy support" off \ - ISPELL "With Ispell support" off \ - THAI "With libThai support" off +CONFIGURE_ARGS= --disable-nls -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= ANTHY ISPELL THAI -CONFIGURE_ARGS+= --disable-nls +ANTHY_DESC= Kana-Kanji conversion support via Anthy +ISPELL_DESC= Spell checking support via Ispell +THAI_DESC= Thai language support via libThai -.if defined(WITH_ANTHY) -LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MANTHY} +LIB_DEPENDS+= anthy:${PORTSDIR}/japanese/anthy .else CONFIGURE_ARGS+= --without-anthy .endif -.if defined(WITH_ISPELL) +.if ${PORT_OPTIONS:MISPELL} BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell .else CONFIGURE_ENV+= HAVE_ISPELL=no .endif -.if defined(WITH_THAI) -LIB_DEPENDS+= thai.0:${PORTSDIR}/devel/libthai +.if ${PORT_OPTIONS:MTHAI} +LIB_DEPENDS+= thai:${PORTSDIR}/devel/libthai .else CONFIGURE_ARGS+= --without-libthai .endif @@ -63,4 +61,4 @@ post-patch: 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g ; \ s|-ldl||g' -.include <bsd.port.post.mk> +.include <bsd.port.mk> |