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}
|
2005-01-20 08:38:14 +01:00
|
|
|
PORTREVISION= 2
|
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
|
|
|
|
2004-03-09 20:41:12 +01:00
|
|
|
LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2 \
|
|
|
|
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
|
|
|
|
freetype:${PORTSDIR}/print/freetype2 \
|
|
|
|
fribidi:${PORTSDIR}/converters/fribidi \
|
2004-08-11 03:27:37 +02:00
|
|
|
glut:${PORTSDIR}/graphics/libglut \
|
|
|
|
lcms:${PORTSDIR}/graphics/lcms
|
2004-02-09 05:50:35 +01:00
|
|
|
RUN_DEPENDS= pdfinfo:${PORTSDIR}/graphics/xpdf
|
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}
|
|
|
|
|
2001-08-21 13:33:03 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
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
|
2004-12-13 21:12:15 +01:00
|
|
|
_NO_KDE_CLOSURE=yes
|
2002-06-15 18:16:32 +02:00
|
|
|
|
2003-01-28 19:36:58 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
|
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
|
2004-03-28 14:55:41 +02:00
|
|
|
.elseif 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
|
2004-03-28 14:55:41 +02:00
|
|
|
.elseif defined(WITHOUT_GPHOTO2)
|
|
|
|
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>
|