e79fe1aabc
Many of the WWW are overwritten later which means the wrong value is used. This did not happen before where the children were either a) just using the pkg-descr from the parents b) or had their own separate pkg-descr with custom WWW Use WWW?= in parents when the child's WWW is different. Children that use the same WWW as the parent can just inherit it, i.e., the child WWW can be removed. Approved by: portmgr (implicit)
22 lines
558 B
Makefile
22 lines
558 B
Makefile
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"
|