pkgsrc/x11/khostchooser/Makefile
jlam 3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00

35 lines
913 B
Makefile

# $NetBSD: Makefile,v 1.19 2003/03/14 19:38:06 jlam Exp $
#
DISTNAME= khostchooser-0.3
PKGREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ftp://ftp.kde.org/pub/kde/stable/1.1.2/apps/network/
EXTRACT_SUFX= .tgz
MAINTAINER= root@garbled.net
COMMENT= KDE Chooser replacement for X
BUILD_USES_MSGFMT= yes
WRKSRC= ${WRKDIR}/khostchooser
USE_BUILDLINK2= YES
USE_X11BASE= YES
USE_GMAKE= YES
GNU_CONFIGURE= YES
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --datadir=${PREFIX}/share/kde \
--with-qt-dir=${QTDIR}
CONFIGURE_ENV= KDEDIR=${PREFIX} \
CXXFLAGS="${CFLAGS}" \
all_libraries="${KDE_LDFLAGS}"
FIX_RPATH+= KDE_LDFLAGS
KDE_LDFLAGS= -L${LOCALBASE}/lib -Wl,${RPATH_FLAG}${LOCALBASE}/lib -L${X11BASE}/lib -Wl,${RPATH_FLAG}${X11BASE}/lib
.include "../../graphics/libungif/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
.include "../../x11/kdelibs/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"