mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
19a6a6739c
the previous version. Submitted by: Will Andrews <andrews@TECHNOLOGIST.COM>
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# New ports collection makefile for: kdelibs
|
|
# Version required: 1.0
|
|
# Date created: 28 October 1997
|
|
# Whom: Stefan Eßer <se@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= kdelibs-1.1.2
|
|
PKGNAME= kdelibs-1.1.2.1
|
|
CATEGORIES= x11 kde
|
|
MASTER_SITES= $(MASTER_SITE_KDE)
|
|
MASTER_SITE_SUBDIR= stable/1.1.2/distribution/tar/generic/source/bz2
|
|
|
|
MAINTAINER= se@freebsd.org
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
png.3:${PORTSDIR}/graphics/png \
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
|
|
|
USE_BZIP2= yes
|
|
USE_QT= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= "--prefix=$(PREFIX)" \
|
|
"--with-extra-includes=${PREFIX}/include" \
|
|
"--x-inc=$(X11BASE)/include" \
|
|
"--x-lib=$(X11BASE)/lib" \
|
|
--enable-shared
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
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:
|
|
.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>
|