1997-11-01 14:21:18 +00:00
|
|
|
|
# New ports collection makefile for: kdelibs
|
|
|
|
|
# Date created: 28 October 1997
|
|
|
|
|
# Whom: Stefan E<>er <se@freebsd.org>
|
|
|
|
|
#
|
1999-08-31 02:51:23 +00:00
|
|
|
|
# $FreeBSD$
|
1997-11-01 14:21:18 +00:00
|
|
|
|
#
|
|
|
|
|
|
2000-04-13 19:19:05 +00:00
|
|
|
|
PORTNAME= kdelibs
|
2001-02-05 16:18:54 +00:00
|
|
|
|
PORTVERSION= 1.1.2
|
2001-12-28 14:46:36 +00:00
|
|
|
|
PORTREVISION= 3
|
1997-11-05 04:20:23 +00:00
|
|
|
|
CATEGORIES= x11 kde
|
1998-03-06 19:52:23 +00:00
|
|
|
|
MASTER_SITES= $(MASTER_SITE_KDE)
|
2000-10-30 01:33:54 +00:00
|
|
|
|
MASTER_SITE_SUBDIR= Attic/old/1.1.2/distribution/tar/generic/source/bz2
|
2000-04-13 19:19:05 +00:00
|
|
|
|
DISTNAME= kdelibs-1.1.2
|
2001-09-10 20:22:28 +00:00
|
|
|
|
DIST_SUBDIR= KDE
|
1997-11-01 14:21:18 +00:00
|
|
|
|
|
2001-08-25 02:17:59 +00:00
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
1997-11-01 14:21:18 +00:00
|
|
|
|
|
2000-02-15 13:45:23 +00:00
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 02:30:09 +00:00
|
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
1999-09-07 10:45:31 +00:00
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
1997-11-01 14:21:18 +00:00
|
|
|
|
|
2000-04-03 00:37:32 +00:00
|
|
|
|
LIBVER= 3
|
|
|
|
|
PLIST_SUB+= LIBVER="${LIBVER}"
|
|
|
|
|
MAKE_ENV+= SOMAJOR="${LIBVER}" SOMINOR="0"
|
2000-10-30 01:28:59 +00:00
|
|
|
|
NO_LATEST_LINK= yes
|
1999-02-28 21:48:09 +00:00
|
|
|
|
USE_BZIP2= yes
|
2000-04-03 00:37:32 +00:00
|
|
|
|
USE_GMAKE= yes
|
2001-04-03 08:14:43 +00:00
|
|
|
|
USE_QT_VER= 1
|
2000-06-16 21:52:40 +00:00
|
|
|
|
INSTALLS_SHLIB= yes
|
2000-04-03 00:37:32 +00:00
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
LIBTOOLFLAGS=
|
2000-03-25 21:49:47 +00:00
|
|
|
|
CONFIGURE_ARGS= --enable-shared --x-includes="$(X11BASE)/include" \
|
2000-10-23 16:09:07 +00:00
|
|
|
|
--x-libraries="$(X11BASE)/lib" --disable-static \
|
|
|
|
|
--with-qt-includes=${QTDIR}/include/X11/qt
|
1999-08-25 05:18:43 +00:00
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
|
2000-10-23 16:09:07 +00:00
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
|
QTDIR=${QTDIR}
|
|
|
|
|
|
2000-03-25 16:14:50 +00:00
|
|
|
|
# generate KDE style mtree
|
|
|
|
|
MTREE_CMD= ${CAT} ${MTREE_FILE} ${FILESDIR}/kde.dist | /usr/sbin/mtree
|
|
|
|
|
MTREE_ARGS= -U -d -e -p
|
|
|
|
|
|
2001-08-28 23:08:12 +00:00
|
|
|
|
pre-extract:
|
2001-08-25 02:17:59 +00:00
|
|
|
|
.if exists(${LOCALBASE}/include/kwin.h)
|
|
|
|
|
@${ECHO}
|
|
|
|
|
@${ECHO} " NOTICE"
|
|
|
|
|
@${ECHO}
|
|
|
|
|
@${ECHO} "You have KDE2 headers installed! Installing this port"
|
|
|
|
|
@${ECHO} "will result in conflicts between KDE2 and KDE1!"
|
|
|
|
|
@${ECHO}
|
|
|
|
|
@${FALSE}
|
|
|
|
|
.endif
|
|
|
|
|
|
2000-03-25 21:49:47 +00:00
|
|
|
|
.include <bsd.port.mk>
|