Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= pyinstaller |
4 |
PORTNAME= pyinstaller |
5 |
PORTVERSION= 2.1 |
5 |
PORTVERSION= 3.3.1 |
6 |
PORTREVISION= 3 |
|
|
7 |
CATEGORIES= devel python |
6 |
CATEGORIES= devel python |
8 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 14-26
Link Here
|
14 |
|
13 |
|
15 |
LICENSE= GPLv2 |
14 |
LICENSE= GPLv2 |
16 |
|
15 |
|
17 |
BROKEN_mips64= Does not compile: cc1: error: unrecognized command line option "-m64 |
16 |
BROKEN_mips64= Does not compile: cc1: error: unrecognized command line option "-m64 |
18 |
|
17 |
|
19 |
OPTIONS_DEFINE= DOCS |
18 |
OPTIONS_DEFINE= DOCS |
20 |
|
19 |
|
21 |
EXTRACT_AFTER_ARGS= --exclude doc/source --no-same-owner --no-same-permissions |
20 |
EXTRACT_AFTER_ARGS= --exclude doc/source --no-same-owner --no-same-permissions |
22 |
USES= python:2.7 |
21 |
USES= python |
23 |
USE_PYTHON= autoplist distutils |
22 |
USE_PYTHON= autoplist distutils |
|
|
23 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dis3>0:devel/py-dis3@${PY_FLAVOR} |
24 |
|
24 |
|
25 |
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} |
25 |
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} |
26 |
PORTDOCS= * |
26 |
PORTDOCS= * |
Lines 29-43
Link Here
|
29 |
@${REINPLACE_CMD} -e '/install_requires/s,distribute,setuptools,' \ |
29 |
@${REINPLACE_CMD} -e '/install_requires/s,distribute,setuptools,' \ |
30 |
${WRKSRC}/${PYSETUP} |
30 |
${WRKSRC}/${PYSETUP} |
31 |
@${REINPLACE_CMD} -e '/\/sbin\/ldconfig/s,-p,-r,' \ |
31 |
@${REINPLACE_CMD} -e '/\/sbin\/ldconfig/s,-p,-r,' \ |
32 |
${WRKSRC}/PyInstaller/bindepend.py \ |
|
|
33 |
${WRKSRC}/PyInstaller/depend/utils.py |
32 |
${WRKSRC}/PyInstaller/depend/utils.py |
34 |
@${REINPLACE_CMD} -e '/libpython/s,\.so\.1\.0,.so.1,' \ |
33 |
|
35 |
${WRKSRC}/PyInstaller/bindepend.py |
|
|
36 |
@${REINPLACE_CMD} -e '/defined(__x86_64__)/s,$$, || defined(__aarch64__) || defined(__powerpc64__) || defined(__sparc64__),' \ |
37 |
${WRKSRC}/bootloader/common/stb.h |
38 |
|
39 |
pre-build: |
34 |
pre-build: |
40 |
cd ${WRKSRC}/bootloader && ${PYTHON_CMD} waf configure build install |
35 |
cd ${WRKSRC}/bootloader && \ |
|
|
36 |
${PYTHON_CMD} waf all |
41 |
|
37 |
|
42 |
post-install-DOCS-on: |
38 |
post-install-DOCS-on: |
43 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
39 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |