Fixed some comments sent off-list by Rafael Sadowski.  (Thanks for
pointing me to /usr/src/lib/check_sym!)

* Major version bump for shared library libtiled.  (No change to the
  comment because the version wasn't bumped by tiled itself.)
* Homepage uses https now.
* "COMPILER = ..." is unnecessary with the QT5 module.


Index: editors/tiled/Makefile
===================================================================
RCS file: /cvs/ports/editors/tiled/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- editors/tiled/Makefile      24 Oct 2018 14:28:01 -0000      1.14
+++ editors/tiled/Makefile      29 Dec 2018 22:59:08 -0000
@@ -2,30 +2,26 @@
 
 COMMENT =              tile map editor
 
-V =                    0.9.1
-DISTNAME =             tiled-qt-${V}
-PKGNAME =              tiled-${V}
-REVISION =             6
+V =                    1.2.1
+GH_ACCOUNT =           bjorn
+GH_PROJECT =           tiled
+GH_TAGNAME =           v${V}
 
-SHARED_LIBS +=         tiled                     0.0 # 1.0
+SHARED_LIBS +=         tiled                     1.0 # 1.0
 
 CATEGORIES =           editors games
 
-HOMEPAGE =             http://www.mapeditor.org/
+HOMEPAGE =             https://www.mapeditor.org/
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += GL ICE QtGui QtOpenGL SM X11 Xext Xi Xinerama Xrender
+WANTLIB += GL ICE Qt5Gui Qt5OpenGL SM X11 Xext Xi Xinerama Xrender
 WANTLIB += c fontconfig freetype m pthread ${COMPILER_LIBCXX} z
 
-COMPILER =             base-clang ports-gcc base-gcc
-
-MASTER_SITES =         ${MASTER_SITE_SOURCEFORGE:=tiled/}
-
 RUN_DEPENDS =          devel/desktop-file-utils \
                        x11/gtk+3,-guic
-MODULES =              devel/qmake x11/qt4
+MODULES =              devel/qmake x11/qt5
 
 # XXX qmake picks up Cocoa/Cocoa.h even though it's apparently unused
 DPB_PROPERTIES =       nojunk
Index: editors/tiled/distinfo
===================================================================
RCS file: /cvs/ports/editors/tiled/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- editors/tiled/distinfo      28 Apr 2014 09:48:54 -0000      1.2
+++ editors/tiled/distinfo      29 Dec 2018 22:59:08 -0000
@@ -1,2 +1,2 @@
-SHA256 (tiled-qt-0.9.1.tar.gz) = aGj4MzuMZoNTAXkgUaduf8aEZ2GbbpeoW1h/U3w2tSc=
-SIZE (tiled-qt-0.9.1.tar.gz) = 1436286
+SHA256 (tiled-1.2.1.tar.gz) = MpLBHC29reK/TVRyNEGIKnfhI7deel+K3D9BUI+fJug=
+SIZE (tiled-1.2.1.tar.gz) = 16773680
Index: 
editors/tiled/patches/patch-src_automappingconverter_automappingconverter_pro
===================================================================
RCS file: 
/cvs/ports/editors/tiled/patches/patch-src_automappingconverter_automappingconverter_pro,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_automappingconverter_automappingconverter_pro
--- 
editors/tiled/patches/patch-src_automappingconverter_automappingconverter_pro   
    28 Apr 2014 09:48:54 -0000      1.1
+++ 
editors/tiled/patches/patch-src_automappingconverter_automappingconverter_pro   
    29 Dec 2018 22:59:08 -0000
@@ -1,12 +1,11 @@
-$OpenBSD: patch-src_automappingconverter_automappingconverter_pro,v 1.1 
2014/04/28 09:48:54 bentley Exp $
---- src/automappingconverter/automappingconverter.pro.orig     Mon Apr 28 
02:32:11 2014
-+++ src/automappingconverter/automappingconverter.pro  Mon Apr 28 02:32:17 2014
-@@ -48,7 +48,7 @@ HEADERS  += \
+--- src/automappingconverter/automappingconverter.pro.orig     Mon Nov 26 
23:01:27 2018
++++ src/automappingconverter/automappingconverter.pro  Mon Nov 26 23:01:56 2018
+@@ -46,7 +46,7 @@ HEADERS  += \
  FORMS    += \
      converterwindow.ui
  
 -manpage.path = $${PREFIX}/share/man/man1/
 +manpage.path = $${PREFIX}/man/man1/
- manpage.files += ../../docs/automappingconverter.1
+ manpage.files += ../../man/automappingconverter.1
  INSTALLS += manpage
  
Index: editors/tiled/patches/patch-src_tiled_tiled_pro
===================================================================
RCS file: /cvs/ports/editors/tiled/patches/patch-src_tiled_tiled_pro,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_tiled_tiled_pro
--- editors/tiled/patches/patch-src_tiled_tiled_pro     28 Apr 2014 09:48:54 
-0000      1.2
+++ editors/tiled/patches/patch-src_tiled_tiled_pro     29 Dec 2018 22:59:08 
-0000
@@ -1,12 +1,11 @@
-$OpenBSD: patch-src_tiled_tiled_pro,v 1.2 2014/04/28 09:48:54 bentley Exp $
---- src/tiled/tiled.pro.orig   Sat Jul 27 14:34:23 2013
-+++ src/tiled/tiled.pro        Mon Apr 28 01:48:23 2014
-@@ -286,7 +286,7 @@ desktopfile.path = $${PREFIX}/share/applications/
- desktopfile.files += ../../docs/tiled.desktop
- INSTALLS += desktopfile
+--- src/tiled/tiled.pro.orig   Mon Nov 26 23:15:41 2018
++++ src/tiled/tiled.pro        Mon Nov 26 23:16:00 2018
+@@ -524,7 +524,7 @@ appdatafile.path = $${PREFIX}/share/metainfo/
+ appdatafile.files += ../../org.mapeditor.Tiled.appdata.xml
+ INSTALLS += appdatafile
  
 -manpage.path = $${PREFIX}/share/man/man1/
 +manpage.path = $${PREFIX}/man/man1/
- manpage.files += ../../docs/tiled.1
+ manpage.files += ../../man/tiled.1
  INSTALLS += manpage
  
Index: editors/tiled/pkg/PLIST
===================================================================
RCS file: /cvs/ports/editors/tiled/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- editors/tiled/pkg/PLIST     29 Jun 2018 22:16:12 -0000      1.5
+++ editors/tiled/pkg/PLIST     29 Dec 2018 22:59:08 -0000
@@ -1,41 +1,62 @@
 @comment $OpenBSD: PLIST,v 1.5 2018/06/29 22:16:12 espie Exp $
 @bin bin/automappingconverter
+@bin bin/terraingenerator
 @bin bin/tiled
 @bin bin/tmxrasterizer
 @bin bin/tmxviewer
 @lib lib/libtiled.so.${LIBtiled_VERSION}
 lib/tiled/
 lib/tiled/plugins/
+lib/tiled/plugins/libcsv.so
+lib/tiled/plugins/libdefold.so
 lib/tiled/plugins/libdroidcraft.so
 lib/tiled/plugins/libflare.so
+lib/tiled/plugins/libgmx.so
 lib/tiled/plugins/libjson.so
 lib/tiled/plugins/liblua.so
+lib/tiled/plugins/libpython.so
 lib/tiled/plugins/libreplicaisland.so
+lib/tiled/plugins/libtbin.so
 lib/tiled/plugins/libtengine.so
-lib/tiled/plugins/libtmw.so
 @man man/man1/automappingconverter.1
 @man man/man1/tiled.1
 @man man/man1/tmxrasterizer.1
 @man man/man1/tmxviewer.1
-share/applications/tiled.desktop
+share/applications/org.mapeditor.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/metainfo/
+share/metainfo/org.mapeditor.Tiled.appdata.xml
+share/mime/packages/org.mapeditor.Tiled.xml
+share/thumbnailers/tiled.thumbnailer
 share/tiled/
 share/tiled/translations/
+share/tiled/translations/tiled_ar_DZ.qm
+share/tiled/translations/tiled_bg.qm
 share/tiled/translations/tiled_cs.qm
 share/tiled/translations/tiled_de.qm
 share/tiled/translations/tiled_en.qm
 share/tiled/translations/tiled_es.qm
+share/tiled/translations/tiled_fi.qm
 share/tiled/translations/tiled_fr.qm
 share/tiled/translations/tiled_he.qm
+share/tiled/translations/tiled_hu.qm
 share/tiled/translations/tiled_it.qm
 share/tiled/translations/tiled_ja.qm
-share/tiled/translations/tiled_lv.qm
+share/tiled/translations/tiled_nb.qm
 share/tiled/translations/tiled_nl.qm
+share/tiled/translations/tiled_pl.qm
 share/tiled/translations/tiled_pt.qm
-share/tiled/translations/tiled_pt_BR.qm
+share/tiled/translations/tiled_pt_PT.qm
 share/tiled/translations/tiled_ru.qm
+share/tiled/translations/tiled_tr.qm
+share/tiled/translations/tiled_uk.qm
 share/tiled/translations/tiled_zh.qm
 @tag update-desktop-database
 @tag gtk-update-icon-cache %D/share/icons/hicolor
+share/tiled/translations/tiled_zh_TW.qm
+@tag update-mime-database

Reply via email to