2002-05-02 07:50:40 +02:00
|
|
|
# New ports collection makefile for: psi
|
|
|
|
# Date created: Wed May 1 20:27:23 NZST 2002
|
|
|
|
# Whom: jonc@chen.org.nz
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= psi
|
2005-04-08 08:37:01 +02:00
|
|
|
PORTVERSION= 0.9.3
|
2005-07-28 08:22:16 +02:00
|
|
|
PORTREVISION= 3
|
2005-11-09 09:21:21 +01:00
|
|
|
CATEGORIES= net-im
|
2002-07-12 20:20:36 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-05-02 07:50:40 +02:00
|
|
|
|
2005-07-22 11:33:36 +02:00
|
|
|
MAINTAINER= vsevolod@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= A Qt-based Jabber client
|
2002-05-02 07:50:40 +02:00
|
|
|
|
2005-05-11 15:00:19 +02:00
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
LIB_DEPENDS= qca.1:${PORTSDIR}/devel/qca
|
2004-01-28 07:24:34 +01:00
|
|
|
RUN_DEPENDS= ${X11BASE}/lib/plugins/crypto/libqca-tls.so:${PORTSDIR}/security/qca-tls
|
|
|
|
|
2002-11-10 18:12:28 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2002-05-02 07:50:40 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_BZIP2= yes
|
2003-01-29 02:53:08 +01:00
|
|
|
USE_QT_VER= 3
|
2005-04-08 08:37:01 +02:00
|
|
|
|
|
|
|
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
|
|
|
|
PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
|
2005-05-16 20:44:15 +02:00
|
|
|
PTHREAD_LDFLAGS=${PTHREAD_LIBS} \
|
|
|
|
KDEDIR=${LOCALBASE}
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${X11BASE} \
|
2005-04-08 08:37:01 +02:00
|
|
|
--with-qca-inc=${X11BASE}/include/plugins/qca \
|
|
|
|
--with-qca-lib=${X11BASE}/lib
|
2004-01-07 14:54:13 +01:00
|
|
|
MAKE_ARGS+= QTDIR=${X11BASE} \
|
|
|
|
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
2002-05-02 07:50:40 +02:00
|
|
|
|
2005-05-19 07:53:16 +02:00
|
|
|
OPTIONS= KDE "Enable KDE tray support" off
|
2005-05-19 07:51:29 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-05-16 20:44:15 +02:00
|
|
|
.if defined(WITH_KDE)
|
2005-07-28 08:22:16 +02:00
|
|
|
LIB_DEPENDS+= kdecore:${PORTSDIR}/x11/kdelibs3
|
2005-05-16 20:44:15 +02:00
|
|
|
_NO_KDE_CONFTARGET_HACK= yes
|
|
|
|
PLIST_SUB+= KDE=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-kde
|
|
|
|
PLIST_SUB+= KDE="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
.if defined(WITH_KDE)
|
|
|
|
@for size in 16x16 32x32 48x48; do \
|
|
|
|
${MKDIR} ${LOCALBASE}/share/icons/hicolor/${size}/apps; \
|
|
|
|
done
|
|
|
|
.endif
|
|
|
|
|
2004-01-09 12:24:03 +01:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${PREFIX}/bin/psi
|
|
|
|
|
2005-05-19 07:51:29 +02:00
|
|
|
.include <bsd.port.post.mk>
|