ports/devel/py-pythondialog/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

34 lines
787 B
Makefile

PORTNAME= pythondialog
PORTVERSION= 3.5.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jkim@FreeBSD.org
COMMENT= Python interface to dialog(3)
WWW= http://pythondialog.sourceforge.net/
LICENSE= LGPL21+
RUN_DEPENDS= cdialog:devel/cdialog
USES= python
USE_PYTHON= autoplist concurrent distutils
PORTEXAMPLES= *
REINPLACE_ARGS= -i ""
OPTIONS_DEFINE= EXAMPLES
post-patch:
# devel/cdialog installs dialog as cdialog not to conflict
# with dialog(1).
${FIND} ${WRKSRC} -type f | \
${XARGS} ${REINPLACE_CMD} -e 's|dialog="dialog"|dialog="cdialog"|g'
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>