blob: 3396e22df38d9f7ad3484d4857be243f7a22405c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: KDE libraries 2
# Date created: Fri Apr 14 2000 15:05:00 EDT
# Whom: will
#
# $FreeBSD$
#
PORTNAME= kdelibs
PORTVERSION= 1.90
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= unstable/distribution/tar/src
MAINTAINER= will@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.3:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
kde-qt-addon.4:${PORTSDIR}/x11-toolkits/kde-qt-addon
MOC?= ${X11BASE}/bin/moc2
SOMAJOR= 4
SOMINOR= 0
USE_BZIP2= yes
USE_QT2= yes
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
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
MOC="${MOC}"
USE_GMAKE= yes
MAKE_ENV= SOMAJOR="${SOMAJOR}" SOMINOR="${SOMINOR}"
PLIST_SUB+= LIBVER="${SOMAJOR}"
post-install:
.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
.include <bsd.port.mk>
|