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
|
2000-10-23 15:24:23 +00:00
|
|
|
|
PORTVERSION= 1.1.2
|
|
|
|
|
PORTREVISION= 2
|
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
|
1997-11-01 14:21:18 +00:00
|
|
|
|
|
2000-10-23 15:24:23 +00:00
|
|
|
|
PATCH_SITES= ftp://ftp.kde.gr.jp/pub/kde/stable/latest/distribution/tar/generic/jp-patch/
|
|
|
|
|
PATCHFILES= kdelibs-ja.19990903.diff.gz
|
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
2000-03-23 02:54:30 +00:00
|
|
|
|
MAINTAINER= will@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 \
|
2000-07-04 07:13:35 +00:00
|
|
|
|
png.4:${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
|
1998-08-12 06:29:36 +00:00
|
|
|
|
USE_QT= yes
|
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}
|
|
|
|
|
|
|
|
|
|
.if defined(PREFIX)
|
|
|
|
|
QTDIR?= ${PREFIX}
|
|
|
|
|
.else
|
|
|
|
|
QTDIR?= ${X11BASE}
|
|
|
|
|
.endif
|
1997-11-01 14:21:18 +00:00
|
|
|
|
|
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
|
|
|
|
|
|
2000-03-25 21:49:47 +00:00
|
|
|
|
.include <bsd.port.mk>
|