lang/python3: Add python3-embed.pc

- Remove -f from LN
- Cosmetic change
- Bump PORTREVISION for package change

PR:		257362
This commit is contained in:
Po-Chuan Hsieh 2024-06-19 03:53:34 +08:00
parent 6e83a38bc9
commit ee63b76b5c
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -1,6 +1,6 @@
PORTNAME= python3 PORTNAME= python3
PORTVERSION= 3 PORTVERSION= 3
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= lang python CATEGORIES= lang python
MASTER_SITES= # empty MASTER_SITES= # empty
DISTFILES= # empty DISTFILES= # empty
@ -20,16 +20,15 @@ PLIST_FILES= bin/2to3-3 \
bin/pydoc3 \ bin/pydoc3 \
bin/python3 \ bin/python3 \
bin/python3-config \ bin/python3-config \
libdata/pkgconfig/python3-embed.pc \
libdata/pkgconfig/python3.pc libdata/pkgconfig/python3.pc
do-install: do-install:
.for file in 2to3- idle pydoc python .for file in 2to3- idle pydoc python
${LN} -sf ${file}${PYTHON_VER} \ ${LN} -s ${file}${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/${file}3
${STAGEDIR}${PREFIX}/bin/${file}3
.endfor .endfor
${LN} -sf python${PYTHON_VER}-config \ ${LN} -s python${PYTHON_VER}-config ${STAGEDIR}${PREFIX}/bin/python3-config
${STAGEDIR}${PREFIX}/bin/python3-config ${LN} -s python-${PYTHON_VER}.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/python3.pc
${LN} -sf python-${PYTHON_VER}.pc \ ${LN} -s python-${PYTHON_VER}-embed.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/python3-embed.pc
${STAGEDIR}${PREFIX}/libdata/pkgconfig/python3.pc
.include <bsd.port.mk> .include <bsd.port.mk>