this really doesn't need to be installed into X11BASE, so change to USE_X11

only and use PREFIX instead X11BASE as appropriate
this makes this package xpkgwedge friendly, too
Problem reported and fix provided in pkg/22440 by Juan RP
This commit is contained in:
jdolecek 2003-08-11 17:28:20 +00:00
parent 4fc5371add
commit 5b646d8d9c

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.12 2003/08/11 17:25:04 jdolecek Exp $
# $NetBSD: Makefile,v 1.13 2003/08/11 17:28:20 jdolecek Exp $
DISTNAME= psi-0.9
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psi/}
EXTRACT_SUFX= .tar.bz2
@ -15,7 +15,7 @@ DEPENDS+= psi-ssl>=2.0:../../chat/psi-ssl
USE_BUILDLINK2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_X11BASE= yes
USE_X11= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= -p ${PREFIX}
@ -30,11 +30,11 @@ post-configure:
do-install:
cd ${WRKSRC} && ${QTDIR}/bin/lrelease psi.pro
${INSTALL_DATA_DIR} ${X11BASE}/share/psi
${INSTALL_DATA_DIR} ${PREFIX}/share/psi
cd ${WRKSRC} && ${CP} -f -pR image iconsets sound certs lang/*.qm \
README COPYING \
${X11BASE}/share/psi/
cd ${WRKSRC} && ${CP} -f psi ${X11BASE}/bin/psi
${PREFIX}/share/psi/
cd ${WRKSRC} && ${CP} -f psi ${PREFIX}/bin/psi
.include "../../x11/qt3-libs/buildlink2.mk"
BUILDLINK_DEPENDS.qt3-tools= qt3-tools>=3.1.2nb2 # need lrelease