# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#

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

LANG=		lt

PORTNAME=		tde-i18n-trinity
COMMENT=		Messages and documentation for TDE - ${LANG}
TDE_PREVERSION=		
MASTER_SITE_SUBDIR=	t/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		x11 misc
DIST_SUBDIR=		TDE
PKGNAMEPREFIX=		${LANG}-

WRKSRC=		${WRKDIR}/${DISTNAME}/tde-i18n-${LANG}
EXTRACT_AFTER_ARGS+= \
	'${EXTRACT_BASE}admin/' \
	'${EXTRACT_BASE}cmake/' \
	'${EXTRACT_BASE}tde-i18n-${LANG}/' \

BUILD_DEPENDS+=	${TDE_PREFIX}/bin/tde-config:${PORTSDIR}/x11/trinity/tdelibs

# Build
post-patch: tde-pathfix

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

do-build: tde-cmake-build

do-install: tde-cmake-install

.include <bsd.port.mk>