summaryrefslogtreecommitdiffstats
path: root/freebsd/tdeartwork/Makefile
blob: a054b1610108de5944f9601da5f7daaec936692a (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
# -*-mode: makefile-*-
# Created by: [email protected]
# $FreeBSD$
#

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

PORTNAME=		tdeartwork-trinity
COMMENT=		Trinity themes, styles and more
TDE_PREVERSION=		
MASTER_SITE_SUBDIR=	t/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		x11-themes
DIST_SUBDIR=		TDE


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

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

BUILD_DEPENDS+=\
		xscreensaver:${PORTSDIR}/x11/xscreensaver \

LIB_DEPENDS+=\
		libGL.so:${PORTSDIR}/graphics/mesa-libs \
		libGLU.so:${PORTSDIR}/graphics/libGLU \
		libXss.so:${PORTSDIR}/x11/libXScrnSaver \

# Build
post-patch: tde-pathfix
	cd ${WRKSRC}; \
	gsed -i tdescreensaver/krootbacking/xscreensaver-getimage \
	        tdescreensaver/krootbacking/xscreensaver-getimage-file \
	     -e "s|/bin/bash|${LOCALBASE}/bin/bash|g"; \

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

do-build: tde-cmake-build

do-install: tde-cmake-install

.include <bsd.port.mk>