blob: 2d24859c8abb9e8d62a84f57f2595ed82258c80b (
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
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.2 2002/10/09 21:59:00 jlam 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_BUILDLINK2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_X11BASE= yes
BUILD_DIRS= ${WRKSRC}/src
post-patch:
cd ${WRKSRC}/src && ${SED} -e 's^@PREFIX@^"${PREFIX}"^' common.cpp > common.cpp.new && ${MV} -f common.cpp.new common.cpp
pre-build:
cd ${WRKSRC}/src; \
if [ ! -f Makefile -o Makefile -ot psi.pro ]; then \
${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake psi.pro; \
fi
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/buildlink2.mk"
.include "../../x11/qt3-tools/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|