Re: [Update] editors/tiled 1.2.1

2018-12-29 Thread Max Fillinger
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 -  1.14
+++ editors/tiled/Makefile  29 Dec 2018 22:59:08 -
@@ -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 -  1.2
+++ editors/tiled/distinfo  29 Dec 2018 22:59:08 -
@@ -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 -  1.1
+++ 
editors/tiled/patches/patch-src_automappingconverter_automappingconverter_pro   
29 Dec 2018 22:59:08 -
@@ -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 
-  1.2
+++ editors/tiled/patches/patch-src_tiled_tiled_pro 29 Dec 2018 22:59:08 
-
@@ -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.proMon 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.proMon 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 += 

[Update] editors/tiled 1.2.1

2018-12-29 Thread Max Fillinger
Here's an update to version 1.2.1 for the map editor tiled.  The main
change for the Makefile is that the project is hosted on Github now.



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 -  1.14
+++ editors/tiled//Makefile 29 Dec 2018 16:08:25 -
@@ -2,10 +2,10 @@
 
 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
 
@@ -16,16 +16,14 @@ HOMEPAGE =  http://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 -  1.2
+++ editors/tiled//distinfo 29 Dec 2018 16:08:25 -
@@ -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 -  1.1
+++ 
editors/tiled//patches/patch-src_automappingconverter_automappingconverter_pro  
29 Dec 2018 16:08:25 -
@@ -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_pro28 Apr 2014 09:48:54 
-  1.2
+++ editors/tiled//patches/patch-src_tiled_tiled_pro29 Dec 2018 16:08:25 
-
@@ -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.proMon 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.proMon 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/PLIST29 Jun 2018 

Re: [WIP/NEW] 1oom - Master of Orion 1 engine

2018-11-24 Thread Max Fillinger
On Fri, Nov 23, 2018 at 09:40:41PM -0500, Brian Callahan wrote:
> 
> 
> On 11/23/18 7:05 PM, Max Fillinger wrote:
> > Thanks for your help!
> > 
> > > * No MAINTAINER--do you want it?
> > What does that entail?  I want to keep this port working and up to date,
> > if I can.  But I won't be any help if someone has, for example, a
> > problem on a non-i386/amd64 platform.
> > 
> > > * Made the building of your fixbugs.pbx more sane and in the appropriate
> > > places for the port. I added a comment explaining why we have a post-build
> > > and post-install.
> > Your comment in the Makefile seems a bit misleading.  fixbugs.pbx is for
> > when you *don't* want the bugs of the original game.  I'd suggest
> > something like:
> > 
> > # Create patch file to allow the user to disable bug-compatibility with
> > # the original game.
> > 
> 
> Alright, that's my misunderstanding of what the file does then.
> 
> ~Brian
> 

Here's a new archive, essentially the same as before but with me written
in as MAINTAINER and the comment fixed.


1oom.tgz
Description: application/tar-gz


Re: [WIP/NEW] 1oom - Master of Orion 1 engine

2018-11-23 Thread Max Fillinger
Thanks for your help!

> * No MAINTAINER--do you want it?

What does that entail?  I want to keep this port working and up to date,
if I can.  But I won't be any help if someone has, for example, a
problem on a non-i386/amd64 platform.

> * Made the building of your fixbugs.pbx more sane and in the appropriate
> places for the port. I added a comment explaining why we have a post-build
> and post-install.

Your comment in the Makefile seems a bit misleading.  fixbugs.pbx is for
when you *don't* want the bugs of the original game.  I'd suggest
something like:

# Create patch file to allow the user to disable bug-compatibility with
# the original game.



[WIP/NEW] 1oom - Master of Orion 1 engine

2018-11-22 Thread Max Fillinger
Hi!

I made a port for 1oom, an open-source engine recreation for the
turn-based strategy game Master of Orion 1.  The files from the original
game are required to play.  1oom can use SDL1, SDL2 or Allegro4, but
this port just builds the SDL2 version, to keep things simple.

The game seems to work on my machine, but I haven't finished a full
playthrough yet.  Howver, during the `make configure` step, I get the
following warning:

configure: WARNING: unrecognized options: --disable-gtk-doc

This seems to be one of the default arguments that get added to
CONFIGURE_ARGS.  Is this a problem?


The post-install steps probably require some explanations:
1) The main binary is 1oom_classic_sdl2, create 1oom as a symlink for
   convenience.

2) make install doesn't seem to recurse into the doc directory, so I
   added a hacky way to install the docs.

3) By default, the game tries to be bug-compatible with the original.
   Bugfixes can be enabled by specifying a patch file when running the
   program.  For convenience, compile the patch file and put it in
   /usr/local/share/1oom.

Is it ok to do 1 and 3, or am I messing around too much?  And is there a
better way to do 2?


1oom.tgz
Description: application/tar-gz


zathura-pdf-mupdf: Wrong description

2014-09-18 Thread Max Fillinger
The package zathura-pdf-mupdf has the same description as
zathura-pdf-poppler.

Index: textproc/zathura/plugins/mupdf/pkg/DESCR
===
RCS file: /cvs/ports/textproc/zathura/plugins/mupdf/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- textproc/zathura/plugins/mupdf/pkg/DESCR2 Sep 2014 13:32:54 -   
1.1.1.1
+++ textproc/zathura/plugins/mupdf/pkg/DESCR18 Sep 2014 19:40:06 -
@@ -1,2 +1,2 @@
-The zathura-pdf-poppler plugin adds PDF support to zathura by using the
-poppler rendering engine.
+The zathura-pdf-mupdf plugin adds PDF support to zathura by using the
+mupdf rendering engine.