freebsd-ports/net/libproxy-python/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

25 lines
613 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 0
CATEGORIES= net lang
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= -${LIBPROXY_SLAVE}
COMMENT= Python binding for libproxy
USES= python:3.6+
USE_PYTHON= flavors py3kplist
LIBPROXY_SLAVE= python
MASTERDIR= ${.CURDIR}/../libproxy
post-install:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-f -d ${PYTHONPREFIX_SITELIBDIR} \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-f -d ${PYTHONPREFIX_SITELIBDIR} \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
.include "${MASTERDIR}/Makefile"