pkgsrc/www/py-trytond-webdav/Makefile

25 lines
826 B
Makefile

# $NetBSD: Makefile,v 1.4 2017/01/04 23:45:29 rodent Exp $
TRYTON_MODULE_NAME= trytond_webdav
.include "../../devel/py-trytond/Makefile.common"
CATEGORIES= python www
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= http://www.tryton.org/
COMMENT= Webdav module of the Tryton application platform
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-pywebdav-[0-9]*:../../www/py-pywebdav
DEPENDS+= ${PYPKGPREFIX}-trytond>=${TRYTON_BASEVER}:../../devel/py-trytond
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36
REPLACE_PYTHON+= tests/test_webdav.py
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/trytond-webdav \
${DESTDIR}${PREFIX}/bin/trytond-webdav${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"