summaryrefslogtreecommitdiffstats
path: root/freebsd/libraries/libkdcraw/Makefile
blob: a22638ff9b753f509a3addbffcb6219a1b1fbb9c (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
# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#

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

PORTNAME=		libkdcraw-trinity
COMMENT=		Trinity RAW picture decoding C++ library
TDE_PREVERSION=		
MASTER_SITE_SUBDIR=	libk/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		graphics devel
DIST_SUBDIR=		TDE/libraries


BUILD_DEPENDS+=	${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/core/tdelibs

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

LIB_DEPENDS+=\
		libjpeg.so:${PORTSDIR}/graphics/jpeg-turbo \
		liblcms2.so:${PORTSDIR}/graphics/lcms2 \

# Build
post-patch: tde-pathfix

do-configure: tde-cmake-prepare
	${TDE_CMAKE_CONFIGURE} \
	-DBUILD_ALL=ON \
	-DWITH_ALL_OPTIONS=ON

do-build: tde-cmake-build

do-install: tde-cmake-install

.include <bsd.port.mk>