Skip to content

Commit

Permalink
x11-toolkits/py-tkinter: Strip shared library
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Jul 31, 2023
1 parent aec79a4 commit 0fb123a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x11-toolkits/py-tkinter/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tkinter
DISTVERSION= ${PYTHON_DISTVERSION}
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= x11-toolkits python
MASTER_SITES= PYTHON/ftp/python/${DISTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand Down Expand Up @@ -31,4 +31,7 @@ post-extract:
@${SED} -e "s|%%TK_VER%%|${TK_VER}|" ${FILESDIR}/setup3.py > ${WRKSRC}/setup.py
.endif

post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/lib-dynload/_tkinter.cpython-${PYTHON_SUFFIX}.so

.include <bsd.port.post.mk>

0 comments on commit 0fb123a

Please sign in to comment.