summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/digikam/Makefile
blob: 5d00173203a63f67c3cd3aee8bfa658b439cfb5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#

.include <../../trinity.port.mk>

PORTNAME=		digikam-trinity
COMMENT=		Digital photo management application for Trinity
TDE_PREVERSION=		
MASTER_SITE_SUBDIR=	d/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		graphics x11
DIST_SUBDIR=		TDE/applications


# Use gmake for automake build
USES=		gmake

BUILD_DEPENDS+=	${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs \
		${TDE_PREFIX}/lib/libkdcraw.so:${PORTSDIR}/x11/trinity/libraries/libkdcraw \
		${TDE_PREFIX}/lib/libkexiv2.so:${PORTSDIR}/x11/trinity/libraries/libkexiv2 \
		${TDE_PREFIX}/lib/libkipi.so:${PORTSDIR}/x11/trinity/libraries/libkipi

LIB_DEPENDS+=	libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface

LIB_DEPENDS+=\
		libexiv2.so:${PORTSDIR}/graphics/exiv2 \
		libgphoto2.so:${PORTSDIR}/graphics/libgphoto2 \
		libjasper.so:${PORTSDIR}/graphics/jasper \
		liblcms.so:${PORTSDIR}/graphics/lcms \
		libpng.so:${PORTSDIR}/graphics/png \
		libtiff.so:${PORTSDIR}/graphics/tiff \

USE_SQLITE=		yes

# Build
post-patch: tde-pathfix

do-configure: tde-autotools-prepare
	${TDE_AUTOTOOLS_CONFIGURE}

do-build: tde-autotools-build

do-install: tde-autotools-install

.include <bsd.port.mk>