2014-11-28 10:35:30 +00:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bbfreeze
|
|
|
|
PORTVERSION= 1.1.3
|
2018-02-19 11:10:43 +00:00
|
|
|
PORTREVISION= 1
|
2014-11-28 10:35:30 +00:00
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
|
|
COMMENT= Module to create standalone executables from Python scripts
|
|
|
|
|
|
|
|
LICENSE= ZLIB
|
|
|
|
|
2017-11-30 15:50:30 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}altgraph>=0.9:math/py-altgraph@${FLAVOR} \
|
2016-04-01 14:00:51 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}bbfreeze-loader>=1.1.0:devel/bbfreeze-loader
|
2014-11-28 10:35:30 +00:00
|
|
|
|
2018-02-19 11:10:43 +00:00
|
|
|
USES= python:2.7 zip
|
2014-11-28 10:35:30 +00:00
|
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/altgraph/s,==,>=,' ${WRKSRC}/${PYSETUP}
|
2015-11-19 16:16:46 +00:00
|
|
|
@${REINPLACE_CMD} -e '/from altgraph\.compat import/d' \
|
2014-11-28 10:35:30 +00:00
|
|
|
${WRKSRC}/bbfreeze/modulegraph/modulegraph.py
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|