1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/kdelibs3/Makefile
Satoshi Asami ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00

50 lines
1.4 KiB
Makefile

# 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
INSTALLS_SHLIB= 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>