summaryrefslogtreecommitdiff
path: root/chat/psi
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-09 21:59:00 +0000
committerjlam <jlam@pkgsrc.org>2002-10-09 21:59:00 +0000
commit4916f8a634e7435f4547542a412bdc6abb5ab111 (patch)
treeed877dde37d7b34aab8b7ddb893726cd5d39ad58 /chat/psi
parent741e63c1e514b514484124761aefec0521648061 (diff)
downloadpkgsrc-4916f8a634e7435f4547542a412bdc6abb5ab111.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'chat/psi')
-rw-r--r--chat/psi/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/chat/psi/Makefile b/chat/psi/Makefile
index d8f8f1121db..2d24859c8ab 100644
--- a/chat/psi/Makefile
+++ b/chat/psi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/08/04 16:52:45 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2002/10/09 21:59:00 jlam Exp $
DISTNAME= psi-0.8.6
CATEGORIES= chat
@@ -9,16 +9,21 @@ 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
-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
-
+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
@@ -27,6 +32,7 @@ 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 "../../x11/qt3-libs/buildlink2.mk"
+.include "../../x11/qt3-tools/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"