summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-01-03 09:13:26 +0000
committerwiz <wiz@pkgsrc.org>2011-01-03 09:13:26 +0000
commit4329f358688641b9e8307866dab935d60a71982c (patch)
tree8d1311e1fd7572a2bc900fa12291340c92721ee8 /chat
parente4958724fe52e905558d2e204e5612f91ebb1d57 (diff)
downloadpkgsrc-4329f358688641b9e8307866dab935d60a71982c.tar.gz
Add options.mk from wip (was included already).
Diffstat (limited to 'chat')
-rw-r--r--chat/psi/options.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/chat/psi/options.mk b/chat/psi/options.mk
new file mode 100644
index 00000000000..a7d71d59093
--- /dev/null
+++ b/chat/psi/options.mk
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.1 2011/01/03 09:13:26 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.psi
+PKG_SUPPORTED_OPTIONS= aspell enchant
+
+.include "../../mk/bsd.options.mk"
+
+# enable aspell
+.if !empty(PKG_OPTIONS:Maspell)
+CONFIGURE_ARGS+= --with-aspell-inc=${BUILDLINK_PREFIX.aspell}/include
+CONFIGURE_ARGS+= --with-aspell-lib=${BUILDLINK_PREFIX.aspell}/lib
+.include "../../textproc/aspell/buildlink3.mk"
+.endif
+
+# enable enchant
+.if empty(PKG_OPTIONS:Menchant)
+CONFIGURE_ARGS+= --disable-enchant
+.else
+.include "../../textproc/enchant/buildlink3.mk"
+.endif