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

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

PORTLANG=		gl

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

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

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>