openbsd-ports/x11/kde/graphics3/Makefile
jasper 5c6aa941f8 - ${LOCALBASE}/lib/pkgconfig and ${X11BASE}/lib/pkgconfig are default search
directories for pkg-config(1) nowadays. so remove these quirks.
2010-11-07 19:50:10 +00:00

98 lines
3.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.94 2010/11/07 19:50:10 jasper Exp $
COMMENT-main = K Desktop Environment, graphic applications
COMMENT-kamera = KDE interface to digital cameras
COMMENT-kpov = KDE modeller for povray
COMMENT-sane = KDE interface to scanners
CATEGORIES = x11 x11/kde
VERSION = 3.5.10
DISTNAME = kdegraphics-${VERSION}
MODKDE_VERSION = 3.5.8
FLAVORS = debug
SEPARATE_BUILD = flavored
MULTI_PACKAGES = -main -kpov -kamera -sane
PKGNAME-main = ${DISTNAME}
PKGNAME-kamera = kamera-${VERSION}
PKGNAME-kpov = kpovmodeller-${VERSION}
PKGNAME-sane = ksane-${VERSION}
SHARED_LIBS += kghostviewlib 1.0 # .0.0
SHARED_LIBS += kpovmodeler 1.0 # .0.0
SHARED_LIBS += text2path 1.0 # .0.0
SHARED_LIBS += ksvg 1.0 # .0.1
SHARED_LIBS += kimageviewer 1.0 # .0.0
SHARED_LIBS += kmultipage 1.0 # .0.0
SHARED_LIBS += kscan 2.0 # .1.0
MODULES = x11/kde devel/gettext
BUILD_DEPENDS = ::print/texlive/base
WANTLIB = ICE SM X11 Xau Xdmcp Xext art_lgpl_2 fam idn jpeg lib/kde3/DCOP \
lib/kde3/kdecore.>=6 lib/kde3/kdefx lib/kde3/kdesu lib/kde3/kdeui \
lib/kde3/kio m png pthread-stubs qt-mt stdc++ util xcb z
LIB_DEPENDS = ${MODGETTEXT_LIB_DEPENDS} \
::x11/kde/libs3
RUN_DEPENDS-main = ${RUN_DEPENDS} \
:ghostscript-*:print/ghostscript/gnu \
:desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS-main = ${LIB_DEPENDS} \
::graphics/imlib \
::graphics/libungif \
::devel/fribidi \
::print/libpaper \
::print/poppler \
::print/poppler,-qt
LIB_DEPENDS-kpov = ${LIB_DEPENDS}
RUN_DEPENDS-kpov = ::graphics/povray \
:desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS-kamera = ${LIB_DEPENDS} \
::graphics/libgphoto2
RUN_DEPENDS-sane = :desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS-sane = ${LIB_DEPENDS} \
::graphics/sane-backends
WANTLIB-main = ${WANTLIB}
WANTLIB-kpov = ${WANTLIB}
WANTLIB-kamera = ${WANTLIB}
WANTLIB-sane = ${WANTLIB-kamera}
REVISION-main = 8
REVISION-kamera = 4
REVISION-kpov = 4
REVISION-sane = 6
WANTLIB-main += GL Half ICE Iex IlmImf IlmThread Imath Imlib SM \
Xcursor Xdamage Xext Xfixes Xft Xi Xinerama Xmu Xrandr Xrender Xt \
Xxf86vm c drm expat fontconfig freetype fribidi lcms lib/kde3/kdeprint \
lib/kde3/khtml lib/kde3/kjs lib/kde3/kparts lib/kde3/kutils \
lib/kde3/kwalletclient mng openjpeg paper pcre pcreposix poppler \
poppler-qt pthread tiff ungif xml2
WANTLIB-kpov += GL GLU Xdamage Xfixes Xi Xmu Xrender Xt Xxf86vm c \
drm freetype lib/kde3/kparts lib/kde3/kwalletclient pthread
WANTLIB-kamera += Xrender exif gphoto2 gphoto2_port \
lib/kde3/kwalletclient ltdl
WANTLIB-sane += avahi-client avahi-common c dbus-1 \
lib/kde3/kabc lib/kde3/kdeprint lib/kde3/kparts lib/kde3/kresources \
lib/kde3/kspell lib/kde3/ktexteditor lib/kde3/vcard ltdl pthread sane \
tiff usb
post-patch:
@cp ${FILESDIR}/part_init.cpp ${WRKSRC}/kghostview
CONFIGURE_ENV += TIFF_LIBS='-L${LOCALBASE}/lib -ltiff -ljpeg -lz' \
TIFF_CFLAGS='-I${LOCALBASE}/include'
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/HTML/en/common
@${post_install_libs}
.include <bsd.port.mk>