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_12_1 | ||||
PORTREVISION= 3 | |||||
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 123 Lines • ▼ Show 20 Lines | |||||
SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi | SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi | ||||
SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE | SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE | ||||
PLIST_SUB= DISTVERSION=${PORTVERSION} | PLIST_SUB= DISTVERSION=${PORTVERSION} | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|markupsafe ||g' \ | |||||
${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 | ||||
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 | ||||
${FIND} ${STAGEDIR}${LOCALBASE} -name "__pycache__" | ${XARGS} ${RM} -rf | |||||
@${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> |