freebsd-ports/graphics/kdegraphics3/Makefile
Martin Wilke 2c918e019a The KDE FreeBSD team is proud to announce the release
of KDE 3.5.9 for FreeBSD. The official KDE 3.5.9 release
notes can be found at:
http://www.kde.org/announcements/announce-3.5.9.php

After the KDE 4.1.0 import the team found time to make
KDE 3.5.9 ready for the Ports tree.

KDE 3.5.9 was released six months ago and 3.5.10 is coming
soon. We are not sure we have time to get 3.5.10 for FreeBSD
7.1/6.4 release, but we would have minimum 3.5.9 for those
people who prefer to stay with KDE3.

Of course Thanks to all Testers.
2008-08-18 09:22:07 +00:00

77 lines
2 KiB
Makefile

# -*-mode: makefile-*-
# New ports collection makefile for: KDE3 Graphics
# Date created: Saturday 2 September 2000
# Whom: Will Andrews <will@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kdegraphics
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 0
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Graphics utilities for the KDE3 integrated X11 desktop
BUILD_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
freetype:${PORTSDIR}/print/freetype2 \
fribidi:${PORTSDIR}/converters/fribidi \
glut:${PORTSDIR}/graphics/libglut \
lcms:${PORTSDIR}/graphics/lcms \
paper:${PORTSDIR}/print/libpaper \
poppler-qt:${PORTSDIR}/graphics/poppler-qt
CONFLICTS= kolourpaint-[0-9]*
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
WANT_GNOME= yes
USE_GHOSTSCRIPT=yes
USE_LDCONFIG= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
DO_NOT_COMPILE+=kooka kuickshow libkscan
OPTIONS= IMLIB "Build Kuickshow, a fast and versatile image viewer" off \
GPHOTO2 "Enable support for digital cameras" off \
SANE "Build Kooka, a SANE scanner frontend for KDE" off
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
.if defined(WITH_IMLIB)
RUN_DEPENDS+= kuickshow:${PORTSDIR}/graphics/kuickshow
.elif defined(WITHOUT_IMLIB)
CONFIGURE_ARGS+=--without-imlib-config
.endif
.if defined(WITH_GPHOTO2)
RUN_DEPENDS+= ${LOCALBASE}/lib/kde3/kcm_kamera.la:${PORTSDIR}/graphics/kamera
.elif defined(WITHOUT_GPHOTO2)
CONFIGURE_ARGS+=--without-kamera
.endif
.if defined(WITH_SANE)
RUN_DEPENDS+= kooka:${PORTSDIR}/graphics/kooka
.endif
.if defined(DO_NOT_COMPILE)
CONFIGURE_ENV+=DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
pre-configure:
${REINPLACE_CMD} \
-E -e '/^SUBDIRS/s/(kamera|kooka|kuickshow)//g' \
${WRKSRC}/doc/Makefile.in
.include <bsd.port.post.mk>