aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/psi/Makefile
blob: 53aee8232fb9c4dada3ed1ba83fc53adff52452f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    psi
# Date created:     Wed May  1 20:27:23 NZST 2002
# Whom:         jonc@chen.org.nz
#
# $FreeBSD$
#

PORTNAME=   psi
DISTVERSION=    0.12
PORTREVISION=   1
CATEGORIES= net-im
MASTER_SITES=   SF

MAINTAINER= shaun@FreeBSD.org
COMMENT=    A Qt-based Jabber client

LIB_DEPENDS=    qca.2:${PORTSDIR}/devel/qca

HAS_CONFIGURE=  yes
USE_BZIP2=  yes
USE_QT_VER= 4
QT_COMPONENTS=  corelib dbus gui iconengines imageformats qt3support \
        inputmethods network script svg xml \
        qmake_build moc_build rcc_build uic_build

CONFIGURE_ENV=  QMAKESPEC=${LOCALBASE}/share/qt4/mkspecs/freebsd-g++ \
        PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
        PTHREAD_LDFLAGS=${PTHREAD_LIBS} \
        KDEDIR=${LOCALBASE}
CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${LOCALBASE} \
        --disable-growl --disable-ghbnr
MAKE_ARGS+= QTDIR=${QT_PREFIX} \
        QMAKESPEC=${LOCALBASE}/share/qt4/mkspecs/freebsd-g++

post-patch:
    #fix build when libzip is installed
    cd ${WRKSRC}/src/tools/zip && ${LN} zip.h psi-zip.h

post-install:
    ${STRIP_CMD} ${PREFIX}/bin/psi

.include <bsd.port.mk>