# Created by: Matthias Petermann <matthias@petermann-it.de>
# $FreeBSD: finance/trytond28_account/Makefile 334432 2013-11-20 17:20:57Z bsam $

PORTNAME=	trytond28_account
PORTVERSION=	2.8.1
CATEGORIES=	finance python
MASTER_SITES=	https://pypi.python.org/packages/source/t/trytond_account/ \
		http://downloads.tryton.org/${PORTVERSION:R}/
DISTNAME=	trytond_account-${PORTVERSION}

MAINTAINER=	matthias@petermann-it.de
COMMENT=	Tryton Application Platform (Account Module)

LICENSE=	GPLv3

RUN_DEPENDS=	trytond28>=2.8.2:${PORTSDIR}/finance/trytond28 \
		trytond28_company>=2.8.0:${PORTSDIR}/finance/trytond28_company \
		${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:${PORTSDIR}/devel/py-dateutil

CONFLICTS=	trytond_account-2.[46].*

USE_PYTHON=	yes
USE_PYDISTUTILS=easy_install
PYEASYINSTALL_EGG=${DISTNAME}-py${PYTHON_VER}${PYEASYINSTALL_OSARCH}.egg

.include <bsd.port.mk>
