Re: games/dmagnetic: patch to 0.32

2021-07-22 Thread dettus

Hello again.


Sorry, it is getting late.. What I meant to type was
"Hope you like it!" My apologies.
Additional apologies for sending a follow-up email... The other one just 
turned out very rude...



Thomas


On 7/23/21 12:56 AM, dettus wrote:

Hi!

My project dMagnetic got to release 0.32.

This is the patch to update the ports tree.

I also took the liberty of attaching the changelog from the Debian 
release.



How you like it!



Thomas





games/dmagnetic: patch to 0.32

2021-07-22 Thread dettus

Hi!

My project dMagnetic got to release 0.32.

This is the patch to update the ports tree.

I also took the liberty of attaching the changelog from the Debian release.


How you like it!



Thomas

diff --git a/games/dmagnetic/Makefile b/games/dmagnetic/Makefile
index 370c4a51bf5..8929d6bcffe 100644
--- a/games/dmagnetic/Makefile
+++ b/games/dmagnetic/Makefile
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.18 2021/06/23 22:36:56 sthen Exp $
 
-V =0.31
+V =0.32
 COMMENT =  interpreter for Magnetic Scrolls games
 DISTNAME = dMagnetic_${V}
 PKGNAME =  dmagnetic-${V}
diff --git a/games/dmagnetic/distinfo b/games/dmagnetic/distinfo
index 329e459c8a0..a9ee4a05c70 100644
--- a/games/dmagnetic/distinfo
+++ b/games/dmagnetic/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dMagnetic_0.31.tar.bz2) = GgNW8E06XiUiJbD9OLkEeVfykvZzOLqDV5lYtG8YQTk=
-SIZE (dMagnetic_0.31.tar.bz2) = 87440
+SHA256 (dMagnetic_0.32.tar.bz2) = lnG4Y8uxJuEikj+pdIBv8OmYr0ccmOh4wTksIKNgYgY=
+SIZE (dMagnetic_0.32.tar.bz2) = 89191
dmagnetic (0.32-1) unstable; urgency=medium

  * New input format: WOZ
  * Minor bug fixes
  * Minor code cleanup

 -- Thomas Dettbarn   Fri, 23 Jul 2021 00:33:15 +0200

dmagnetic (0.31-1) unstable; urgency=medium

  * New input formats: NIB and 2MG
  * Improved Sixel mode
  * New -dumpmag and -dumpgfx command line parameters
  * Moved the manpage to section 6 (games)

 -- Thomas Dettbarn   Wed, 23 Jun 2021 23:22:22 +0200

dmagnetic (0.30-1) unstable; urgency=medium

  * Internal bugfixes
  * Fixed missing picture from 'Fish!' in C64 mode
  * New characters for the monochrome vmode

 -- Thomas Dettbarn   Sun, 31 Jan 2021 14:47:30 +0100

dmagnetic (0.29-1) unstable; urgency=medium

  * AtariXL and Atari800 ATR files are used for playing
  * The new graphic mode UTF has been added
  * More users can enjoy the beautiful pictures now

 -- Thomas Dettbarn   Thu, 24 Dec 2020 08:59:34 +0100

dmagnetic (0.28-1) unstable; urgency=medium

  * Spectrum128 and Spectrum+3 binaries can be used
  * Acorn Archimedes binaries can be used for playing
  * Some internal bugfixes

 -- Thomas Dettbarn   Sat, 28 Nov 2020 12:48:58 +0100

dmagnetic (0.27-1) unstable; urgency=medium

  * Update to release 0.27.
  * Removed a bug that prevented loading game binaries

  * Loads binaries from Amstrad CPC, Commodore64 and MS DOS

 -- Thomas Dettbarn   Sun, 01 Nov 2020 19:09:37 +0100

dmagnetic (0.26-1) unstable; urgency=medium

  * Update to release 0.26.
  * Amstrad CPC images in the DSK format can be used

 -- Thomas Dettbarn   Sat, 31 Oct 2020 19:51:49 +0100

