summaryrefslogtreecommitdiff
path: root/graphics/tiled
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
parentbenchmarks/hey: Update to 0.1.4 (diff)
- Update to 1.4.2
Notes
Notes: svn path=/head/; revision=544345
Diffstat (limited to 'graphics/tiled')
-rw-r--r--graphics/tiled/Makefile10
-rw-r--r--graphics/tiled/distinfo6
2 files changed, 12 insertions, 4 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
diff --git a/graphics/tiled/distinfo b/graphics/tiled/distinfo
index 78b65d126304..3fd9ac669876 100644
--- a/graphics/tiled/distinfo
+++ b/graphics/tiled/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1593721628
-SHA256 (bjorn-tiled-v1.4.1_GH0.tar.gz) = adfec9f941fa5a0909c84f73e08df8fda99904b90482a348f0f528d04244ea64
-SIZE (bjorn-tiled-v1.4.1_GH0.tar.gz) = 17481260
+TIMESTAMP = 1596749560
+SHA256 (bjorn-tiled-v1.4.2_GH0.tar.gz) = 260a9d5742ded735b31b95dac42be18e52dc8fb82f6873e9509ad9ded6b3b15d
+SIZE (bjorn-tiled-v1.4.2_GH0.tar.gz) = 17806729