1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11/kdelibs2/Makefile
Will Andrews a0b83061a7 Back in USE_LIBTOOL now that we have libtool 1.3.4 in the ports tree.
This should fix the build for 5.0-CURRENT (as tested on my -current
and -stable machines).

Submitted by:	reg (parts of it)
2000-04-03 00:37:32 +00:00

57 lines
1.6 KiB
Makefile

# New ports collection makefile for: kdelibs
# Version required: 1.1.2
# 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= will@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.3:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
LIBVER= 3
PLIST_SUB+= LIBVER="${LIBVER}"
MAKE_ENV+= SOMAJOR="${LIBVER}" SOMINOR="0"
USE_BZIP2= yes
USE_GMAKE= yes
USE_QT= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS=
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --x-includes="$(X11BASE)/include" \
--x-libraries="$(X11BASE)/lib" --disable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# generate KDE style mtree
MTREE_CMD= ${CAT} ${MTREE_FILE} ${FILESDIR}/kde.dist | /usr/sbin/mtree
MTREE_ARGS= -U -d -e -p
pre-install:
.for applink in Applications Development Games Graphics Internet Multimedia \
Network Settings System Utilities
@${MKDIR} ${PREFIX}/share/applnk/${applink}
.endfor
.for lang in cs da de el es fi fr hu it ja nl pl pt ru sv zh_CN.GB2312
@${MKDIR} ${PREFIX}/share/doc/HTML/${lang}
.endfor
.for mimelnk in application audio image inode text video
@${MKDIR} ${PREFIX}/share/mimelnk/${mimelnk}
.endfor
@${MKDIR} ${PREFIX}/share/icons/large
@${MKDIR} ${PREFIX}/share/icons/mini
@${MKDIR} ${PREFIX}/share/sounds
@${MKDIR} ${PREFIX}/share/wallpapers
.include <bsd.port.mk>