34 lines
947 B
Makefile
34 lines
947 B
Makefile
# $NetBSD: Makefile,v 1.43 2003/07/17 21:41:25 grant Exp $
|
|
#
|
|
|
|
DISTNAME= kdegraphics-1.1.2
|
|
PKGREVISION= 2
|
|
CATEGORIES= graphics kde
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}/kde1
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.kde.org/
|
|
COMMENT= Graphics programs for the KDE integrated X11 desktop
|
|
|
|
DEPENDS+= kdebase-1.1.2nb3:../../x11/kdebase
|
|
|
|
USE_X11BASE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/admin/ltconfig \
|
|
${WRKSRC}/kdvi/kpathsea/ltconfig
|
|
|
|
EVAL_PREFIX+= QT1DIR=qt1 KDEBASEDIR=kdebase
|
|
CONFIGURE_ARGS= "--datadir=${KDEBASEDIR}/share/kde" \
|
|
"--with-qt-dir=${QT1DIR}/qt1"
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV= KDEDIR=${KDEBASEDIR} \
|
|
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 "../../mk/bsd.pkg.mk"
|