1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/kdelibs3/Makefile

55 lines
1.4 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-31 02:51:23 +00:00
# $FreeBSD$
#
1999-09-18 09:02:12 +00:00
DISTNAME= kdelibs-1.1.2
PKGNAME= kdelibs-1.1.2.1
CATEGORIES= x11 kde
1998-03-06 19:52:23 +00:00
MASTER_SITES= $(MASTER_SITE_KDE)
1999-09-18 09:02:12 +00: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 23:22:08 +00:00
png.3:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
USE_LIBTOOL= yes
1999-02-28 21:48:09 +00:00
USE_BZIP2= yes
USE_QT= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-extra-includes=${PREFIX}/include" \
1998-02-15 22:18:32 +00:00
"--x-inc=$(X11BASE)/include" \
"--x-lib=$(X11BASE)/lib" \
--enable-shared
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
1999-02-06 23:22:08 +00:00
USE_GMAKE= yes
.include <bsd.port.pre.mk>
LIBMAJOR= 3
LIBMINOR= 0
.if ${PORTOBJFORMAT} == "aout"
LIBVER= ${LIBMAJOR}.${LIBMINOR}
.else
LIBVER= ${LIBMAJOR}
.endif
PLIST_SUB= LIBVER=${LIBVER}
MAKE_ENV= SOMAJOR=${LIBMAJOR} SOMINOR=${LIBMINOR}
post-install:
@${TOUCH} ${PREFIX}/lib/libkdecore.la
.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
.if ${PORTOBJFORMAT} == "aout"
@${RM} -f ${PREFIX}/lib/lib${LIB}.so.${LIBMAJOR}
.endif
.endfor
.include <bsd.port.post.mk>