mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
8f11472006
This port requireat least s version 1.41 of the Qt library. There will be an error reported by configure, if only an earlier version is found, but no automatic port dependency exists (i.e. the x11-toolkits/qt141 port has to be manually built and installed). There may still be a problem with a missing -lXext in the kdesupport port. This will be taken care of during the next few days, if the problem still exists ...
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# New ports collection makefile for: kdelibs
|
|
# Version required: 1.0
|
|
# Date created: 28 October 1997
|
|
# Whom: Stefan Eßer <se@freebsd.org>
|
|
#
|
|
# $Id: Makefile,v 1.22 1998/11/14 09:43:39 asami Exp $
|
|
#
|
|
|
|
DISTNAME= kdelibs
|
|
PKGNAME= kdelibs-1.1a1
|
|
CATEGORIES= x11 kde
|
|
MASTER_SITES= $(MASTER_SITE_KDE)
|
|
MASTER_SITE_SUBDIR= stable/1.1pre1/distribution/tar/generic/source
|
|
EXTRACT_SUFX= -1.1-alpha1.src.tar.bz2
|
|
|
|
MAINTAINER= se@freebsd.org
|
|
|
|
BUILD_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2
|
|
LIB_DEPENDS= gif.3:${PORTSDIR}/graphics/giflib \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
EXTRACT_CMD= bzip2
|
|
EXTRACT_BEFORE_ARGS= -cd
|
|
EXTRACT_AFTER_ARGS= | tar xf -
|
|
|
|
USE_QT= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= "--prefix=$(PREFIX)" \
|
|
"--x-inc=$(X11BASE)/include" \
|
|
"--x-lib=$(X11BASE)/lib"
|
|
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
${LN} -sf libjscript.so.2.0 ${PREFIX}/lib/libjscript.so
|
|
${LN} -sf libkab.so.2.0 ${PREFIX}/lib/libkab.so
|
|
${LN} -sf libkdecore.so.2.0 ${PREFIX}/lib/libkdecore.so
|
|
${LN} -sf libkdeui.so.2.0 ${PREFIX}/lib/libkdeui.so
|
|
${LN} -sf libkfile.so.2.0 ${PREFIX}/lib/libkfile.so
|
|
${LN} -sf libkfm.so.2.0 ${PREFIX}/lib/libkfm.so
|
|
${LN} -sf libkhtmlw.so.2.0 ${PREFIX}/lib/libkhtmlw.so
|
|
${LN} -sf libkimgio.so.2.0 ${PREFIX}/lib/libkimgio.so
|
|
${LN} -sf libkspell.so.2.0 ${PREFIX}/lib/libkspell.so
|
|
${LN} -sf libmediatool.so.2.0 ${PREFIX}/lib/libmediatool.so
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|