dmagnetic (0.25-2) unstable; urgency=medium

  * Build with -ffloat-store on i386 to fix FTBFS. (Closes: #966525)

 -- Thomas Dettbarn   Mon, 03 Aug 2020 00:59:17 +0100

dmagnetic (0.25-1) unstable; urgency=medium

  * Update to release 0.25.
  * Post compilation check improved

  * Internal RGB channels upgraded from 3 to 10 bit.

 -- Thomas Dettbarn   Sun, 26 Jul 2020 14:26:01 +0100

dmagnetic (0.24-1) unstable; urgency=medium

  * Update to release 0.24.
  * Commodore 64 binaries can be used for playing.

 -- Thomas Dettbarn   Sat, 11 Jul 2020 19:56:07 +0100

dmagnetic (0.23-1) unstable; urgency=medium

  * Update to release 0.23.
  * Introduced new graphic render modes for MS-DOS binaries

 -- Thomas Dettbarn   Sun, 07 Jun 2020 23:03:53 +0100

dmagnetic (0.22-1) unstable; urgency=medium

  * Update to release 0.22.
  * Binaries from the Magnetic Windows system can be used for playing.
  * Sixel mode allows for high resolution images in certain xterms.

 -- Thomas Dettbarn   Thu, 13 Feb 2020 18:56:15 +0100


dmagnetic (0.21-1) unstable; urgency=medium

  * Update to release 0.21.
  * Some lintian warnings have been removed.
  * Leftover debugging code was creating files
  * dMagnetic is capable of reading MS DOS binaries from more games.

 -- Thomas Dettbarn   Sat, 18 Jan 2020 22:43:52 +0100

dmagnetic (0.20-1) unstable; urgency=medium

  * Update to release 0.20.
  * It is possible to play with the original MS DOS binaries
  * A glitch in the text output has been removed.
  * The glitch prevented solving jinxter's sliding puzzle.
  * Changed the standards version to 4.4.1

 -- Thomas Dettbarn   Wed, 15 Jan 2020 22:14:42 +0100

dmagnetic (0.19-1) unstable; urgency=medium

  * Update to release 0.19.
  * It is possible to play with the original MS DOS binaries
  * New graphic mode (high_ansi2) for the better looking graphics
  * New random number generator for a different playing experience
  * Changed the standards version to 4.4.1

 -- Thomas Dettbarn   Fri, 27 Dec 2019 21:23:45 +0100

dmagnetic (0.18-1) unstable; urgency=medium

  * Update to release 0.18.
  * Removed an issue, where sometimes graphics were not shown.

 -- Thomas Dettbarn   Mon, 11 Nov 2019 20:11:47 +0100

dmagnetic (0.17-1) unstable; urgency=medium

  * Update to release 0.17.
  * Removed some warnings from the mentors.debian.net site.
  * Changed the compat level to 12.
  * Changed the standards 

games/dmagnetic: update to release 0.31

2021-06-23 Thread dettus

Hello.

You guys switched from CVS to GIT?
Okay. I am not sure what the proper way of updating ports
is now, so I took the liberty of creating a patch for you.

Hope you like it.


Anyways, the changelog is as followed:


  * New input formats: NIB and 2MG
  * Improved Sixel mode
  * New -dumpmag and -dumpgfx command line parameters
  * Moved the manpage to section 6 (games)


Thomas

diff --git a/games/dmagnetic/Makefile b/games/dmagnetic/Makefile
index 5401b9884cc..ee9bb78840a 100644
--- a/games/dmagnetic/Makefile
+++ b/games/dmagnetic/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.17 2021/01/31 16:37:47 rsadowski Exp $
+# $OpenBSD: Makefile,v 1.14 2020/11/01 20:55:12 rsadowski Exp $
 
-V =0.30
+V =0.31
 COMMENT =  interpreter for Magnetic Scrolls games
 DISTNAME = dMagnetic_${V}
 PKGNAME =  dmagnetic-${V}
@@ -24,7 +24,7 @@ TEST_TARGET = check
 
 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dMagnetic ${PREFIX}/bin/dMagnetic
-   ${INSTALL_MAN} ${WRKSRC}/dMagnetic.1 ${PREFIX}/man/man1
+   ${INSTALL_MAN} ${WRKSRC}/dMagnetic.6 ${PREFIX}/man/man6
${INSTALL_MAN} ${WRKSRC}/dMagneticini.5 ${PREFIX}/man/man5
${INSTALL_DATA_DIR} ${PREFIX}/share/dMagnetic
${INSTALL_DATA} ${WRKSRC}/dMagnetic.ini ${PREFIX}/share/dMagnetic
diff --git a/games/dmagnetic/distinfo b/games/dmagnetic/distinfo
index 7f71bdb5302..329e459c8a0 100644
--- a/games/dmagnetic/distinfo
+++ b/games/dmagnetic/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dMagnetic_0.30.tar.bz2) = nrglKQSVFQuK5O6w/wSrpyTB/Y9gUrDEy5CGV4f5Ir4=
-SIZE (dMagnetic_0.30.tar.bz2) = 82369
+SHA256 (dMagnetic_0.31.tar.bz2) = GgNW8E06XiUiJbD9OLkEeVfykvZzOLqDV5lYtG8YQTk=
+SIZE (dMagnetic_0.31.tar.bz2) = 87440
diff --git a/games/dmagnetic/pkg/PLIST b/games/dmagnetic/pkg/PLIST
index 6c29b0f863f..136b8f355c2 100644
--- a/games/dmagnetic/pkg/PLIST
+++ b/games/dmagnetic/pkg/PLIST
@@ -1,6 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2019/06/15 20:53:39 bcallah Exp $
 @bin bin/dMagnetic
