summaryrefslogtreecommitdiff
path: root/chat/psi/Makefile
blob: d8f8f1121dbf2dd3316a704bb1117e2f163162a4 (plain)
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
# $NetBSD: Makefile,v 1.1.1.1 2002/08/04 16:52:45 jdolecek Exp $

DISTNAME=	psi-0.8.6
CATEGORIES=	chat
MASTER_SITES=	http://belnet.dl.sourceforge.net/sourceforge/psi/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	jdolecek@netbsd.org
HOMEPAGE=	http://psi.affinix.com/
COMMENT=	PSI Jabber Client

USE_GMAKE=	yes
USE_X11BASE=	yes

post-patch:
	cd ${WRKSRC}/src && ${SED} -e 's^@PREFIX@^"${PREFIX}"^' common.cpp > common.cpp.new && ${MV} -f common.cpp.new common.cpp

do-build:
	cd ${WRKSRC}/src && [ -f Makefile -a Makefile -nt psi.pro ] || QTDIR='${REAL_QTDIR}' ${REAL_QTDIR}/bin/qmake psi.pro
	cd ${WRKSRC}/src && QTDIR="${REAL_QTDIR}" gmake


do-install:
	cd ${WRKSRC} && PREFIX="${PREFIX}" ./install.sh

BUILDLINK_DEPENDS_METHOD.qt3-tools=	build
# need qt3 3.0.4nb2, for qmake
BUILDLINK_DEPENDS.qt3-tools=		qt3-tools>=3.0.4nb2

.include "../../x11/qt3-libs/buildlink.mk"
.include "../../x11/qt3-tools/buildlink.mk"
.include "../../mk/bsd.pkg.mk"