Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 17:42:47 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377239 - head/graphics/tiled
Message-ID:  <201501171742.t0HHglgG071885@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Jan 17 17:42:46 2015
New Revision: 377239
URL: https://svnweb.freebsd.org/changeset/ports/377239
QAT: https://qat.redports.org/buildarchive/r377239/

Log:
  - Update to 0.11.0

Modified:
  head/graphics/tiled/Makefile
  head/graphics/tiled/distinfo
  head/graphics/tiled/pkg-plist

Modified: head/graphics/tiled/Makefile
==============================================================================
--- head/graphics/tiled/Makefile	Sat Jan 17 16:51:14 2015	(r377238)
+++ head/graphics/tiled/Makefile	Sat Jan 17 17:42:46 2015	(r377239)
@@ -2,34 +2,44 @@
 # $FreeBSD$
 
 PORTNAME=	tiled
-PORTVERSION=	0.9.1
-PORTREVISION=	1
+PORTVERSION=	0.11.0
 CATEGORIES=	graphics editors games
-MASTER_SITES=	SF/tiled/tiled-qt/${PORTVERSION}
-DISTNAME=	tiled-qt-${PORTVERSION}
+MASTER_SITES=	https://github.com/bjorn/tiled/archive/v${PORTVERSION}/
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	General purpose tile map editor
 
-USES=		qmake
+USES=		desktop-file-utils shared-mime-info qmake
 USE_QT4=	corelib gui opengl \
 		linguist_build moc_build uic_build rcc_build
 USE_LDCONFIG=	yes
 
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	PYTHON DOCS
+OPTIONS_DEFAULT=PYTHON
+OPTIONS_SUB=	yes
+PYTHON_DESC=	Enable python plugin
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPYTHON}
+USES+=		pkgconfig python:2.7
+.else
+QMAKE_ARGS+=	DISABLE_PYTHON_PLUGIN=yes
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|lrelease|&-qt4|' \
 		${WRKSRC}/translations/translations.pro
 	@${REINPLACE_CMD} -e 's|.*\(QT += opengl\)|\1|' \
 		${WRKSRC}/src/tiled/tiled.pro
-	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/docs/tiled.desktop
 	@${FIND} ${WRKSRC} -name "*.pro" -exec ${REINPLACE_CMD} -e 's|share/man|man|' {} \;
 
 post-install:
 	${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>

Modified: head/graphics/tiled/distinfo
==============================================================================
--- head/graphics/tiled/distinfo	Sat Jan 17 16:51:14 2015	(r377238)
+++ head/graphics/tiled/distinfo	Sat Jan 17 17:42:46 2015	(r377239)
@@ -1,2 +1,2 @@
-SHA256 (tiled-qt-0.9.1.tar.gz) = 6868f8333b8c66835301792051a76e7fc68467619b6e97a85b587f537c36b527
-SIZE (tiled-qt-0.9.1.tar.gz) = 1436286
+SHA256 (tiled-0.11.0.tar.gz) = 0d4b028902dfe08f18b542bfd9eaaf08886c1f685b2e176f438c3bf9d72e410d
+SIZE (tiled-0.11.0.tar.gz) = 2324668

Modified: head/graphics/tiled/pkg-plist
==============================================================================
--- head/graphics/tiled/pkg-plist	Sat Jan 17 16:51:14 2015	(r377238)
+++ head/graphics/tiled/pkg-plist	Sat Jan 17 17:42:46 2015	(r377239)
@@ -6,10 +6,12 @@ lib/libtiled.so
 lib/libtiled.so.1
 lib/libtiled.so.1.0
 lib/libtiled.so.1.0.0
+lib/tiled/plugins/libcsv.so
 lib/tiled/plugins/libdroidcraft.so
 lib/tiled/plugins/libflare.so
 lib/tiled/plugins/libjson.so
 lib/tiled/plugins/liblua.so
+%%PYTHON%%lib/tiled/plugins/libpython.so
 lib/tiled/plugins/libreplicaisland.so
 lib/tiled/plugins/libtengine.so
 lib/tiled/plugins/libtmw.so
@@ -19,8 +21,13 @@ man/man1/tmxrasterizer.1.gz
 man/man1/tmxviewer.1.gz
 share/applications/tiled.desktop
 share/icons/hicolor/16x16/apps/tiled.png
+share/icons/hicolor/16x16/mimetypes/application-x-tiled.png
 share/icons/hicolor/32x32/apps/tiled.png
+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_cs.qm
 %%DATADIR%%/translations/tiled_de.qm
 %%DATADIR%%/translations/tiled_en.qm
@@ -35,3 +42,4 @@ share/icons/hicolor/scalable/apps/tiled.
 %%DATADIR%%/translations/tiled_pt_BR.qm
 %%DATADIR%%/translations/tiled_ru.qm
 %%DATADIR%%/translations/tiled_zh.qm
+%%DATADIR%%/translations/tiled_zh_TW.qm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501171742.t0HHglgG071885>