openbsd-ports/x11/kde/graphics3/Makefile
2003-04-12 15:37:01 +00:00

43 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2003/04/12 15:37:01 espie Exp $
COMMENT= "X11 toolkit, graphic applications"
COMMENT-kamera= "kde interface to digital cameras"
COMMENT-kpov= "modeller for povray"
CATEGORIES= x11 x11/kde
VERSION= 3.1.1a
DISTNAME= kdegraphics-${VERSION}
SEPARATE_BUILD=flavored
MULTI_PACKAGES=-kamera -kpov
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 \
ungif::graphics/libungif \
gphoto2,gphoto2_port::graphics/libgphoto2 \
glut::graphics/glut
.endif
#CONFIGURE_ARGS+=--without-kamera
.include <bsd.port.mk>