pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add Michael Fogleman's Minecraft clone as wip/fogleman-craft.



Module Name:	pkgsrc-wip
Committed By:	Christian Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Sat Nov 12 10:40:23 2016 -0800
Changeset:	9c81b9da3fdfc3af61176385cc995064cb0061e5

Modified Files:
	Makefile
Added Files:
	fogleman-craft/DESCR
	fogleman-craft/Makefile
	fogleman-craft/PLIST
	fogleman-craft/TODO
	fogleman-craft/distinfo

Log Message:
Add Michael Fogleman's Minecraft clone as wip/fogleman-craft.

The game is actually just called "Craft," but games/craft has already been
taken.

Craft is a Minecraft clone for Windows, Mac OS X and Linux. It is written in
just a few thousand lines of C and uses modern OpenGL (shaders). Online
multiplayer support is included using a Python-based server.

Tested only on Darwin so far.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9c81b9da3fdfc3af61176385cc995064cb0061e5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  1 +
 fogleman-craft/DESCR    |  3 +++
 fogleman-craft/Makefile | 30 ++++++++++++++++++++++++++++++
 fogleman-craft/PLIST    |  2 ++
 fogleman-craft/TODO     |  2 ++
 fogleman-craft/distinfo |  6 ++++++
 6 files changed, 44 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c7d796b..e0e8021 100644
--- a/Makefile
+++ b/Makefile
@@ -750,6 +750,7 @@ SUBDIR+=	flvmeta
 SUBDIR+=	flyback
 SUBDIR+=	fnord
 SUBDIR+=	fnteditfs
+SUBDIR+=	fogleman-craft
 SUBDIR+=	font-bitstream-speedo
 SUBDIR+=	fontaine
 SUBDIR+=	fonttosfnt
diff --git a/fogleman-craft/DESCR b/fogleman-craft/DESCR
new file mode 100644
index 0000000..d68e269
--- /dev/null
+++ b/fogleman-craft/DESCR
@@ -0,0 +1,3 @@
+Craft is a Minecraft clone for Windows, Mac OS X and Linux. It is written in
+just a few thousand lines of C and uses modern OpenGL (shaders). Online
+multiplayer support is included using a Python-based server.
diff --git a/fogleman-craft/Makefile b/fogleman-craft/Makefile
new file mode 100644
index 0000000..748db2b
--- /dev/null
+++ b/fogleman-craft/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME=	Craft-${GITHUB_TAG}
+PKGNAME=	fogleman-craft-${VERSION}
+VERSION=	1.0
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=fogleman/}
+CATEGORIES=	games
+LICENSE=	mit
+
+MAINTAINER=	cfkoch%edgebsd.org@localhost
+COMMENT=	Simple Minecraft clone written in C
+HOMEPAGE=	https://www.michaelfogleman.com/craft/
+
+USE_CMAKE=	yes
+USE_LANGUAGES+=	c c++
+
+WRKSRC=			${WRKDIR}/Craft-${VERSION}
+INSTALLATION_DIRS=	bin
+
+# The default 'install' target wants to install the dependencies it
+# had to build in order to build craft(1), but not craft(1) itself. Wut.
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/craft ${DESTDIR}${PREFIX}/bin/craft
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fogleman-craft/PLIST b/fogleman-craft/PLIST
new file mode 100644
index 0000000..8058388
--- /dev/null
+++ b/fogleman-craft/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/craft
diff --git a/fogleman-craft/TODO b/fogleman-craft/TODO
new file mode 100644
index 0000000..8c8c45c
--- /dev/null
+++ b/fogleman-craft/TODO
@@ -0,0 +1,2 @@
+- Tested only on Darwin so far
+- Avoid building the built-in SQLite3 if possible
diff --git a/fogleman-craft/distinfo b/fogleman-craft/distinfo
new file mode 100644
index 0000000..dc75000
--- /dev/null
+++ b/fogleman-craft/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (Craft-v1.0.tar.gz) = 0e4f49d5d1a2f33204b98f76c5d34b30077babb1
+RMD160 (Craft-v1.0.tar.gz) = 6d86607f2a47ee43d952fb983e236e0a8d55615e
+SHA512 (Craft-v1.0.tar.gz) = ad02f874cff843138a83fa1ee21322da8cf63e1dfc09b94cacb92817b40814191c4f8cbf75ac494a4ea7474de845504ebf15b6ff47dde3968dcf4e1e124862b8
+Size (Craft-v1.0.tar.gz) = 2314437 bytes


Home | Main Index | Thread Index | Old Index