41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.40 1999/10/08 21:12:53 jlam Exp $
|
|
# FreeBSD Id: Makefile,v 1.5 1997/11/27 00:25:46 se Exp
|
|
#
|
|
|
|
DISTNAME= kdelibs-1.1.2
|
|
CATEGORIES= x11 kde
|
|
MASTER_SITES= ftp://ftp.us.kde.org/pub/kde/stable/1.1.2/distribution/tar/generic/source/bz2/ \
|
|
ftp://ftp.de.kde.org/pub/kde/stable/1.1.2/distribution/tar/generic/source/bz2/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.kde.org/
|
|
|
|
DEPENDS+= jpeg-6b:../../graphics/jpeg
|
|
DEPENDS+= png-1.0.3:../../graphics/png
|
|
DEPENDS+= qt-1.44:../../x11/qt
|
|
DEPENDS+= tiff-*:../../graphics/tiff
|
|
|
|
USE_X11BASE= yes
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
LIBTOOL_FLAGS= --cplusplus --install-la
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= "--datadir=${PREFIX}/share/kde" \
|
|
"--with-qt-dir=${PREFIX}" \
|
|
"--with-qt-includes=${PREFIX}/include/qt"
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${OBJECT_FMT} == "a.out") && (${MACHINE_ARCH} == "sparc")
|
|
CFLAGS+= -static
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
post-install:
|
|
@${GREP} -v ^lib/lib.*\.so ${PKGDIR}/PLIST >${PLIST_SRC}
|
|
.endif
|
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CFLAGS}" all_libraries="-L${LOCALBASE}/lib"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|