diff options
author | jlam <jlam> | 2002-10-09 21:59:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-09 21:59:00 +0000 |
commit | 3dc2d12fc66e1bb4727742ddc77b9a835251bb61 (patch) | |
tree | ed877dde37d7b34aab8b7ddb893726cd5d39ad58 /chat | |
parent | 2f4c440b3047629cd9134667e8f0455df0a4d994 (diff) | |
download | pkgsrc-3dc2d12fc66e1bb4727742ddc77b9a835251bb61.tar.gz |
buildlink1 -> buildlink2
Diffstat (limited to 'chat')
-rw-r--r-- | chat/psi/Makefile | 20 |
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" |