39 lines
1.2 KiB
Makefile
39 lines
1.2 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.20 1998/10/01 18:35:32 brian Exp $
|
|
#
|
|
|
|
DISTNAME= kdelibs-1.0
|
|
CATEGORIES= x11 kde
|
|
MASTER_SITES= $(MASTER_SITE_KDE)
|
|
MASTER_SITE_SUBDIR= stable/1.0/distribution/tar/generic/source
|
|
|
|
MAINTAINER= se@freebsd.org
|
|
|
|
LIB_DEPENDS= gif.3:${PORTSDIR}/graphics/giflib \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_QT= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= "--prefix=$(PREFIX)" \
|
|
"--x-inc=$(X11BASE)/include" \
|
|
"--x-lib=$(X11BASE)/lib"
|
|
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)"
|
|
|
|
post-install:
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
|
|
${LN} -sf libjscript.so.0.90 ${PREFIX}/lib/libjscript.so; \
|
|
${LN} -sf libkdecore.so.1.0 ${PREFIX}/lib/libkdecore.so; \
|
|
${LN} -sf libkdeui.so.1.0 ${PREFIX}/lib/libkdeui.so; \
|
|
${LN} -sf libkfile.so.1.0 ${PREFIX}/lib/libkfile.so; \
|
|
${LN} -sf libkfm.so.1.0 ${PREFIX}/lib/libkfm.so; \
|
|
${LN} -sf libkhtmlw.so.1.0 ${PREFIX}/lib/libkhtmlw.so; \
|
|
${LN} -sf libmediatool.so.1.0 ${PREFIX}/lib/libmediatool.so; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|