freebsd-ports/x11/kdelibs4/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: kdelibs
# Version required: 1.1.2
# Date created: 28 October 1997
# Whom: Stefan E<>er <se@freebsd.org>
#
1999-08-30 22:51:23 -04:00
# $FreeBSD$
#
1999-09-18 05:02:12 -04:00
DISTNAME= kdelibs-1.1.2
PKGNAME= kdelibs-1.1.2.1
CATEGORIES= x11 kde
1998-03-06 14:52:23 -05:00
MASTER_SITES= $(MASTER_SITE_KDE)
1999-09-18 05:02:12 -04:00
MASTER_SITE_SUBDIR= stable/1.1.2/distribution/tar/generic/source/bz2
MAINTAINER= will@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
1999-02-06 18:22:08 -05:00
png.3:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
1999-02-28 16:48:09 -05:00
USE_BZIP2= yes
USE_QT= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --x-includes="$(X11BASE)/include" \
--x-libraries="$(X11BASE)/lib" --disable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
1999-02-06 18:22:08 -05:00
USE_GMAKE= yes
LIBVER= 3
PLIST_SUB+= LIBVER="${LIBVER}"
MAKE_ENV+= SOMAJOR="${LIBVER}" SOMINOR="0"
# generate KDE style mtree
MTREE_CMD= ${CAT} ${MTREE_FILE} ${FILESDIR}/kde.dist | /usr/sbin/mtree
MTREE_ARGS= -U -d -e -p
post-install:
.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
.endfor
.include <bsd.port.mk>