freebsd-ports/www/py-ddgr/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

34 lines
705 B
Makefile

# $FreeBSD$
PORTNAME= ddgr
DISTVERSIONPREFIX= v
DISTVERSION= 1.4
CATEGORIES= www
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jsmith@resonatingmedia.com
COMMENT= Command line tool for performing DuckDuckGo web searches
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.4.3:www/py-requests@${PY_FLAVOR}
USES= python:3.3+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= jarun
USE_PYTHON= concurrent flavors
NO_BUILD= yes
NO_ARCH= yes
SHEBANG_FILES= ${PORTNAME}
python_OLD_CMD= "/usr/bin/env python3" # see bug#223980
MAKE_ARGS= DOCDIR=${DOCSDIR}
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/ddgr \
man/man1/ddgr.1.gz
PORTDOCS= README.md
.include <bsd.port.mk>