summaryrefslogtreecommitdiff
path: root/editors/xemacs-current
diff options
context:
space:
mode:
authordan <dan@pkgsrc.org>2007-11-13 04:10:09 +0000
committerdan <dan@pkgsrc.org>2007-11-13 04:10:09 +0000
commit4b7a95c785be2bb13a16261dbf03ed5982212932 (patch)
tree45b65d2dbc468e5e8ce21f7a2400784d98690fe6 /editors/xemacs-current
parent89344a486bf91a998740059cf4e521572cf5c1f6 (diff)
downloadpkgsrc-4b7a95c785be2bb13a16261dbf03ed5982212932.tar.gz
long-overdue commit of an option to enable xft anti-aliased fonts
ok uebayasi@
Diffstat (limited to 'editors/xemacs-current')
-rw-r--r--editors/xemacs-current/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/editors/xemacs-current/options.mk b/editors/xemacs-current/options.mk
index b0bc4cb72da..f665bf78ea1 100644
--- a/editors/xemacs-current/options.mk
+++ b/editors/xemacs-current/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.9 2007/11/12 01:48:48 uebayasi Exp $
+# $NetBSD: options.mk,v 1.10 2007/11/13 04:10:09 dan Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
-PKG_SUPPORTED_OPTIONS= esound ldap xface canna debug x11
+PKG_SUPPORTED_OPTIONS= esound ldap xface canna debug x11 xft
PKG_OPTIONS_OPTIONAL_GROUPS= toolkit
PKG_OPTIONS_GROUP.toolkit= gtk motif xaw
PKG_SUGGESTED_OPTIONS= x11 xaw
@@ -50,6 +50,13 @@ CONFIGURE_ARGS+= --enable-debug=yes --with-debug
. include "../../graphics/png/buildlink3.mk"
. include "../../graphics/tiff/buildlink3.mk"
. include "../../x11/xbitmaps/buildlink3.mk"
+. if !empty(PKG_OPTIONS:Mxft)
+. include "../../fonts/fontconfig/buildlink3.mk"
+. include "../../graphics/freetype2/buildlink3.mk"
+. include "../../x11/libXft/buildlink3.mk"
+. include "../../x11/libXrender/buildlink3.mk"
+CONFIGURE_ARGS+= --with-xft=emacs,tabs,menubars,gauges
+. endif
.else
CONFIGURE_ARGS+= --without-x11
CONFIGURE_ARGS+= --without-jpeg