2003-01-28 19:36:58 +01:00
|
|
|
# -*-mode: makefile-*-
|
2002-06-15 18:16:32 +02:00
|
|
|
# New ports collection makefile for: KDE3 Graphics
|
2000-09-15 23:40:47 +02:00
|
|
|
# Date created: Saturday 2 September 2000
|
|
|
|
# Whom: Will Andrews <will@FreeBSD.org>
|
1998-02-21 16:09:22 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-02-21 16:09:22 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= kdegraphics
|
2002-07-04 21:39:36 +02:00
|
|
|
PORTVERSION= ${KDE_VERSION}
|
2009-12-04 22:25:24 +01:00
|
|
|
PORTREVISION= 5
|
1998-02-21 16:09:22 +01:00
|
|
|
CATEGORIES= graphics kde
|
2000-09-15 23:40:47 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
2004-12-14 19:58:00 +01:00
|
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
|
2001-09-10 22:22:28 +02:00
|
|
|
DIST_SUBDIR= KDE
|
1998-02-21 16:09:22 +01:00
|
|
|
|
2001-08-25 04:17:59 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Graphics utilities for the KDE3 integrated X11 desktop
|
1998-02-21 16:09:22 +01:00
|
|
|
|
2005-03-20 19:17:55 +01:00
|
|
|
BUILD_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX-base
|
2009-04-12 23:10:08 +02:00
|
|
|
LIB_DEPENDS= art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl \
|
|
|
|
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
2009-08-22 19:36:57 +02:00
|
|
|
fribidi.3:${PORTSDIR}/converters/fribidi \
|
2009-04-12 23:10:08 +02:00
|
|
|
lcms.1:${PORTSDIR}/graphics/lcms \
|
|
|
|
paper.2:${PORTSDIR}/print/libpaper \
|
|
|
|
poppler-qt.2:${PORTSDIR}/graphics/poppler-qt
|
2004-01-01 15:32:34 +01:00
|
|
|
|
2004-08-30 21:55:42 +02:00
|
|
|
CONFLICTS= kolourpaint-[0-9]*
|
|
|
|
|
2002-04-22 01:47:50 +02:00
|
|
|
USE_KDELIBS_VER=3
|
2003-01-28 19:36:58 +01:00
|
|
|
PREFIX= ${KDE_PREFIX}
|
|
|
|
|
2009-01-23 17:28:36 +01:00
|
|
|
USE_GL= glut
|
2001-08-21 13:33:03 +02:00
|
|
|
USE_BZIP2= yes
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2001-08-21 13:33:03 +02:00
|
|
|
USE_GMAKE= yes
|
2004-02-04 18:30:41 +01:00
|
|
|
WANT_GNOME= yes
|
2004-06-09 18:58:30 +02:00
|
|
|
USE_GHOSTSCRIPT=yes
|
2009-04-12 23:10:08 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2002-06-15 18:16:32 +02:00
|
|
|
|
2007-01-18 11:22:23 +01:00
|
|
|
USE_LDCONFIG= yes
|
2004-08-11 03:27:37 +02:00
|
|
|
DO_NOT_COMPILE+=kooka kuickshow libkscan
|
2003-01-28 19:36:58 +01:00
|
|
|
|
2004-03-09 20:41:12 +01:00
|
|
|
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
|
|
|
|
|
2003-08-22 15:08:38 +02:00
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-03-09 20:41:12 +01:00
|
|
|
.if defined(WITH_IMLIB)
|
2004-08-11 03:27:37 +02:00
|
|
|
RUN_DEPENDS+= kuickshow:${PORTSDIR}/graphics/kuickshow
|
2005-04-12 20:05:21 +02:00
|
|
|
.elif defined(WITHOUT_IMLIB)
|
2003-01-28 19:36:58 +01:00
|
|
|
CONFIGURE_ARGS+=--without-imlib-config
|
2004-03-09 20:41:12 +01:00
|
|
|
.endif
|
2002-07-14 16:31:49 +02:00
|
|
|
|
2003-01-28 19:36:58 +01:00
|
|
|
.if defined(WITH_GPHOTO2)
|
2004-08-11 03:27:37 +02:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/kde3/kcm_kamera.la:${PORTSDIR}/graphics/kamera
|
2005-04-12 20:05:21 +02:00
|
|
|
.elif defined(WITHOUT_GPHOTO2)
|
2004-03-28 14:55:41 +02:00
|
|
|
CONFIGURE_ARGS+=--without-kamera
|
2004-03-09 20:41:12 +01:00
|
|
|
.endif
|
2001-08-21 13:33:03 +02:00
|
|
|
|
2003-01-28 19:36:58 +01:00
|
|
|
.if defined(WITH_SANE)
|
2004-08-11 03:27:37 +02:00
|
|
|
RUN_DEPENDS+= kooka:${PORTSDIR}/graphics/kooka
|
2004-03-09 20:41:12 +01:00
|
|
|
.endif
|
|
|
|
|
2004-03-28 14:55:41 +02:00
|
|
|
.if defined(DO_NOT_COMPILE)
|
|
|
|
CONFIGURE_ENV+=DO_NOT_COMPILE="${DO_NOT_COMPILE}"
|
|
|
|
.endif # defined(DO_NOT_COMPILE)
|
2001-08-19 02:04:22 +02:00
|
|
|
|
2004-08-11 03:27:37 +02:00
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} \
|
|
|
|
-E -e '/^SUBDIRS/s/(kamera|kooka|kuickshow)//g' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
|
2001-08-21 13:33:03 +02:00
|
|
|
.include <bsd.port.post.mk>
|