1997-11-01 09:21:18 -05:00
|
|
|
|
# New ports collection makefile for: kdelibs
|
1998-07-13 19:36:02 -04:00
|
|
|
|
# Version required: 1.0
|
1997-11-01 09:21:18 -05:00
|
|
|
|
# Date created: 28 October 1997
|
|
|
|
|
# Whom: Stefan E<>er <se@freebsd.org>
|
|
|
|
|
#
|
1999-08-25 01:18:43 -04:00
|
|
|
|
# $Id: Makefile,v 1.30 1999/05/03 22:29:31 se Exp $
|
1997-11-01 09:21:18 -05:00
|
|
|
|
#
|
|
|
|
|
|
1999-05-03 18:29:39 -04:00
|
|
|
|
DISTNAME= kdelibs-1.1.1
|
1997-11-04 23:20:23 -05:00
|
|
|
|
CATEGORIES= x11 kde
|
1998-03-06 14:52:23 -05:00
|
|
|
|
MASTER_SITES= $(MASTER_SITE_KDE)
|
1999-05-03 18:29:39 -04:00
|
|
|
|
MASTER_SITE_SUBDIR= stable/1.1.1/distribution/tar/generic/source/bz2
|
1997-11-01 09:21:18 -05:00
|
|
|
|
|
|
|
|
|
MAINTAINER= se@freebsd.org
|
|
|
|
|
|
1998-09-18 21:33:49 -04:00
|
|
|
|
LIB_DEPENDS= gif.3:${PORTSDIR}/graphics/giflib \
|
1999-02-06 18:22:08 -05:00
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
|
png.3:${PORTSDIR}/graphics/png \
|
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff34
|
1997-11-01 09:21:18 -05:00
|
|
|
|
|
1999-02-28 16:48:09 -05:00
|
|
|
|
USE_BZIP2= yes
|
1998-08-12 02:29:36 -04:00
|
|
|
|
USE_QT= yes
|
1997-11-01 09:21:18 -05:00
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
CONFIGURE_ARGS= "--prefix=$(PREFIX)" \
|
1999-02-06 18:22:08 -05:00
|
|
|
|
"--with-extra-includes=${PREFIX}/include" \
|
1998-02-15 17:18:32 -05:00
|
|
|
|
"--x-inc=$(X11BASE)/include" \
|
|
|
|
|
"--x-lib=$(X11BASE)/lib"
|
1999-08-25 01:18:43 -04:00
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
|
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-02-06 18:22:08 -05:00
|
|
|
|
USE_GMAKE= yes
|
1997-11-01 09:21:18 -05:00
|
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
1998-10-01 14:35:36 -04:00
|
|
|
|
post-install:
|
|
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1998-11-14 04:43:39 -05:00
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
1999-01-06 19:52:05 -05:00
|
|
|
|
${LN} -sf libjscript.so.2.0 ${PREFIX}/lib/libjscript.so
|
|
|
|
|
${LN} -sf libkab.so.2.0 ${PREFIX}/lib/libkab.so
|
|
|
|
|
${LN} -sf libkdecore.so.2.0 ${PREFIX}/lib/libkdecore.so
|
|
|
|
|
${LN} -sf libkdeui.so.2.0 ${PREFIX}/lib/libkdeui.so
|
|
|
|
|
${LN} -sf libkfile.so.2.0 ${PREFIX}/lib/libkfile.so
|
|
|
|
|
${LN} -sf libkfm.so.2.0 ${PREFIX}/lib/libkfm.so
|
|
|
|
|
${LN} -sf libkhtmlw.so.2.0 ${PREFIX}/lib/libkhtmlw.so
|
|
|
|
|
${LN} -sf libkimgio.so.2.0 ${PREFIX}/lib/libkimgio.so
|
|
|
|
|
${LN} -sf libkspell.so.2.0 ${PREFIX}/lib/libkspell.so
|
|
|
|
|
${LN} -sf libmediatool.so.2.0 ${PREFIX}/lib/libmediatool.so
|
1998-11-14 04:43:39 -05:00
|
|
|
|
.endif
|
1998-10-01 14:35:36 -04:00
|
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
|
.include <bsd.port.post.mk>
|