1997-11-01 14:21:18 +00:00
|
|
|
|
# New ports collection makefile for: kdelibs
|
2000-03-23 02:54:30 +00:00
|
|
|
|
# Version required: 1.1.2
|
1997-11-01 14:21:18 +00:00
|
|
|
|
# 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
|
|
|
|
#
|
|
|
|
|
|
1999-09-18 09:02:12 +00:00
|
|
|
|
DISTNAME= kdelibs-1.1.2
|
2000-02-24 06:54:56 +00:00
|
|
|
|
PKGNAME= kdelibs-1.1.2.1
|
1997-11-05 04:20:23 +00:00
|
|
|
|
CATEGORIES= x11 kde
|
1998-03-06 19:52:23 +00:00
|
|
|
|
MASTER_SITES= $(MASTER_SITE_KDE)
|
1999-09-18 09:02:12 +00:00
|
|
|
|
MASTER_SITE_SUBDIR= stable/1.1.2/distribution/tar/generic/source/bz2
|
1997-11-01 14:21:18 +00:00
|
|
|
|
|
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 \
|
1999-02-06 23:22:08 +00:00
|
|
|
|
png.3:${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-03-23 02:54:30 +00:00
|
|
|
|
USE_LIBTOOL= yes
|
1999-02-28 21:48:09 +00:00
|
|
|
|
USE_BZIP2= yes
|
1998-08-12 06:29:36 +00:00
|
|
|
|
USE_QT= yes
|
2000-03-23 02:54:30 +00:00
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
CONFIGURE_ARGS+="--with-extra-includes=${PREFIX}/include" \
|
1998-02-15 22:18:32 +00:00
|
|
|
|
"--x-inc=$(X11BASE)/include" \
|
2000-02-24 06:54:56 +00:00
|
|
|
|
"--x-lib=$(X11BASE)/lib" \
|
|
|
|
|
--enable-shared
|
1999-08-25 05:18:43 +00:00
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
|
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-02-06 23:22:08 +00:00
|
|
|
|
USE_GMAKE= yes
|
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
|
|
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
2000-02-24 06:54:56 +00:00
|
|
|
|
LIBMAJOR= 3
|
|
|
|
|
LIBMINOR= 0
|
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
|
LIBVER= ${LIBMAJOR}.${LIBMINOR}
|
|
|
|
|
.else
|
|
|
|
|
LIBVER= ${LIBMAJOR}
|
|
|
|
|
.endif
|
|
|
|
|
PLIST_SUB= LIBVER=${LIBVER}
|
|
|
|
|
MAKE_ENV= SOMAJOR=${LIBMAJOR} SOMINOR=${LIBMINOR}
|
|
|
|
|
|
1998-10-01 18:35:36 +00:00
|
|
|
|
post-install:
|
2000-03-23 22:22:23 +00:00
|
|
|
|
@${TOUCH} ${PREFIX}/lib/libkdecore.la
|
2000-02-24 06:54:56 +00:00
|
|
|
|
.for LIB in jscript kab kdecore kdeui kfile kfm khtmlw kimgio kspell mediatool
|
|
|
|
|
@${LN} -sf ${PREFIX}/lib/lib${LIB}.so.${LIBVER} ${PREFIX}/lib/lib${LIB}.so
|
1998-11-14 09:43:39 +00:00
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
2000-02-24 06:54:56 +00:00
|
|
|
|
@${RM} -f ${PREFIX}/lib/lib${LIB}.so.${LIBMAJOR}
|
1998-11-14 09:43:39 +00:00
|
|
|
|
.endif
|
2000-02-24 06:54:56 +00:00
|
|
|
|
.endfor
|
1998-10-01 18:35:36 +00:00
|
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
|
.include <bsd.port.post.mk>
|