# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#
# TDE port map: applications/themes/tdmtheme

PORTSDIR?=/usr/ports
.include <${PORTSDIR}/Mk/bsd.trinity.mk>

PORTNAME=		tdmtheme-trinity
COMMENT=		Theme manager for TDM [Trinity]
TDE_PREVERSION=		
MASTER_SITE_SUBDIR=	t/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		x11-themes
DIST_SUBDIR=		TDE/applications/themes


BUILD_DEPENDS+=	${TDE_PREFIX}/lib/libtdecore.so:x11/tdelibs-trinity \
		${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \

LIB_DEPENDS+=	libtqt.so:x11-toolkits/libtqtinterface


# 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>