aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/dMagnetic/Makefile24
-rw-r--r--games/dMagnetic/distinfo3
-rw-r--r--games/dMagnetic/pkg-descr6
-rw-r--r--games/dMagnetic/pkg-plist5
5 files changed, 39 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 427a63a93ba2..c4cfeff8ecdf 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -200,6 +200,7 @@
SUBDIR += diaspora
SUBDIR += digger-vgl
SUBDIR += divide-and-succeed
+ SUBDIR += dMagnetic
SUBDIR += dmjava
SUBDIR += dodgindiamond2
SUBDIR += domination
diff --git a/games/dMagnetic/Makefile b/games/dMagnetic/Makefile
new file mode 100644
index 000000000000..e5be3024ae1a
--- /dev/null
+++ b/games/dMagnetic/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= dMagnetic
+PORTVERSION= 0.13
+CATEGORIES= games
+MASTER_SITES= http://www.dettus.net/dMagnetic/
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= dettus@dettus.net
+COMMENT= Magnetic Scrolls Interpreter
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dMagnetic.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/dMagneticini.5 ${STAGEDIR}${MANPREFIX}/man/man5
+ ${MKDIR} ${STAGEDIR}/${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/dMagnetic.ini ${STAGEDIR}/${DATADIR}
+ ${MKDIR} ${STAGEDIR}/${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}/${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/games/dMagnetic/distinfo b/games/dMagnetic/distinfo
new file mode 100644
index 000000000000..0e8b6347c607
--- /dev/null
+++ b/games/dMagnetic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558898602
+SHA256 (dMagnetic_0.13.tar.gz) = ccc2b7ab6028c770580567d3b6460811755047938f26a61adad20be569c37ec2
+SIZE (dMagnetic_0.13.tar.gz) = 59962
diff --git a/games/dMagnetic/pkg-descr b/games/dMagnetic/pkg-descr
new file mode 100644
index 000000000000..e74e56cd2032
--- /dev/null
+++ b/games/dMagnetic/pkg-descr
@@ -0,0 +1,6 @@
+dMagnetic is a Magnetic Scrolls Interpreter. It allows to play classic text
+adventures such as "The Pawn", "The Guild of Thieves", "Fish!", "Jinxter",
+"Myth", "Corruption" and "Wonderland" in a terminal window. The beautiful
+graphics are being rendered in glorious ANSI art.
+
+WWW: http://www.dettus.net/dMagnetic/
diff --git a/games/dMagnetic/pkg-plist b/games/dMagnetic/pkg-plist
new file mode 100644
index 000000000000..9ca1110aeb36
--- /dev/null
+++ b/games/dMagnetic/pkg-plist
@@ -0,0 +1,5 @@
+bin/dMagnetic
+man/man1/dMagnetic.1.gz
+man/man5/dMagneticini.5.gz
+%%DATADIR%%/dMagnetic.ini
+%%DOCSDIR%%/README.txt