aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-08 19:23:10 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-08 19:23:10 +0800
commit5f48c2c740a8f05003823992a4c41f01ec839073 (patch)
tree369a7669a4cffbc41ad33ac36baf9c49dd1f4edb
parentc0969dce7f519f20730d958abf2c08549c06dd18 (diff)
downloadfreebsd-ports-gnome-5f48c2c740a8f05003823992a4c41f01ec839073.tar.gz
freebsd-ports-gnome-5f48c2c740a8f05003823992a4c41f01ec839073.tar.zst
freebsd-ports-gnome-5f48c2c740a8f05003823992a4c41f01ec839073.zip
- Update to 0.13.1
- Switch to options helpers - Add LICENSE
-rw-r--r--graphics/tiled/Makefile23
-rw-r--r--graphics/tiled/distinfo4
-rw-r--r--graphics/tiled/pkg-plist2
3 files changed, 14 insertions, 15 deletions
diff --git a/graphics/tiled/Makefile b/graphics/tiled/Makefile
index a9508b941925..924303524585 100644
--- a/graphics/tiled/Makefile
+++ b/graphics/tiled/Makefile
@@ -2,20 +2,25 @@
# $FreeBSD$
PORTNAME= tiled
-PORTVERSION= 0.12.3
+PORTVERSION= 0.13.1
DISTVERSIONPREFIX= v
CATEGORIES= graphics editors games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= General purpose tile map editor
-USES= desktop-file-utils shared-mime-info qmake
-USE_QT4= corelib gui opengl \
- linguisttools_build moc_build uic_build rcc_build
-USE_LDCONFIG= yes
+LICENSE= GPLv2 # or later
+LICENSE+= BSD2CLAUSE BSD3CLAUSE
+LICENSE_COMB= multi
+
USE_GITHUB= yes
GH_ACCOUNT= bjorn
+USES= compiler:c++11-lib desktop-file-utils qmake shared-mime-info
+USE_QT5= core gui widgets opengl buildtools_build linguisttools_build
+USE_GL= gl
+USE_LDCONFIG= yes
+
PORTDOCS= *
OPTIONS_DEFINE= PYTHON DOCS
@@ -27,16 +32,10 @@ PYTHON_USES= pkgconfig python:2.7
PYTHON_QMAKE_OFF= DISABLE_PYTHON_PLUGIN=yes
post-patch:
- @${REINPLACE_CMD} -e 's|lrelease|&-qt4|' \
- ${WRKSRC}/translations/translations.pro
- @${REINPLACE_CMD} -e 's|.*\(QT += opengl\)|\1|' \
- ${WRKSRC}/src/tiled/tiled.pro
@${FIND} ${WRKSRC} -name "*.pro" -exec ${REINPLACE_CMD} -e 's|share/man|man|' {} \;
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
- ${CP} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/tiled.png \
- ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>
diff --git a/graphics/tiled/distinfo b/graphics/tiled/distinfo
index 4d0c3029de9e..dafb16f8f1db 100644
--- a/graphics/tiled/distinfo
+++ b/graphics/tiled/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bjorn-tiled-v0.12.3_GH0.tar.gz) = 8078b266cc4902451e14b1efb6c8eba69f610e5056fcb74d1d30b5b236253200
-SIZE (bjorn-tiled-v0.12.3_GH0.tar.gz) = 2372813
+SHA256 (bjorn-tiled-v0.13.1_GH0.tar.gz) = 9512b03bbc6d939e90da1ce54176beaaa4f4bb16147b98e8b51feea12c2bea14
+SIZE (bjorn-tiled-v0.13.1_GH0.tar.gz) = 2902778
diff --git a/graphics/tiled/pkg-plist b/graphics/tiled/pkg-plist
index 3cd77c28b6e4..6a917b611d6c 100644
--- a/graphics/tiled/pkg-plist
+++ b/graphics/tiled/pkg-plist
@@ -27,8 +27,8 @@ share/icons/hicolor/32x32/mimetypes/application-x-tiled.png
share/icons/hicolor/scalable/apps/tiled.svg
share/icons/hicolor/scalable/mimetypes/application-x-tiled.svg
share/mime/packages/tiled.xml
-share/pixmaps/tiled.png
%%DATADIR%%/translations/tiled_ar_DZ.qm
+%%DATADIR%%/translations/tiled_bg.qm
%%DATADIR%%/translations/tiled_cs.qm
%%DATADIR%%/translations/tiled_de.qm
%%DATADIR%%/translations/tiled_en.qm