HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: //usr/ports/net/libproxy-python/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} /usr/iports/lib/${PYTHON_VERSION}/compileall.py \
		-f -d ${PYTHONPREFIX_SITELIBDIR} \
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
	${PYTHON_CMD} -O /usr/iports/lib/${PYTHON_VERSION}/compileall.py \
		-f -d ${PYTHONPREFIX_SITELIBDIR} \
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

.include "${MASTERDIR}/Makefile"