summaryrefslogtreecommitdiffstats
path: root/freebsd/tdelibs/Makefile
blob: d30ec0fa74a56cfe4a253b2e0bfed97922b9bc6b (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# -*-mode: makefile-*-
# Created by: [email protected]
# $FreeBSD$
#

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

PORTNAME=		tdelibs-trinity
COMMENT=		Core libraries and binaries for all TDE applications
TDE_PREVERSION=		
MASTER_SITE_SUBDIR=	t/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		x11
DIST_SUBDIR=		TDE


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

LIB_DEPENDS+=	libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
		libavahi-tqt.so:${PORTSDIR}/x11/trinity/dependencies/avahi-tqt \
		libdbus-1-tqt.so:${PORTSDIR}/x11/trinity/dependencies/dbus-1-tqt \
		libart_lgpl_2.so:${PORTSDIR}/x11/trinity/dependencies/libart-lgpl \

BUILD_DEPENDS+=\
		hspell:${PORTSDIR}/hebrew/hspell \

LIB_DEPENDS+=\
		libbz2.so:${PORTSDIR}/archivers/bzip2 \
		libgamin-1.so:${PORTSDIR}/devel/gamin \
		libmagic.so:${PORTSDIR}/sysutils/file \
		libidn.so:${PORTSDIR}/dns/libidn \
		libjasper.so:${PORTSDIR}/graphics/jasper \
		libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
		libtiff.so:${PORTSDIR}/graphics/tiff \
		libcups.so:${PORTSDIR}/print/cups \
		libfreetype.so:${PORTSDIR}/print/freetype \
		libssl.so:${PORTSDIR}/security/openssl \
		libhal.so:${PORTSDIR}/sysutils/hal \
		libupower-glib.so:${PORTSDIR}/sysutils/upower \
		libaspell.so:${PORTSDIR}/textproc/aspell \
		libxslt.so:${PORTSDIR}/textproc/libxslt \

RUN_DEPENDS:\
		${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \
		iceauth:${PORTSDIR}/x11/iceauth \

# Build
post-patch: tde-pathfix
	cd ${WRKSRC}; \
	gsed -i kate/data/mel.xml \
	        kdoctools/update-entities.sh \
	        tderandr/libtderandr.cc \
	     -e "s|/bin/bash|${LOCALBASE}/bin/bash|g"; \
	gsed -i kdoctools/update-entities.sh \
	     -e "s|find |gfind |g"

do-configure: tde-cmake-prepare
	${TDE_CMAKE_CONFIGURE} \
	-DWITH_GCC_VISIBILITY="ON" \
	\
	-DWITH_ALL_OPTIONS=ON \
	-DWITH_ARTS=ON \
	-DWITH_ALSA=ON \
	-DWITH_SSL=ON \
	-DWITH_CUPS=ON \
	-DWITH_LUA=OFF \
	-DWITH_TIFF=ON \
	-DWITH_JASPER=ON \
	-DWITH_OPENEXR=ON \
	-DWITH_ELFICON=OFF \
	-DWITH_AVAHI=ON \
	-DWITH_PCRE=ON \
	-DWITH_INOTIFY=OFF \
	-DWITH_GAMIN=ON \
	-DWITH_TDEHWLIB=OFF \
	-DWITH_TDEHWLIB_DAEMONS=OFF \
	-DWITH_HAL=ON \
	-DWITH_DEVKITPOWER=OFF \
	-DWITH_LOGINDPOWER=OFF \
	-DWITH_UPOWER=ON \
	-DWITH_UDISKS=OFF \
	-DWITH_UDISKS2=OFF \
	-DWITH_UTEMPTER=OFF \
	-DWITH_CONSOLEKIT=ON \
	-DWITH_NETWORK_MANAGER_BACKEND=OFF \
	-DWITH_SUDO_TDESU_BACKEND=OFF \
	-DWITH_OLD_XDG_STD=OFF \
	-DWITH_LZMA=ON \
	-DWITH_LIBBFD=OFF \
	-DWITH_XRANDR=ON \
	-DWITH_XCOMPOSITE=ON \
	-DWITH_MITSHM=ON \
	\
	-DWITH_ASPELL=ON \
	-DWITH_HSPELL=ON

do-build: tde-cmake-build

do-install: tde-cmake-install

.include <bsd.port.mk>