# $FreeBSD: head/devel/py-pythondialog/Makefile 527139 2020-02-25 21:43:54Z jkim $ PORTNAME= pythondialog PORTVERSION= 3.5.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jkim@FreeBSD.org COMMENT= Python interface to dialog(3) LICENSE= LGPL21+ RUN_DEPENDS= cdialog:devel/cdialog USES= python:3.5+ 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