diff options
author | obache <obache@pkgsrc.org> | 2010-08-05 12:41:27 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-08-05 12:41:27 +0000 |
commit | 15305eb08db9c7ad7fc67e8cf3f72f6bb6fe16ff (patch) | |
tree | 07a706ec8e39af9a3849889d646551b2257bb841 /devel/pango | |
parent | f99a51f98aa531fccfa22f2651be8a9d4edde8b9 (diff) | |
download | pkgsrc-15305eb08db9c7ad7fc67e8cf3f72f6bb6fe16ff.tar.gz |
Add libthai option (disabled by default).
Diffstat (limited to 'devel/pango')
-rw-r--r-- | devel/pango/Makefile | 4 | ||||
-rw-r--r-- | devel/pango/PLIST | 3 | ||||
-rw-r--r-- | devel/pango/options.mk | 14 |
3 files changed, 14 insertions, 7 deletions
diff --git a/devel/pango/Makefile b/devel/pango/Makefile index 5001a67de55..a74d8ba9fd7 100644 --- a/devel/pango/Makefile +++ b/devel/pango/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.145 2010/08/01 08:10:10 obache Exp $ +# $NetBSD: Makefile,v 1.146 2010/08/05 12:41:27 obache Exp $ DISTNAME= pango-1.28.1 CATEGORIES= devel fonts @@ -42,8 +42,6 @@ PLIST_VARS+= carbon BUILDLINK_API_DEPENDS.glib2+= glib2>=2.17.3 .include "../../devel/glib2/buildlink3.mk" -# XXX: later maybe add an option for libthai to provide pango-thai-lang.la? -#.include "../../devel/libthai/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.0 .include "../../graphics/cairo/buildlink3.mk" diff --git a/devel/pango/PLIST b/devel/pango/PLIST index 87226512685..51bd1b5046a 100644 --- a/devel/pango/PLIST +++ b/devel/pango/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.49 2010/05/31 17:57:37 drochner Exp $ +@comment $NetBSD: PLIST,v 1.50 2010/08/05 12:41:27 obache Exp $ bin/pango-querymodules bin/pango-view include/pango-1.0/pango/pango-attributes.h @@ -53,6 +53,7 @@ lib/pango/1.6.0/modules/pango-indic-lang.la lib/pango/1.6.0/modules/pango-khmer-fc.la lib/pango/1.6.0/modules/pango-syriac-fc.la lib/pango/1.6.0/modules/pango-thai-fc.la +${PLIST.thai}lib/pango/1.6.0/modules/pango-thai-lang.la lib/pango/1.6.0/modules/pango-tibetan-fc.la lib/pkgconfig/pango.pc lib/pkgconfig/pangocairo.pc diff --git a/devel/pango/options.mk b/devel/pango/options.mk index 52b97d973da..c0a74705af3 100644 --- a/devel/pango/options.mk +++ b/devel/pango/options.mk @@ -1,12 +1,12 @@ -# $NetBSD: options.mk,v 1.8 2008/08/19 18:10:22 tron Exp $ +# $NetBSD: options.mk,v 1.9 2010/08/05 12:41:27 obache Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.pango -PKG_SUPPORTED_OPTIONS= x11 +PKG_SUPPORTED_OPTIONS= x11 libthai PKG_SUGGESTED_OPTIONS= x11 .include "../../mk/bsd.options.mk" -PLIST_VARS+= x11 +PLIST_VARS+= x11 thai ### ### X11 support @@ -31,3 +31,11 @@ CONFIGURE_ARGS+= --without-x PLIST.carbon= yes .endif .endif + +### +### Thai lauguage support +### +.if !empty(PKG_OPTIONS:Mlibthai) +PLIST.thai= yes +.include "../../devel/libthai/buildlink3.mk" +.endif |