24 lines
644 B
Makefile
24 lines
644 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
|
|
RUN_DEPENDS= ${LOCALBASE}/share/ua_parser/regexes.yaml:devel/ua_parser-core \
|
|
${PYTHON_SITELIBDIR}/yaml/__init__.py:devel/py-yaml
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
SUB_FILES= pkg-message
|
|
|
|
.include <bsd.port.mk>
|