2003-12-07 15:19:13 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2003/12/07 20:19:14 espie Exp $
|
2002-03-23 12:00:12 -05:00
|
|
|
|
|
|
|
COMMENT= "X11 toolkit, graphic applications"
|
2003-04-09 20:00:23 -04:00
|
|
|
COMMENT-kamera= "kde interface to digital cameras"
|
|
|
|
COMMENT-kpov= "modeller for povray"
|
2002-03-23 12:00:12 -05:00
|
|
|
CATEGORIES= x11 x11/kde
|
2003-12-07 15:19:13 -05:00
|
|
|
VERSION= 3.1.4
|
2002-03-23 12:00:12 -05:00
|
|
|
DISTNAME= kdegraphics-${VERSION}
|
|
|
|
|
2003-04-09 20:00:23 -04:00
|
|
|
SEPARATE_BUILD=flavored
|
2003-06-12 15:16:15 -04:00
|
|
|
MULTI_PACKAGES=-kpov -kamera
|
2003-04-09 20:00:23 -04:00
|
|
|
FULLPKGNAME-kamera=kamera-${VERSION}
|
|
|
|
FULLPKGNAME-kpov=kpovmodeller-${VERSION}
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
LIB_DEPENDS= \
|
|
|
|
kdecore.4,DCOP,kdefx,kdeprint,kdesu,kdeui,kio,kparts::x11/kde/libs3
|
|
|
|
|
|
|
|
.if defined(PACKAGING)
|
|
|
|
. if ${SUBPACKAGE} == "-kamera"
|
|
|
|
LIB_DEPENDS+= gphoto2,gphoto2_port::graphics/libgphoto2
|
|
|
|
. elif ${SUBPACKAGE} == "-kpov"
|
|
|
|
LIB_DEPENDS+= glut::graphics/glut
|
|
|
|
RUN_DEPENDS+= ::graphics/povray
|
|
|
|
. elif ${SUBPACKAGE} == ""
|
|
|
|
RUN_DEPENDS+= :ghostscript-*:print/ghostscript/gnu
|
|
|
|
LIB_DEPENDS+= Imlib::graphics/imlib \
|
|
|
|
ungif::graphics/libungif \
|
|
|
|
glut::graphics/glut
|
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+=Imlib::graphics/imlib \
|
2002-03-23 12:12:10 -05:00
|
|
|
ungif::graphics/libungif \
|
2003-08-28 01:13:30 -04:00
|
|
|
glut::graphics/glut \
|
|
|
|
gphoto2,gphoto2_port::graphics/libgphoto2
|
2003-04-09 20:00:23 -04:00
|
|
|
.endif
|
2002-03-23 12:00:12 -05:00
|
|
|
|
2002-09-28 22:10:55 -04:00
|
|
|
|
2002-05-28 13:18:45 -04:00
|
|
|
|
2003-04-09 20:00:23 -04:00
|
|
|
#CONFIGURE_ARGS+=--without-kamera
|
2003-04-05 09:53:38 -05:00
|
|
|
|
2002-03-23 12:00:12 -05:00
|
|
|
.include <bsd.port.mk>
|