aboutsummaryrefslogtreecommitdiff
path: root/graphics/tiled/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-08-07 19:24:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-08-07 19:24:02 +0000
commit34d3667f789d7668814ae39e0a4d65fed7c71284 (patch)
tree2bff4f36ddfd713007de755aa3c5d54019e76cb4 /graphics/tiled/Makefile
parent2c0120f3bd8c37b59f52166b768c4a95e8cb6190 (diff)
downloadports-34d3667f789d7668814ae39e0a4d65fed7c71284.tar.gz
ports-34d3667f789d7668814ae39e0a4d65fed7c71284.zip
- Update to 1.4.2
Notes
Notes: svn path=/head/; revision=544345
Diffstat (limited to 'graphics/tiled/Makefile')
-rw-r--r--graphics/tiled/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/tiled/Makefile b/graphics/tiled/Makefile
index 94a52afe05dd..3361f70cf3d0 100644
--- a/graphics/tiled/Makefile
+++ b/graphics/tiled/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tiled
-PORTVERSION= 1.4.1
+PORTVERSION= 1.4.2
DISTVERSIONPREFIX= v
CATEGORIES= graphics editors games
@@ -12,6 +12,8 @@ COMMENT= General purpose tile map editor
LICENSE= BSD2CLAUSE BSD3CLAUSE GPLv2+
LICENSE_COMB= multi
+LIB_DEPENDS= libzstd.so:archivers/zstd
+
USE_GITHUB= yes
GH_ACCOUNT= bjorn
@@ -21,6 +23,7 @@ USE_QT= core gui widgets opengl network declarative \
buildtools_build linguisttools_build
USE_GL= gl
USE_LDCONFIG= yes
+QMAKE_ARGS= SYSTEM_ZSTD=yes
PORTDOCS= *
@@ -32,6 +35,11 @@ PYTHON_DESC= Enable python plugin
PYTHON_USES= pkgconfig python:3.6+
PYTHON_QMAKE_OFF= DISABLE_PYTHON_PLUGIN=yes
+post-patch:
+ # XXX: fixed in 1.4.3+
+ @${REINPLACE_CMD} -e 's|linux:contains|unix:contains|' \
+ ${WRKSRC}/src/libtiled/libtiled.pro ${WRKSRC}/src/tiled/tiled.pro
+
post-patch-PYTHON-on:
@${REINPLACE_CMD} -e 's|python3|python-${PYTHON_VER}|' \
${WRKSRC}/src/plugins/python/find_python.pri