summaryrefslogtreecommitdiffstats
path: root/freebsd/tdegraphics/Makefile
blob: 2c035fb8944a226343bf2bdd6e80e4c5e75b3cfe (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
48
49
50
51
52
53
# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#

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

PORTNAME=		tdegraphics-trinity
COMMENT=		Trinity graphics apps
TDE_PREVERSION=		~pre2+417b842f
MASTER_SITE_SUBDIR=	t/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		x11 graphics
DIST_SUBDIR=		TDE


BUILD_DEPENDS+=	${TDE_PREFIX}/lib/libartsc.so:${PORTSDIR}/x11/trinity/dependencies/arts \
		${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs \

LIB_DEPENDS+=	libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
		libart_lgpl_2.so:${PORTSDIR}/x11/trinity/dependencies/libart-lgpl \
		libImlib.so:${PORTSDIR}/x11/trinity/dependencies/imlib \

LIB_DEPENDS+=\
		libexif.so:${PORTSDIR}/graphics/libexif \
		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
		libfreetype.so:${PORTSDIR}/print/freetype2 \
		libfribidi.so:${PORTSDIR}/converters/fribidi \
		libglut.so:${PORTSDIR}/graphics/freeglut \
		libgphoto2.so:${PORTSDIR}/graphics/libgphoto2 \
		libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
		liblcms2.so:${PORTSDIR}/graphics/lcms2 \
		libpaper.so:${PORTSDIR}/print/libpaper \
		libpoppler.so:${PORTSDIR}/graphics/poppler \
		libsane.so:${PORTSDIR}/graphics/sane-backends \
		libtiff.so:${PORTSDIR}/graphics/tiff \

# Build
post-patch: tde-pathfix

do-configure: tde-cmake-prepare
	${TDE_CMAKE_CONFIGURE} \
	\
	-DBUILD_ALL="ON" \
	-DWITH_TIFF="ON" \
	-DWITH_OPENEXR="ON" \
	-DWITH_PDF="ON"

do-build: tde-cmake-build

do-install: tde-cmake-install

.include <bsd.port.mk>