mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
- Rename devel/py-dialog3 to devel/py-pythondialog to honor PyPI name. Differential Revision: https://reviews.freebsd.org/D21734
34 lines
752 B
Makefile
34 lines
752 B
Makefile
# $FreeBSD$
|
|
|
|
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 <bsd.port.mk>
|