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}
|
2012-08-05 00:52:02 +02:00
|
|
|
PORTREVISION= 11
|
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
|
|
|
|
2011-07-07 19:21:58 +02:00
|
|
|
MAINTAINER= ports@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 \
|
2011-10-31 10:53:19 +01:00
|
|
|
paper.2:${PORTSDIR}/print/libpaper
|
2004-01-01 15:32:34 +01:00
|
|
|
|
2004-08-30 21:55:42 +02:00
|
|
|
CONFLICTS= kolourpaint-[0-9]*
|
|
|
|
|
2012-12-30 13:03:51 +01:00
|
|
|
DEPRECATED= Depends on QT3; unmaintained
|
|
|
|
EXPIRATION_DATE= 2013-07-01
|
|
|
|
|
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
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2011-10-31 10:53:19 +01:00
|
|
|
CONFIGURE_ARGS= --without-poppler
|
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
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
OPTIONS_DEFINE= IMLIB2 GPHOTO2 SANE
|
|
|
|
IMLIB2_DESC= Build Kuickshow, a fast and versatile image viewer
|
|
|
|
GPHOTO2_DESC= Enable support for digital cameras
|
|
|
|
SANE_DESC= Build Kooka, a SANE scanner frontend for KDE
|
2004-03-09 20:41:12 +01:00
|
|
|
|
2003-08-22 15:08:38 +02:00
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MIMLIB}
|
2004-08-11 03:27:37 +02:00
|
|
|
RUN_DEPENDS+= kuickshow:${PORTSDIR}/graphics/kuickshow
|
2012-06-12 23:42:32 +02:00
|
|
|
.else
|
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
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MGPHOTO2}
|
2004-08-11 03:27:37 +02:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/kde3/kcm_kamera.la:${PORTSDIR}/graphics/kamera
|
2012-06-12 23:42:32 +02:00
|
|
|
.else
|
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
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MSANE}
|
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>
|