mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 00:50:29 -04:00
24 lines
601 B
Makefile
24 lines
601 B
Makefile
# Created by: Koop Mast <kwm@FreeBSD.org>
|
|
|
|
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"
|