pkgsrc/chat/psi/Makefile

80 lines
2.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.80 2014/02/12 23:17:37 tron Exp $
DISTNAME= psi-0.15
PKGREVISION= 7
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psi/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= schnoebe@NetBSD.org
HOMEPAGE= http://psi-im.org/
COMMENT= Psi XMPP/Jabber Client
LICENSE= gnu-gpl-v2
DEPENDS+= qca2-ossl>=2.0.0beta3:../../security/qca2-ossl
DIST_SUBDIR= ${DISTNAME}
DISTFILES= ${DEFAULT_DISTFILES} ${LANG_FILES}
2012-12-22 21:00:11 +01:00
USE_TOOLS+= gmake unzip pkg-config
USE_LANGUAGES= c c++
2002-10-09 23:59:00 +02:00
USE_LIBTOOL= yes
2003-01-03 21:05:21 +01:00
HAS_CONFIGURE= yes
CONFIG_SHELL= ${SH}
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --qtdir=${QTDIR:Q}
CONFIGURE_ARGS+= --with-zlib-inc=${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+= --with-zlib-lib=${BUILDLINK_PREFIX.zlib}/lib
CONFIGURE_ARGS+= --with-qca-lib=${BUILDLINK_PREFIX.qca2}/lib
CONFIGURE_ARGS+= --with-qca-inc=${BUILDLINK_PREFIX.qca2}/include
#
# a group of scripts that aren't to be installed, and aren't
# used by the pkgsrc system. But they all have the non-standard
# "==" in them. (silly linux developers thinking [ bash = sh ].
#
CHECK_PORTABILITY_SKIP= admin/build/devconfig.sh \
admin/build/build_package.sh \
admin/build/prep_dist.sh
INSTALLATION_DIRS= bin share/psi share/doc/psi
2008-06-12 04:14:13 +02:00
INSTALL_DIRS= src
INSTALL_TARGET= install_target install_sharedfiles
INSTALL_MAKE_FLAGS= INSTALL_ROOT=${DESTDIR}
.include "options.mk"
#
# LANG_FILES are the translations we're going to install
#
# LANG_FILES= psi_be.qm psi_cs.qm psi_de.qm psi_eo.qm psi_es.qm \
# psi_es_ES.qm psi_fr.qm psi_it.qm psi_ja.qm psi_mk.qm \
# psi_pl.qm psi_pt_BR.qm psi_ru.qm psi_sl.qm psi_sv.qm \
# psi_uk.qm psi_ur_PK.qm psi_vi.qm psi_zh_CN.qm psi_zh_TW.qm
.for f in ${LANG_FILES}
SITES.${f}=http://psi-im.org/download/lang/
.endfor
2008-06-12 04:14:13 +02:00
post-install:
# remove some files that shouldn't be there,
# install some files where they should be installed
2008-06-12 04:14:13 +02:00
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/psi
${RM} ${DESTDIR}${PREFIX}/share/psi/README
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/psi
${RM} ${DESTDIR}${PREFIX}/share/psi/COPYING
# install the translations
.for f in ${LANG_FILES}
${INSTALL_DATA} ${WRKDIR}/${f} ${DESTDIR}${PREFIX}/share/psi
.endfor
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/qca2/buildlink3.mk"
BUILDLINK_API_DEPENDS.qt4-libs+= qt4-libs>=4.7.0
Update psi to 0.11. New in 0.11 - Reworked account registration process (including proper support for XEP-0077 (In-band registration)) - Finished support for XEP-0004 (Data Forms) by supporting forms in messages. (thanks to Roelof Naude) - Added support for XEP-0070 (Verifying HTTP Requests via XMPP). Thanks to Maciej Niedzielski. - Customizable shortcuts (thanks to Ephraim) - System-wide shortcuts - Added spell checking (thanks to Ephraim). Currently only aspell is supported. - Added option to automatically set the resource (using the hostname) - Added new default Stellar3 iconset - Added support for XEP-138 (Stream Compression) - Added support for using XEP-33 (Extended Stanza Addressing) to multicast messages to multiple users. Use option.enable-multicasting to enable it. - Added 'Show status message' toggle. There is a hidden option to put status messages under the nickname (at the cost of 2 extra pixels when no status message is shown) - Support for Bookmark Storage (XEP-0048), where bookmarked conferences are auto-joined. No UI is provided for creating bookmarks (yet). - Better error messages, including error condition mappings (XEP-0086) - Support dynamically changing priority - Improved PGP error messages - Hiding the deprecated protocol selector for service discovery by default. Use option.ui.show-deprecated.service-discovery.protocol-selector to re-enable it. - New options system (see options.xml) - Receiving support for vCard-Based Avatars (XEP-0153) - Support for Multi-User-Chat (XEP-0045) - Preliminary support for User Nickname (XEP-0172) - Preliminary support for Roster Item Exchange (XEP-0144) - Psi now uses the Qt4(>=4.3) and QCA2 libraries, replacing the Qt3 and QCA1 requirements. - "Privacy List" support in the account dialog. - Support for XEP-0050 (Ad-hoc commands) - Preliminary support for XEP-0163 (Personal Eventing Protocol) - Preliminary support for XEP-0146 (Remote Controlling Clients) - Large parts of the codebase have been restructured. - Fixed a chat room bug where subject/topic changes were not shown. - Mac OS X builds are now universal binaries, supporting the new Intel based Macs. - Support for XEP-85 (Chat State Notifications). - Support for XEP-0115 (Entity Capabilities). - There is now a config.xml option to make some windows use the brushed metal theme on Mac OS X. - Window opacity support is now present for all three supported platforms. - Fixed Unicode URL opening bug #510 - Auto-reconnect accounts on wakeup - Copy-pasting with emoticons now works - Fixed issue #263 where emoticons would disappear in a reply or quote - History index is rebuilt faster - Configure toolbars merged into main preferences dialog - Moving tooltips - MingW32 compiler support (Coupled with the open source Qt4 Windows library this now allows completely free building of Psi on Windows) Aspell support is not activated in pkgsrc ATM
2007-12-19 14:19:38 +01:00
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"