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>
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
PORTNAME= conkyforecast
|
|
PORTVERSION= 2.24
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= https://launchpad.net/~conky-companions/+archive/ppa/+files/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Weather forecast script for conky
|
|
WWW= https://code.launchpad.net/~m-buck/+junk/conkyforecast
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= conky:sysutils/conky \
|
|
pidof:sysutils/pidof
|
|
|
|
USES= gettext python fonts
|
|
USE_PYTHON= distutils concurrent optsuffix
|
|
|
|
NO_ARCH= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/${PORTNAME},${DATADIR},g' \
|
|
setup.py \
|
|
test/conkyForecast.test.conkyrc \
|
|
test/conkyForecast.test.sh \
|
|
example/conkyForecast.fontbased.sh \
|
|
example/conkyForecast.fontbasedtemplate.conkyrc \
|
|
example/conkyForecast.fontbasedtemplate.sh \
|
|
example/conkyForecast.imagebasedtemplate.conkyrc \
|
|
example/conkyForecast.imagebasedtemplate.sh \
|
|
conkyForecast.py \
|
|
conkyForecast \
|
|
conkyForecast-SunsetSunriseCountdown
|
|
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/bin/env,g' \
|
|
conkyForecast \
|
|
conkyForecast-SunsetSunriseCountdown
|
|
@cd ${WRKSRC} && ${RM} -r test/*.bak example/*.bak
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/fonts/* ${STAGEDIR}${FONTSDIR}
|
|
|
|
.include <bsd.port.mk>
|