freebsd-ports/devel/py-ua_parser/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

24 lines
664 B
Makefile

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= ua_parser
PORTVERSION= 0.7.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/_/-/}-${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= Python port of Browserscope's user agent parser
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/yaml/__init__.py:devel/py-yaml@${PY_FLAVOR}
RUN_DEPENDS= ${LOCALBASE}/share/ua_parser/regexes.yaml:devel/ua_parser-core \
${PYTHON_SITELIBDIR}/yaml/__init__.py:devel/py-yaml@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
SUB_FILES= pkg-message
.include <bsd.port.mk>