Changeset View
Changeset View
Standalone View
Standalone View
graphics/qgis/Makefile
# Created by: Laurent Courty | # Created by: Laurent Courty | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= qgis | PORTNAME= qgis | ||||
DISTVERSIONPREFIX= final- | DISTVERSIONPREFIX= final- | ||||
DISTVERSION= 3_10_1 | DISTVERSION= 3_10_1 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= graphics geography | CATEGORIES= graphics geography | ||||
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 | ||||
BUILD_DEPENDS= gpsbabel>=1.5.4:astro/gpsbabel \ | BUILD_DEPENDS= gpsbabel>=1.5.4:astro/gpsbabel \ | ||||
▲ Show 20 Lines • Show All 132 Lines • ▼ Show 20 Lines | 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 | ||||
# On i386, '-mllvm -inline-threshold=128' does not build under all circumstances | # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances | ||||
# See bugs 242557 and 241687. | # See bugs 242557 and 241687. | ||||
.if ${OPSYS} == FreeBSD && ${ARCH} == "i386" | .if ${OPSYS} == FreeBSD && ${ARCH} == "i386" | ||||
@${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ | @${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ | ||||
${WRKSRC}/src/core/CMakeLists.txt | ${WRKSRC}/src/core/CMakeLists.txt | ||||
.endif | .endif | ||||
# 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 | |||||
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> |