2008-12-11 10:57:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2008/12/11 15:57:16 martynas Exp $
|
2008-07-19 07:58:57 -04:00
|
|
|
|
|
|
|
COMMENT = digital image kde application
|
|
|
|
CATEGORIES = graphics x11 x11/kde
|
|
|
|
V = 0.9.4
|
|
|
|
DISTNAME = digikam-$V
|
2008-12-11 10:57:16 -05:00
|
|
|
PKGNAME = ${DISTNAME}p0
|
2008-07-19 07:58:57 -04:00
|
|
|
SHARED_LIBS += digikam 3.0 # .0.0
|
|
|
|
HOMEPAGE = http://www.digikam.org/
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=digikam/}
|
|
|
|
DISTFILES = ${DISTNAME}.tar.bz2
|
|
|
|
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
|
|
|
|
RUN_DEPENDS = :desktop-file-utils-*:devel/desktop-file-utils
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.33::x11/qt3 \
|
2007-03-15 04:07:39 -04:00
|
|
|
kdecore.>=6,kwalletclient,DCOP,kparts,kdeui,kdesu,kio,kdefx,kdeprint,kutils,kabc,vcard,kresources,khtml,kjs::x11/kde/libs3 \
|
2005-04-09 17:51:14 -04:00
|
|
|
gphoto2,gphoto2_port::graphics/libgphoto2 \
|
|
|
|
kipi::graphics/libkipi \
|
2006-12-18 19:00:03 -05:00
|
|
|
tiff::graphics/tiff \
|
2007-06-28 11:10:34 -04:00
|
|
|
kexiv2.>=1.0:libkexiv2->=0.1.5:graphics/libkexiv2 \
|
|
|
|
kdcraw::graphics/libkdcraw \
|
2006-12-18 19:00:03 -05:00
|
|
|
lcms::graphics/lcms
|
2005-04-09 17:51:14 -04:00
|
|
|
|
2008-07-19 07:58:57 -04:00
|
|
|
WANTLIB = util m c ICE Xrender SM pthread z stdc++ \
|
2007-03-15 04:07:39 -04:00
|
|
|
Xext X11 jpeg png art_lgpl_2 exif intl iconv idn \
|
2007-11-13 12:10:25 -05:00
|
|
|
exiv2 jasper pcre pcreposix Xau Xdmcp fam rpcsvc ltdl
|
2005-04-09 17:51:14 -04:00
|
|
|
|
2008-07-19 07:58:57 -04:00
|
|
|
MODULES = x11/kde
|
2005-04-09 17:51:14 -04:00
|
|
|
|
2008-07-19 07:58:57 -04:00
|
|
|
MODKDE_VERSION = 3.5.8
|
|
|
|
CONFIGURE_STYLE = autoconf
|
|
|
|
AUTOCONF_VERSION = 2.61
|
|
|
|
CONFIGURE_ARGS += ${MODKDE_CONFIGURE_ARGS}
|
2005-04-09 17:51:14 -04:00
|
|
|
|
2008-07-24 13:23:32 -04:00
|
|
|
CONFIGURE_ARGS += --without-included-sqlite3
|
|
|
|
LIB_DEPENDS += sqlite3:sqlite3->=3.5.9:databases/sqlite3
|
2005-04-09 17:51:14 -04:00
|
|
|
|
2008-07-19 07:58:57 -04:00
|
|
|
USE_GMAKE ?= Yes
|
|
|
|
CONFIGURE_ENV += ${MODKDE_CONFIGURE_ENV}
|
|
|
|
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
MAKE_ENV = ${CONFIGURE_ENV}
|
|
|
|
SUBST_VARS += V
|
|
|
|
|
|
|
|
MAKE_FLAGS += ${MODKDE_MAKE_FLAGS} LIBKEXIF_LIBS='-L${PREFIX}/lib -lkexif -lintl -liconv'
|
|
|
|
MAKE_FLAGS += LIBRESOLV=
|
|
|
|
|
2005-04-09 17:51:14 -04:00
|
|
|
# GPL
|
2008-07-19 07:58:57 -04:00
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
2005-04-09 17:51:14 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|