pkgsrc/chat/spectrum/options.mk
schnoebe c02a13221b Imported spectrum from local development.
spectrum is a XMPP transport using libpurple as a basis.

It provides transports/gateways to a large number of libpurple supported
IM systems, including AOL, Facebook, ICQ, IRC, Yahoo and MSN.
2011-02-07 06:31:21 +00:00

31 lines
750 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2011/02/07 06:31:22 schnoebe Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.spectrum
PKG_OPTIONS_REQUIRED_GROUPS= storage
PKG_OPTIONS_OPTIONAL_GROUPS= debug
PKG_OPTIONS_GROUP.storage= mysql sqlite
PKG_OPTIONS_GROUP.debug= debug cppunit
PKG_SUGGESTED_OPTIONS= sqlite
.include "../../mk/bsd.options.mk"
PLIST_VARS+= sqlite mysql
.if !empty(PKG_OPTIONS:Msqlite)
. include "../../databases/poco-data-sqlite/buildlink3.mk"
PLIST.sqlite= yes
.endif
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../databases/poco-data-mysql/buildlink3.mk"
PLIST.mysql= yes
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
.endif
.if !empty(PKG_OPTIONS:Mcppunit)
. include "../../devel/cppunit/buildlink3.mk"
.endif