openbsd-ports/x11/kde/graphics3/Makefile

59 lines
1.7 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.45 2005/02/27 08:20:34 brad Exp $
2002-03-23 12:00:12 -05:00
2004-04-13 00:22:36 -04:00
COMMENT= "K Desktop Environment, graphic applications"
COMMENT-kamera= "KDE interface to digital cameras"
COMMENT-kpov= "KDE modeller for povray"
2002-03-23 12:00:12 -05:00
CATEGORIES= x11 x11/kde
2004-12-12 06:33:23 -05:00
VERSION= 3.3.2
2002-03-23 12:00:12 -05:00
DISTNAME= kdegraphics-${VERSION}
2004-09-18 05:36:42 -04:00
MODKDE_VERSION= 3.3.0
2002-03-23 12:00:12 -05:00
FLAVORS=debug
SEPARATE_BUILD=flavored
MULTI_PACKAGES=-kpov -kamera
PKGNAME=${DISTNAME}p2
2004-12-30 10:55:14 -05:00
FULLPKGNAME-kamera=kamera-${VERSION}p0
FULLPKGNAME-kpov=kpovmodeller-${VERSION}p0
SUBPACKAGE?=
LIB_DEPENDS= \
kdecore.6,DCOP,kdefx,kdeprint,kdesu,kdeui,khtml,kjs,kio,kparts,kutils,kwalletclient::x11/kde/libs3 \
2004-10-18 20:25:23 -04:00
fribidi::devel/fribidi \
t1.5::devel/t1lib
2004-12-30 10:55:14 -05:00
WANTLIB= X11 art_lgpl_2 pthread ICE png util jpeg z SM Xext m
.if defined(PACKAGING)
. if ${SUBPACKAGE} == "-kamera"
LIB_DEPENDS+= gphoto2,gphoto2_port::graphics/libgphoto2
2004-12-30 10:55:14 -05:00
WANTLIB+= iconv exif Xrender intl
. elif ${SUBPACKAGE} == "-kpov"
RUN_DEPENDS+= ::graphics/povray
2004-12-30 10:55:14 -05:00
WANTLIB+= GL stdc++ freetype Xrender Xmu GLU c Xi
. elif ${SUBPACKAGE} == ""
RUN_DEPENDS+= :ghostscript-*:print/ghostscript/gnu
LIB_DEPENDS+= Imlib::graphics/imlib \
ungif::graphics/libungif \
Iex,Half,Imath,IlmImf::graphics/openexr
2004-12-30 10:55:14 -05:00
WANTLIB+= tiff fontconfig lcms Xrender ICE c \
freetype stdc++ pcreposix pcre Xxf86vm SM Xext
. endif
.else
LIB_DEPENDS+=Imlib::graphics/imlib \
2002-03-23 12:12:10 -05:00
ungif::graphics/libungif \
gphoto2,gphoto2_port::graphics/libgphoto2
.endif
2004-10-09 10:50:45 -04:00
BUILD_DEPENDS+= ::print/teTeX/base \
:pkgconfig-*:devel/pkgconfig
2002-03-23 12:00:12 -05:00
CONFIGURE_ENV+= \
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
post-patch:
@cp ${FILESDIR}/part_init.cpp ${WRKSRC}/kghostview
2004-03-21 14:43:47 -05:00
.if ${MACHINE_ARCH} == "sparc64"
2004-04-10 09:00:16 -04:00
SUP_PATCH_LIST= gcc-*
2004-03-21 14:43:47 -05:00
.endif
2002-03-23 12:00:12 -05:00
.include <bsd.port.mk>