mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
5114e2637e
bsd.port.mk rev. 1.304 for details on the change. The fix here is one of the following. (1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining EXTRACT_* commands. (2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously calling the "tar" command (i.e., arguments like "-xzf" are spelled out). (3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS}, add ${EXTRACT_AFTER_ARGS} to the command line as well. (4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS is set, define the other two too.
47 lines
1.4 KiB
Makefile
47 lines
1.4 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.24 1999/01/07 00:52:03 se 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
|
|
|
|
LIB_DEPENDS= gif.3:${PORTSDIR}/graphics/giflib \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_BZIP2= yes
|
|
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>
|