2000-05-16 22:09:00 +00:00
|
|
|
# New ports collection makefile for: KDE libraries 2
|
|
|
|
# Date created: Fri Apr 14 2000 15:05:00 EDT
|
|
|
|
# Whom: will
|
1997-11-01 14:21:18 +00:00
|
|
|
#
|
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-05-16 22:09:00 +00:00
|
|
|
PORTVERSION= 1.90
|
|
|
|
CATEGORIES= x11-toolkits
|
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
|
|
MASTER_SITE_SUBDIR= unstable/distribution/tar/src
|
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 \
|
2000-05-16 22:09:00 +00:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
kde-qt-addon.4:${PORTSDIR}/x11-toolkits/kde-qt-addon
|
2000-04-03 00:37:32 +00:00
|
|
|
|
2000-05-16 22:09:00 +00:00
|
|
|
MOC?= ${X11BASE}/bin/moc2
|
|
|
|
SOMAJOR= 4
|
|
|
|
SOMINOR= 0
|
1999-02-28 21:48:09 +00:00
|
|
|
USE_BZIP2= yes
|
2000-05-16 22:09:00 +00:00
|
|
|
USE_QT2= yes
|
2000-06-16 08:48:22 +00:00
|
|
|
INSTALLS_SHLIBS= yes
|
2000-05-16 22:09:00 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} --enable-shared \
|
|
|
|
--with-qt-includes=${X11BASE}/include/qt2 \
|
|
|
|
--with-qt-libraries=${X11BASE}/lib \
|
|
|
|
--with-extra-libs=${LOCALBASE}/lib
|
2000-05-17 23:15:07 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
|
|
|
|
MOC="${MOC}"
|
2000-04-03 00:37:32 +00:00
|
|
|
USE_GMAKE= yes
|
2000-06-01 16:43:22 +00:00
|
|
|
MAKE_ENV= SOMAJOR="${SOMAJOR}" SOMINOR="${SOMINOR}"
|
2000-05-16 22:09:00 +00:00
|
|
|
PLIST_SUB+= LIBVER="${SOMAJOR}"
|
1998-10-01 18:35:36 +00:00
|
|
|
|
2000-05-29 19:49:45 +00:00
|
|
|
post-install:
|
2000-05-29 01:01:22 +00:00
|
|
|
.for LIB in DCOP kab kdecore kdesu kdeui kfile kformula khtml kio kjs kmid \
|
|
|
|
kparts kspell ksycoca kwrite
|
|
|
|
@${LN} -sf ${PREFIX}/lib/lib${LIB}.so.${SOMAJOR} ${PREFIX}/lib/lib${LIB}.so
|
|
|
|
.endfor
|
|
|
|
.for LIB in artsc artscbackend artsdsp artsflow artsflow_idl kmedia2_idl qtmcop \
|
|
|
|
soundserver_idl x11globalcomm
|
|
|
|
@${LN} -sf ${PREFIX}/lib/lib${LIB}.so.0 ${PREFIX}/lib/lib${LIB}.so
|
|
|
|
.endfor
|
|
|
|
@${LN} -sf ${PREFIX}/lib/libkjava.so.1 ${PREFIX}/lib/libkjava.so
|
|
|
|
|
2000-03-25 21:49:47 +00:00
|
|
|
.include <bsd.port.mk>
|