69cbb39071
package's prefix would not work as part of the environment specification via MAKE_ENV (as it would not be executed in the correct directory). Fix this by invoking pkg_info(1) directly, not via an intermediate make(1) step - this is not as clean, but more effective (i.e. it works).
30 lines
931 B
Makefile
30 lines
931 B
Makefile
# $NetBSD: Makefile,v 1.8 2000/07/14 16:04:27 agc Exp $
|
|
#
|
|
|
|
DISTNAME= khostchooser-0.3
|
|
CATEGORIES= x11 kde
|
|
MASTER_SITES= ftp://ftp.kde.org/pub/kde/stable/1.1.2/apps/network/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= root@garbled.net
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/msgfmt:../../devel/gettext
|
|
DEPENDS+= kdelibs-1.1.2:../../x11/kdelibs
|
|
DEPENDS+= xpm-3.4k:../../graphics/xpm
|
|
DEPENDS+= libungif-*:../../graphics/libungif
|
|
|
|
WRKSRC= ${WRKDIR}/khostchooser
|
|
|
|
USE_X11BASE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --datadir=${PREFIX}/share/kde \
|
|
--with-qt-dir=`${SHOW_PREFIX1} qt1 ${SHOW_PREFIX2}`/qt1
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV= KDEDIR=${PREFIX} \
|
|
QTDIR=`${SHOW_PREFIX1} qt1 ${SHOW_PREFIX2}`/qt1 \
|
|
MOC=`${SHOW_PREFIX1} qt1 ${SHOW_PREFIX2}`/qt1/bin/moc \
|
|
CXXFLAGS="${CFLAGS}" \
|
|
all_libraries="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|