-@man man/man1/dMagnetic.1
+@man man/man6/dMagnetic.6
 @man man/man5/dMagneticini.5
 share/dMagnetic/
 share/dMagnetic/LICENSE.txt


games/dMagnetic 0.25 -> 0.26 (Now it can load Amstrad CPC binaries)

2020-10-31 Thread dettus

Hello.


My project dMagnetic saw release 0.26. With this one, it is possible to
play the original Amstrad CPC releases of "The Pawn", "The Guild of 
Thieves",

"Jinxter" and "Corruption".

I took the liberty of updating the port for OpenBSD. Please find the patch
attached to this Email. Hopefully, it meets your standards.


Thomas Dettbarn

--- Makefile.orig	2020-10-31 20:17:32.019290208 +0100
+++ Makefile	2020-10-31 20:17:32.023237365 +0100
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.13 2020/07/26 16:47:51 sthen Exp $
 
-V =		0.25
+V =		0.26
 COMMENT =	interpreter for Magnetic Scrolls games
 DISTNAME =	dMagnetic_${V}
 PKGNAME =	dmagnetic-${V}
--- distinfo.orig	2020-10-31 20:17:32.023237365 +0100
+++ distinfo	2020-10-31 20:17:32.027184522 +0100
@@ -1,2 +1,2 @@
-SHA256 (dMagnetic_0.25.tar.bz2) = XL4q7n6IcGKOrq8v4/xVDzFzb+YXiXZIp3KDvmo4Hm0=
-SIZE (dMagnetic_0.25.tar.bz2) = 68283
+SHA256 (dMagnetic_0.26.tar.bz2) = gemINv/jzJScMMs46O8vyK5+gOQ/8DPBfW8Goh9EtfA=
+SIZE (dMagnetic_0.26.tar.bz2) = 72758


games/dmagnetic release 0.22 -> 0.23

2020-06-08 Thread dettus

Hello.


dMagnetic just saw release 0.23, and I took the liberty of creating a 
new patch

