pkgsrc/chat/psi/options.mk
schnoebe 3a62badf52 Note: Psi 0.15 uses a new profile data format. Data from 0.14 and
prior will be migrated to the new format when you run 0.15 for the
first time.

Changes:
  - Merge many changes from Psi+.
  - New message history browser.
  - New, fast contact list window.
  - TURN proxying for voice calls.
  - Store data in more standardized locations based on the platform.
  - No longer dependent on the Qt3Support library.
  - Domains ending in .local now always work, whether via DNS server or mdns.
  - Windows 64-bit and Mac 64-bit now supported. Mac PPC deprecated.
  - Legacy SSL port probe feature removed.
  - Various small features and bugfixes.

Since 0.14, this version contains about two years worth of merges
from the Psi+ project. Thanks to Rion and Dealer_WeARE for diligently
keeping the Psi source repo current all this time.
2012-12-07 23:52:09 +00:00

68 lines
1.8 KiB
Makefile

# $NetBSD: options.mk,v 1.2 2012/12/07 23:52:09 schnoebe Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.psi
PKG_SUPPORTED_OPTIONS+= aspell enchant dbus whiteboard xscreensaver
PKG_SUGGESTED_OPTIONS+= aspell enchant
# from an idea stolen from ../../misc/openoffice3.
PSI_SUPPORTED_LANGUAGES=be cs de eo es es-es fr it ja mk pl pt-br ru \
sl sv uk ur-pk vi zh-cn zh-tw
.for l in ${PSI_SUPPORTED_LANGUAGES}
PKG_SUPPORTED_OPTIONS+= lang-${l}
PLIST_VARS+=${l}
.endfor
.include "../../mk/bsd.options.mk"
# handle the languages first
# bit of special logic, as the dialects of languages are handled
# as lang_DIALECT (aka, lower underscore UPPER) in the PSI translations
.for lang in ${PKG_OPTIONS:Mlang-*:S/lang-//g}
PLIST.${lang} = yes
. if ${lang:M??-??}
LANG_FILES+= psi_${lang:C/-.*//g}_${lang:C/.*-//g:tu}.qm
. else
LANG_FILES+= psi_${lang}.qm
. endif
.endfor
# 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"
.else
CONFIGURE_ARGS+= --disable-aspell
.endif
# enable enchant
.if !empty(PKG_OPTIONS:Menchant)
.include "../../textproc/enchant/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-enchant
.endif
# enable qdbus
.if !empty(PKG_OPTIONS:Mdbus)
.include "../../x11/qt4-qdbus/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-qdbus
.endif
# enable whiteboarding
.if !empty(PKG_OPTIONS:Mwhiteboard)
CONFIGURE_ARGS+= --enable-whiteboarding
.endif
# enable xscreensaver extension
.if empty(PKG_OPTIONS:Mxscreensaver)
CONFIGURE_ARGS+= --disable-xss
.endif
# enable growl
# .if empty(PKG_OPTIONS:Mgrowl)
# CONFIGURE_ARGS+= --with-growl=${BUILDLINK_PREFIX.growl}
# .else
# CONFIGURE_ARGS+= --disable-growl
# .endif