aboutsummaryrefslogtreecommitdiff
path: root/finance/tinyerp-server/Makefile
blob: 330a499002d5c7c6ce089552a7b3088c5fb6ad7d (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:	tinyerp
# Date created:		22 February 2006
# Whom:			Jordi Haarman
#
# $FreeBSD$
#

PORTNAME=	tinyerp-server
PORTVERSION=	3.2.1
PORTREVISION=	2
CATEGORIES=	finance
MASTER_SITES=	${MASTER_SITE_LOCAL}			\
		http://tinyerp.org/download/sources/
MASTER_SITE_SUBDIR=	thierry
DISTNAME=	${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	jhaarman-keyword-tinyerpPort.fd583c@projects.synantics.net
COMMENT=	Open source application ERP & CRM in Python using Postgresql

BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \
		${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
		${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt \
		${PYTHON_SITELIBDIR}/mx/__init__.py:${PORTSDIR}/lang/py-mx-base \
		${PYTHON_SITELIBDIR}/pyparsing.py:${PORTSDIR}/devel/py-parsing \
		${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg \
		${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab
RUN_DEPENDS=	${BUILD_DEPENDS}

WRKSRC=		${WRKDIR}/server

USE_PYTHON=	2.4+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGVERSION=	3.2.0

MAN1=		tinyerp-server.1

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/* ${DOCSDIR}
	${MKDIR} ${DOCSDIR}/i18n
	${INSTALL_MAN} ${WRKSRC}/i18n/* ${DOCSDIR}/i18n
.endif

.include <bsd.port.mk>