summaryrefslogtreecommitdiff
path: root/chat/psi
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
commitcda212b63ccd7c2ed41fa5052b50df52fb4befa7 (patch)
tree8d1311e1fd7572a2bc900fa12291340c92721ee8 /chat/psi
parentff16b442c7845b747e0713e2e7889c8d6be759d2 (diff)
downloadpkgsrc-cda212b63ccd7c2ed41fa5052b50df52fb4befa7.tar.gz
Add options.mk from wip (was included already).
Diffstat (limited to 'chat/psi')
-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