for the OpenBSD ports. I attached it to this email, pending your approval.


Thomas


--- Makefile.orig	2020-06-08 08:03:15.018947037 +0200
+++ Makefile	2020-06-08 08:03:15.022919169 +0200
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.10 2020/02/13 22:08:10 sthen Exp $
 
-V =		0.22
+V =		0.23
 COMMENT =	interpreter for Magnetic Scrolls games
 DISTNAME =	dMagnetic_${V}
 PKGNAME =	dmagnetic-${V}
@@ -32,23 +32,31 @@
 	cd ${WRKSRC}/testcode;  if [ `echo Hello | ../dMagnetic -ini ../dMagnetic.ini \
 		-mag minitest.mag -gfx minitest.gfx \
 		-vmode none -vecho -vcols 300 -vrows 300 | \
-		sha256 -b` == DOx7jAlyo+E1/MsBxGDzsEd6xGj5p6yZWZ3TuEsptuI= -a \
+		sha256 -b` == cK9FNnpq0bYSzqvTb+8wnUJYq6wnUoGlVBNCzPCnZc0= -a \
 		`echo Hello | ../dMagnetic -ini ../dMagnetic.ini \
 		-mag minitest.mag -gfx minitest.gfx \
 		-vmode monochrome -vecho -vcols 300 -vrows 300 | \
-		sha256 -b` == JH9v0Uh6jMvWt2XES85vcqqZiUwmktpiLENUZvM/8AY= -a \
+		sha256 -b` == seDxuft63ieWCyOgu/GV1rV3E7yROXeS+rC9cA6IL7Y= -a \
+		`echo Hello | ../dMagnetic -ini ../dMagnetic.ini \
+		-mag minitest.mag -gfx minitest.gfx \
+		-vmode monochrome_inv -vecho -vcols 300 -vrows 300 | \
+		sha256 -b` == MfppImDWbkyITNN49NVWlI+iysmToiJzW1D+d9XkL3Q= -a \
 		`echo Hello | ../dMagnetic -ini ../dMagnetic.ini \
 		-mag minitest.mag -gfx minitest.gfx \
 		-vmode low_ansi -vecho -vcols 300 -vrows 300 | \
-		sha256 -b` == 6DhbUg1shZBuSXIm3PNK1/fMfRQ5RIHCuLPik+IkeQM= -a \
+		sha256 -b` == AwX+FxRDEMR1mi/CP3jn85dWA9UltkoezHn7hmKFI8k= -a \
+		`echo Hello | ../dMagnetic -ini ../dMagnetic.ini \
+		-mag minitest.mag -gfx minitest.gfx \
+		-vmode low_ansi2 -vecho -vcols 300 -vrows 300 | \
+		sha256 -b` == 70oe3RMTJG3/R6nUTigntHXEg+/ORW0cNHW5sZ+P2Lc= -a \
 		`echo Hello | ../dMagnetic -ini ../dMagnetic.ini \
 		-mag minitest.mag -gfx minitest.gfx \
 		-vmode high_ansi -vecho -vcols 300 -vrows 300 | \
-		sha256 -b` == ShiqpQ8Ey8CSV2g3gMCCzSS89Ak6ZaNUQjaw11Tcj8k= -a \
+		sha256 -b` == kaRDtG5AyqOo8ikUStr+giD0RfRSyuZjLg99zZXgO58= -a \
 		`echo Hello | ../dMagnetic -ini ../dMagnetic.ini \
 		-mag minitest.mag -gfx minitest.gfx \
 		-vmode sixel -vecho -vcols 300 -vrows 300 | \
-		sha256 -b` == RLueDmrARhpkn8A9YOJz1OW2YLRDBlKCjlxY3Ef56ro= \
+		sha256 -b` == ad6zWhMj07AY0kn7DrkbM4cuRU2YbHU4kSq6PJHVWjI= \
 		]; \
 		then echo ok; else echo expected output not seen; exit 1; fi
 
--- distinfo.orig	2020-06-08 08:03:15.022919169 +0200
+++ distinfo	2020-06-08 08:03:15.026891301 +0200
@@ -1,2 +1,2 @@
-SHA256 (dMagnetic_0.22.tar.bz2) = U5BcihppxcaaevysXQNo7cbCFPxgPz12MT5PM/rrBDE=
-SIZE (dMagnetic_0.22.tar.bz2) = 61092
+SHA256 (dMagnetic_0.23.tar.bz2) = HlVbam71s6VNL+JayD+9EA499jQqleiDVKJSjOqo/w8=
+SIZE (dMagnetic_0.23.tar.bz2) = 60820


games/dmagnetic: Update from 0.18 to 0.19

2019-12-27 Thread dettus

Hello.


Today is the day where I released dMagnetic 0.19. It is now possible to 
run the original
MS-DOS binaries natively on the Interpreter, including the much better 
looking graphics.


Additionally, the random number generator was given an overhaul, which 
allows for a

completely different experience whilst playing. (If desired)


A more detailed description (including new screenshots) can be found on 
my website,

please go to http://www.dettus.net/dMagnetic/ to check it out.



Attached to this email is the patch that needs to be applied to the 
games/dmagnetic

directory in the ports tree of OpenBSD.

Thomas Dettbarn

--- Makefile.orig	2019-12-27 21:03:36.953568996 +0100
+++ Makefile	2019-12-27 21:03:36.957569030 +0100
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2019/11/13 06:34:01 rsadowski Exp $
+# $OpenBSD$
 
 V =		0.18
 COMMENT =	interpreter for Magnetic Scrolls games
--- distinfo.orig	2019-12-27 21:03:36.953568996 +0100
+++ distinfo	2019-12-27 21:03:36.957569030 +0100
@@ -1,2 +1,2 @@
-SHA256 (dMagnetic_0.18.tar.gz) = 527cd6dd9140a3ff01c29545f74be140d146b8207bafbccca54a36cb79c3610f
-SIZE (dMagnetic_0.18.tar.gz) = 61210
+SHA256 (dMagnetic_0.19.tar.bz2) = 7a57aa1e0dffa6b433bf5d4f33c4aefc01268a9f2680b2c319c102e2e6275fda
+SIZE (dMagnetic_0.19.tar.bz2) = 61096


games/dMagnetic Update from 0.16 to 0.17

2019-07-28 Thread dettus

Hello.


Today I released dMagnetic Version 0.17.

Attached to this Email is the patch for the port games/dmagnetic.


Please enjoy!


Thomas




--- Makefile.orig	2019-07-28 12:02:29.688172621 +0200
+++ Makefile	2019-07-28 12:02:29.700177218 +0200
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.3 2019/07/17 21:16:33 sthen Exp $
+# $OpenBSD$
 
-V =		0.16
+V =		0.17
 COMMENT =	interpreter for Magnetic Scrolls games
 DISTNAME =	dMagnetic_${V}
 PKGNAME =	dmagnetic-${V}
--- distinfo.orig	2019-07-28 12:02:29.696175686 +0200
+++ distinfo	2019-07-28 12:02:29.704178750 +0200
@@ -1,2 +1,2 @@
-SHA256 (dMagnetic_0.16.tar.gz) = edmh9l1KYPiz+Qw9cbWjShk9lEsCm353q8zbTn20C6w=
-SIZE (dMagnetic_0.16.tar.gz) = 62190
+SHA256 (dMagnetic_0.17.tar.gz) = b1fd38e88563a7afd44df6846b2e08ab14f921efe2167b8e5b02433c189486d9
+SIZE (dMagnetic_0.17.tar.gz) = 62348


games/dMagnetic update to release 0.16

2019-07-17 Thread dettus

Hello.


So, release 0.16 of dMagnetic happened, and I took the liberty of 
updating the port.


You find it attached to this Email!


Thomas


--- games/dmagnetic/Makefile.orig	2019-07-17 21:47:36.760812888 +0200
+++ games/dmagnetic/Makefile	2019-07-17 21:49:35.826263091 +0200
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.2 2019/07/12 20:46:16 sthen Exp $
+# $OpenBSD$
 
-V =		0.15
+V =		0.16
 COMMENT =	interpreter for Magnetic Scrolls games
 DISTNAME =	dMagnetic_${V}
 PKGNAME =	dmagnetic-${V}
--- games/dmagnetic/distinfo.orig	2019-07-17 21:47:24.278941188 +0200
+++ games/dmagnetic/distinfo	2019-07-17 21:26:53.742788079 +0200
@@ -1,2 +1,2 @@
-SHA256 (dMagnetic_0.15.tar.gz) = Jh7mHUAaAGhI+th76S4X0JLqAt0nhGRfbc0aWM6iNOA=
-SIZE (dMagnetic_0.15.tar.gz) = 61216
+SHA256 (dMagnetic_0.16.tar.gz) = 79d9a1f65d4a60f8b3f90c3d71b5a34a193d944b029b7e77abccdb4e7db40bac
+SIZE (dMagnetic_0.16.tar.gz) = 62190


Re: new port games/dMagnetic (you helped me. Now what?)

2019-06-15 Thread dettus



On 6/15/19 11:03 PM, Brian Callahan wrote:



On 5/31/19 11:36 AM, Brian Callahan wrote:



On 5/31/19 11:30 AM, Thomas Dettbarn wrote:

Please forgive my stupidity! :)

Brian Callahan  hat am 31. Mai 2019 um 14:40 
geschrieben:
Huh? My email was a go-ahead for your game to be added to our ports 
tree.


~Brian


So what I did was


cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs checkout -P ports/games/


and checked if my project is in there. It was not. Trying to add the 
directory with


cvs add games/dmagnetic

resulted in a

cvs server: cannot mkdir /cvs/ports/games/dmagnetic: Permission denied

which is why a cvs diff told me:

? dmagnetic/Makefile
? dmagnetic/distinfo
? dmagnetic/pkg

and after a couple of more tries in

cvs diff -u dmagnetic/*
cvs diff: warning: directory CVS specified in argument
cvs diff: but CVS uses CVS for its own purposes; skipping CVS directory
cvs server: I know nothing about dmagnetic/Makefile
cvs server: I know nothing about dmagnetic/distinfo
cvs server: Diffing dmagnetic/pkg
cvs server: dmagnetic/pkg/DESCR is a new entry, no comparison available
cvs server: dmagnetic/pkg/PLIST is a new entry, no comparison available


maybe i am stupid? anyways, my port is still at 
http://www.github.com/dettus/ports_and_packages, and pointing 
towards release 0.14.


It takes at least two OpenBSD developers to add a new port to the 
tree: one to actually make the commit and another to give an ok 
(effectively, sign-off) for it. Of course, more than one ok (from 
multiple OpenBSD developers) is welcome.


I've done the ok part. That's one. Now a second person has to 
actually make the commit that will add your port to the ports tree. 
Alternatively, that second person can give me an ok and I can make 
the commit.


~Brian



This has been committed. Thanks everyone.

~Brian


Yes.


Thank you very very much indeed!


Thomas





Re: new port games/dMagnetic (you helped me. Now what?)

2019-05-30 Thread dettus

Hi!

On 5/31/19 3:25 AM, Brian Callahan wrote:


I noticed you're now on version 0.14 -- but all one has to do is crank 
the version number and regen distinfo. Everything else is the same. So 
I'm ok with this if someone wants to commit it.


~Brian



Told you, I am a "developer" ;)
I already updated the info in my github repository.

https://github.com/dettus/ports_and_packages/tree/master/OpenBSD/games/dmagnetic


As far as I can tell, it has not made its way into OpenBSD's cvs 
repository yet, so that should be fine.




Thomas



Re: new port games/dMagnetic (help me, please)

2019-05-22 Thread dettus



On 5/22/19 2:21 AM, Brian Callahan wrote:






Attached is a slightly tweaked tarball based on that public repo. The 
port was mostly good; I just made small adjustments to bring things 
into our standard conventions (like, not starting COMMENT with a 
capital letter or an indefinite article).


Your instructions in the manual pages and the binary itself were way 
more than enough for me to get pawn to play on my machine.


~Brian



Great!
Thank you so much!

Have you also tried "-vmode low_ansi"? I am asking, because I am 
thinking about making that the default mode.




Thomas




Re: new port games/dMagnetic (help me, please)

2019-05-21 Thread dettus




Sorry for that language of mine, I meant no offense, but anyway I caused
misunderstanding.

Thomas, I assume that dMagnetic.ini file is an example configuration, if
so, it's better to place it in ${PREFIX}/share/examples/dMagnetic/
(I see that I made a mistake by pointing README.txt file there)

Also please write a pkg/README file in your port, the ports system will
make it install as /usr/local/share/doc/pkg-readmes/dmagnetic and, after
people install a package, they'll see a message that readme is
installed, no need to install README.txt file.

Also I see that your project's Makefile has install target. I still
offer help fixing some issues in your Makefile. I can note about
CC and CFLAGS. In the source code of dMagentic write something like
this:
```
CC?= gcc
CFLAGS?= -03
CFLAGS+= -Wall
```
That way you won't need "MAKE_FLAGS =" line, because ports system should
set them via env(1). In shell that would look like this:
$ env CC=/usr/bin/clang CFLAGS="-02 -pipe" make all

If it won't set CC, then your Makefile will just default to gcc,
if it won't set CFLAGS, then your Makefile will just default to -03

Also about install target you need to know that ports system sets
PREFIX as env(1) variable, so I guess you can rename INSTALLPREFIX to
just PREFIX:
PREFIX?=/usr/local

Then in port's Makefile add this line:
FAKE_FLAGS =INSTALLMAN=${PREFIX}/man

But I am writting this for future versions of your project, so you don't
need to patch dMagentic 0.12

Also I still recommend you to use any version control system. If you are
unsure which one, most people prefer Git. Other popular VCS'es are:
Mercurial, SVN, Fossil and CVS. It's a really useful tool every
developer needs, I wish I could explain why.



Haha.

Dude, apology ACCEPTED. But apology NOT NECESSARY. :) I was
not offended at all You put in some effort, looking at my work.
You gave me feedback, I learned something.
And you helped me! That is the most important thing.

My goal is to get my project into the ports tree, and your input
gets me closer. In other words: THANK YOU SO SO MUCH!!!



I definitely will work in the changes you suggested. They are very
good. As for the VCS: I am currently hosting the source on github,
albeit in a private repository. I will make it public soon.

For the ports, I have created a public repo, you can find it at
http://www.github.com/dettus/ports_and_packages.


Thomas






games/dMagnetic: New port for dMagnetic - A Magnetic Scrolls Interpreter (Help needed)

2019-05-19 Thread dettus

Hello.


My name is Thomas Dettbarn. Currently, I am working on dMagnetic, a
Magnetic Scrolls Interpreter. Being a fan of OpenBSD, I would be
thrilled to see this game make it into your ports, so I took the
liberty of creating a crude version of a port myself.
(It is the one attached to this mail)

Being more of a "developer" rather than a "maintainer", I would like to
hand this one of to somebody who is a little more experienced with
porting games.
Currently, I am having issues as on where/how to install some extra
files, such as the README.txt and a .ini.

The license is a BSD-2 clause, so that should work for you.

Moreover, the port itself only includes the interpreter, any user will
have to manually download the game binaries from
https://msmemorial.if-legends.org/memorial.php.


Thomas Dettbarn



dMagnetic.tar.gz
Description: application/gzip