mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58: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>
59 lines
1.6 KiB
Makefile
59 lines
1.6 KiB
Makefile
PORTNAME= treeline
|
|
PORTVERSION= 3.1.6
|
|
CATEGORIES= deskutils python
|
|
MASTER_SITES= https://github.com/doug-101/TreeLine/releases/download/v${PORTVERSION}/ \
|
|
SF/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
COMMENT= Structured information storage program
|
|
WWW= https://treeline.bellz.org
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
|
|
|
|
USES= python pyqt:5 shebangfix
|
|
USE_PYQT= pyqt5 sip
|
|
|
|
SHEBANG_FILES= source/treeline.py
|
|
|
|
CONFIGURE_ARGS= -b ${STAGEDIR} -p ${PREFIX} -d ${DOCSDIR} -i ${DATADIR}/icons
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
WRKSRC= ${WRKDIR}/TreeLine
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
SPELL_DESC= Spell check support
|
|
OPTIONS_SINGLE= SPELL
|
|
OPTIONS_SINGLE_SPELL= ASPELL HUNSPELL ISPELL
|
|
OPTIONS_DEFAULT= ASPELL
|
|
OPTIONS_SUB= yes
|
|
|
|
ASPELL_BUILD_DEPENDS= aspell:textproc/aspell
|
|
ASPELL_RUN_DEPENDS= aspell:textproc/aspell
|
|
ASPELL_VARS= SPELL_ENGINE=aspell
|
|
|
|
HUNSPELL_BUILD_DEPENDS= hunspell:textproc/hunspell
|
|
HUNSPELL_RUN_DEPENDS= hunspell:textproc/hunspell
|
|
HUNSPELL_VARS= SPELL_ENGINE=hunspell
|
|
|
|
ISPELL_BUILD_DEPENDS= ispell:textproc/aspell-ispell
|
|
ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell
|
|
ISPELL_VARS= SPELL_ENGINE=ispell
|
|
|
|
NLS_CONFIGURE_OFF= -s
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%SPELL_ENGINE%%|${SPELL_ENGINE}|' \
|
|
${WRKSRC}/install.py \
|
|
${WRKSRC}/source/spellcheck.py
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${PYTHON_CMD} install.py ${CONFIGURE_ARGS})
|
|
(cd ${STAGEDIR}${PREFIX} && \
|
|
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
|
|
-d ${DATADIR} -f ${DATADIR_REL})
|
|
(cd ${STAGEDIR}${DATADIR} && ${RM} *.bak *.orig *.pro *.spec)
|
|
(cd ${STAGEDIR}${DOCSDIR} && ${RM} INSTALL LICENSE)
|
|
|
|
.include <bsd.port.mk>
|