37 lines
987 B
Makefile
37 lines
987 B
Makefile
# $OpenBSD: Makefile.inc,v 1.8 2012/05/02 06:56:27 ajacoutot Exp $
|
|
|
|
MODPY_EGG_VERSION ?= 2.4.1
|
|
|
|
CATEGORIES += productivity
|
|
|
|
HOMEPAGE= http://www.tryton.org/
|
|
|
|
MAINTAINER ?= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
DIST_SUBDIR= tryton
|
|
MASTER_SITES= http://downloads.tryton.org/${MODPY_EGG_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
|
|
|
|
MODULES += lang/python
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
REGRESS_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.
|
|
REGRESS_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
|