openbsd-ports/productivity/tryton/Makefile.inc
2013-03-11 12:27:53 +00:00

36 lines
915 B
Makefile

# $OpenBSD: Makefile.inc,v 1.13 2013/03/11 12:27:54 sthen Exp $
MODPY_EGG_VERSION ?= 2.6.3
PKG_ARCH= *
CATEGORIES += productivity
HOMEPAGE= http://www.tryton.org/
MAINTAINER ?= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
DIST_SUBDIR= tryton
MASTER_SITES= http://downloads2.tryton.org/${MODPY_EGG_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
MODULES += lang/python
MODPY_SETUPTOOLS= Yes
TEST_DEPENDS ?= ${RUN_DEPENDS}
# needs py-dateutil>=2 (downloaded automatically)
# Some regression tests need read access to /etc/trytond.conf (not
# available for unprivilege users) and a trytond server running.
TEST_IS_INTERACTIVE= Yes
.if defined(TRYTOND_MODULE)
COMMENT ?= trytond ${TRYTOND_MODULE} module
DISTNAME ?= trytond_${TRYTOND_MODULE}-${MODPY_EGG_VERSION}
PKGNAME ?= trytond-module-${TRYTOND_MODULE}-${MODPY_EGG_VERSION}
RUN_DEPENDS += productivity/tryton/trytond
.endif