1999-09-15 20:26:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.34 1999/09/15 18:26:03 tron Exp $
|
1997-12-29 04:52:09 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.3 1997/11/05 04:19:54 asami Exp
|
1997-12-29 04:47:50 +01:00
|
|
|
#
|
|
|
|
|
1999-09-15 20:26:00 +02:00
|
|
|
DISTNAME= kdenetwork-1.1.2
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= net kde
|
1999-09-15 20:26:00 +02:00
|
|
|
MASTER_SITES= ftp://ftp.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/
|
1999-05-24 22:39:35 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= tron@netbsd.org
|
|
|
|
HOMEPAGE= http://www.kde.org/
|
|
|
|
|
|
|
|
DEPENDS= gdbm-1.7.3:../../databases/gdbm \
|
|
|
|
uulib-0.5.13:../../converters/uulib \
|
1999-09-15 20:26:00 +02:00
|
|
|
kdesupport-1.1.2:../../converters/kdesupport \
|
|
|
|
kdebase-1.1.2:../../x11/kdebase
|
1999-05-24 22:39:35 +02:00
|
|
|
|
|
|
|
NOT_FOR_PLATFORM= *-*-alpha # LP64/ELF problems
|
|
|
|
|
|
|
|
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"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CONFIGURE_ENV= KDEDIR=${PREFIX} \
|
|
|
|
CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
CXXFLAGS="${CFLAGS}" \
|
|
|
|
all_libraries="-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
GCC_VERSION!= gcc --version
|
1999-03-05 23:13:56 +01:00
|
|
|
.if (${GCC_VERSION:C/-.*$$//} == egcs)
|
1999-05-24 22:39:35 +02:00
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.egcs
|
1999-03-05 23:13:56 +01:00
|
|
|
.else
|
1999-05-24 22:39:35 +02:00
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.gcc
|
1999-03-05 23:13:56 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if (${GCC_VERSION:C/-.*$$//} != egcs)
|
1999-05-24 22:39:35 +02:00
|
|
|
@find ${PREFIX}/share/kde/locale -name ksirc.mo | xargs ${RM}
|
1999-03-05 23:13:56 +01:00
|
|
|
.endif
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|