openbsd-ports/productivity/tryton/Makefile.inc
2012-10-28 10:41:10 +00:00

39 lines
1003 B
Makefile

# $OpenBSD: Makefile.inc,v 1.10 2012/10/28 10:41:10 ajacoutot Exp $
MODPY_EGG_VERSION ?= 2.6.0
PKG_ARCH= *
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://downloads2.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