mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
3d9a815d9c
The logic in USES=python will automatically convert this to 3.8+ by itself. Adjust two ports that only had Python 3.7 mentioned but build fine on Python 3.8 too. finance/quickfix: mark BROKEN with PYTHON libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found ^~~~~~~~~~ 1 warning and 1 error generated. Reviewed by: portmgr, vishwin, yuri Differential Revision: <https://reviews.freebsd.org/D40568>
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
PORTNAME= scli
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.7.1
|
|
CATEGORIES= net-im python
|
|
|
|
MAINTAINER= 0mp@FreeBSD.org
|
|
COMMENT= Simple terminal user interface for the Signal messenger (using signal-cli)
|
|
WWW= https://github.com/isamert/scli
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urwid-readline>=0:devel/py-urwid-readline@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}urwid>=0:devel/py-urwid@${PY_FLAVOR} \
|
|
dbus>=0:devel/dbus \
|
|
signal-cli>=0.8.4.1:net-im/signal-cli
|
|
|
|
USES= python:run shebangfix
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= isamert
|
|
SHEBANG_FILES= ${PORTNAME}
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
share/${PORTNAME}/${PORTNAME} \
|
|
share/${PORTNAME}/VERSION
|
|
|
|
SUB_FILES= scli
|
|
|
|
PORTDOCS= README.md screenshots/1.png screenshots/2.png screenshots/3.png
|
|
|
|
OPTIONS_DEFINE= DOCS LINKING
|
|
OPTIONS_DEFAULT= LINKING
|
|
|
|
LINKING_DESC= Linking support for the --link flag
|
|
LINKING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyqrcode>=0:graphics/py-pyqrcode@${PY_FLAVOR}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's|%%DOCSDIR%%|${DOCSDIR}|g' ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/VERSION ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} screenshots ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|