mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Simplify Makefile: use PY_PATHLIB
This commit is contained in:
parent
9e4e52bf72
commit
ff7a508765
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484954
1 changed files with 3 additions and 7 deletions
|
@ -12,16 +12,12 @@ COMMENT= Fast and tasty cookies handling
|
||||||
|
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${PY_PATHLIB}
|
||||||
|
|
||||||
USES= python
|
USES= python
|
||||||
USE_PYTHON= autoplist concurrent distutils
|
USE_PYTHON= autoplist concurrent distutils
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${PYTHON_REL} < 3400
|
|
||||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib>=0:devel/py-pathlib@${PY_FLAVOR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/biscuits.so
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/biscuits.so
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue