ee300d31a9
spotted by Cedric Krier.
37 lines
991 B
Makefile
37 lines
991 B
Makefile
# $OpenBSD: Makefile.inc,v 1.5 2011/06/20 16:04:12 ajacoutot Exp $
|
|
|
|
MODPY_EGG_VERSION ?= 2.0.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}
|
|
|
|
# XXX 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
|