aboutsummaryrefslogtreecommitdiffstats
path: root/finance/tryton28/Makefile
blob: 9c4fb39f94940b1987afb8e38f42a61b1d53d738 (plain) (blame)
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
# Created by: Matthias Petermann <matthias@petermann-it.de>
# $FreeBSD$

PORTNAME=   tryton
PORTVERSION=    2.8.2
PORTREVISION=   1
CATEGORIES= finance python
MASTER_SITES=   https://pypi.python.org/packages/source/t/tryton/ \
        http://downloads.tryton.org/2.8/
PKGNAMESUFFIX=  28

MAINTAINER= matthias@petermann-it.de
COMMENT=    Tryton Application Platform (Gtk+ Client)

LICENSE=    GPLv3

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:${PORTSDIR}/devel/py-dateutil \
        ${PYTHON_PKGNAMEPREFIX}pytz>=2012:${PORTSDIR}/devel/py-pytz

CONFLICTS=  tryton-2.[46].*

USES=       desktop-file-utils gettext python:2
USE_PYTHON= distutils autoplist
USE_GNOME=  gtk20 pygtk2

PLIST_FILES=    share/applications/tryton.desktop share/pixmaps/tryton-icon.png

post-install:
    ${INSTALL_DATA} ${WRKSRC}/tryton.desktop ${STAGEDIR}${PREFIX}/share/applications/tryton.desktop
    ${INSTALL_DATA} ${WRKSRC}/share/pixmaps/tryton/tryton-icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/tryton-icon.png

.include <bsd.port.mk>