Changeset View
Changeset View
Standalone View
Standalone View
graphics/qgis-ltr/Makefile
# Created by: Laurent Courty | # Created by: Laurent Courty | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= qgis | PORTNAME= qgis | ||||
DISTVERSIONPREFIX= final- | DISTVERSIONPREFIX= final- | ||||
DISTVERSION= 3_4_11 | DISTVERSION= 3_4_11 | ||||
PORTREVISION= 2 | PORTREVISION= 3 | ||||
CATEGORIES= graphics geography | CATEGORIES= graphics geography | ||||
PKGNAMESUFFIX= -ltr | PKGNAMESUFFIX= -ltr | ||||
MAINTAINER= rhurlin@gwdg.de | MAINTAINER= rhurlin@gwdg.de | ||||
COMMENT= Free and Open Source Geographic Information System | COMMENT= Free and Open Source Geographic Information System | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
▲ Show 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | |||||
# make describe needs them here, after bsd.port.pre.mk | # make describe needs them here, after bsd.port.pre.mk | ||||
CPP= clang-cpp${LLVM_DEFAULT} | CPP= clang-cpp${LLVM_DEFAULT} | ||||
CC= clang${LLVM_DEFAULT} | CC= clang${LLVM_DEFAULT} | ||||
CXX= clang++${LLVM_DEFAULT} | CXX= clang++${LLVM_DEFAULT} | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|markupsafe ||g' \ | @${REINPLACE_CMD} -e 's|markupsafe ||g' \ | ||||
${WRKSRC}/python/ext-libs/CMakeLists.txt | ${WRKSRC}/python/ext-libs/CMakeLists.txt | ||||
# Build failure with txt2tags > 3 (dropped --css-sugar & --css-inside) | |||||
# https://github.com/qgis/QGIS/issues/33516 | |||||
@${REINPLACE_CMD} -e 's|--css-sugar --css-inside||' ${WRKSRC}/doc/INSTALL.t2t ${WRKSRC}/doc/news.t2t | |||||
tcberner: ^why do this in a loop?
`... ${WRKSRC}/doc/INSTALL ${WRKSRC }/doc/news` | |||||
Done Inline ActionsJust a habit to iterate when there are several files to modify :) lbartoletti: Just a habit to iterate when there are several files to modify :)
I'll fix that. | |||||
pre-configure: | pre-configure: | ||||
${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 | ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 | ||||
post-install: | post-install: | ||||
@${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak | @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak | ||||
@${RM} /tmp/srs.db | @${RM} /tmp/srs.db | ||||
check: | check: | ||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check | @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |
^why do this in a loop?
... ${WRKSRC}/doc/INSTALL ${WRKSRC }/doc/news