pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import Meka emulator for Sega's 8 bit systems.
Module Name: pkgsrc-wip
Committed By: Daniel Oelschlegel <amoibos%gmail.com@localhost>
Pushed By: amoibos
Date: Sat Dec 10 13:31:00 2016 +0000
Changeset: 9356dd047cc65f97e146b9f6a3547cb772447634
Modified Files:
Makefile
Added Files:
meka/DESCR
meka/Makefile
meka/PLIST
meka/distinfo
meka/patches/patch-Makefile
Log Message:
Import Meka emulator for Sega's 8 bit systems.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9356dd047cc65f97e146b9f6a3547cb772447634
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 ++
meka/DESCR | 11 +++++++++++
meka/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
meka/PLIST | 2 ++
meka/distinfo | 7 +++++++
meka/patches/patch-Makefile | 14 ++++++++++++++
6 files changed, 79 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index e83dbc8..38cf13d 100644
--- a/Makefile
+++ b/Makefile
@@ -1798,6 +1798,7 @@ SUBDIR+= meep
SUBDIR+= meep-mpi
SUBDIR+= meep-openmpi
SUBDIR+= megaglest
+SUBDIR+= meka
SUBDIR+= memdump
SUBDIR+= memgrep
SUBDIR+= menumaker
@@ -3668,6 +3669,7 @@ SUBDIR+= rar4
SUBDIR+= raster3d
SUBDIR+= ratpoints
SUBDIR+= ratproxy
+#SUBDIR+= raw
SUBDIR+= rawdog
SUBDIR+= rc.d.Interix
SUBDIR+= rc.subr
diff --git a/meka/DESCR b/meka/DESCR
new file mode 100644
index 0000000..7765d84
--- /dev/null
+++ b/meka/DESCR
@@ -0,0 +1,11 @@
+MEKA is a multi-machine emulator for MS-Windows and GNU/Linux(older versions
+support MS-DOS). The following machines are supported by MEKA:
+
+ * Sega Game 1000 (SG-1000)
+ * Sega Computer 3000 (SC-3000)
+ * Sega Super Control Station (SF-7000)
+ * Sega Mark III (+ FM Unit)
+ * Sega Master System (SMS)
+ * Sega Game Gear (GG)
+ * ColecoVision (COLECO)
+ * Othello Multivision (OMV)
diff --git a/meka/Makefile b/meka/Makefile
new file mode 100644
index 0000000..4ee469e
--- /dev/null
+++ b/meka/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD$
+#VERSION= 0.80
+#PKGNAME= meka-${VERSION}
+CATEGORIES= emulators
+#GHCOMMIT= 0ec668276ad207ec5cf3fecbac3f541a1b07f2a7
+GHCOMMIT= 2ea7d721a6c8adf4d1c2a70303fa529810b2d72e
+GITHUB_TAG= ${GHCOMMIT}
+DISTNAME= meka
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ocornut/}
+EXTRACT_SUFX= .zip
+
+LICENSE= 2-clause-bsd
+COMMENT= Meka is a multi-machine 8 bit emulator
+MAINTAINER= amoibos%gmail.com@localhost
+HOMEPAGE= http://smspower.org/
+
+BUILD_TARGET= exe
+
+USE_LANGUAGES= c c++
+
+DIST_SUBDIR= meka
+WRKSRC= ${WRKDIR}/meka-${GHCOMMIT}/meka/srcs
+
+MAKE_FILE= Makefile
+USE_TOOLS+= pkg-config gmake
+
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= pre-configure
+SUBST_MESSAGE.fix-paths= Replace hardcoded paths
+SUBST_FILES.fix-paths= Makefile
+SUBST_SED.fix-paths= -e 's,"/usr/local,"${PREFIX},g'
+
+#pre_install:
+# ${CP} ../meka ${DESTDIR}${PREFIX}bin
+
+
+#.include "../../devel/nasm/buil
+DEPENDS+= nasm>=2.0:../../devel/nasm
+
+#.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../wip/allegro52/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/meka/PLIST b/meka/PLIST
new file mode 100644
index 0000000..8e37ec0
--- /dev/null
+++ b/meka/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/neka
diff --git a/meka/distinfo b/meka/distinfo
new file mode 100644
index 0000000..1250a71
--- /dev/null
+++ b/meka/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 5776fe10fcc6a347f6e3a320b9c87845989b5fbe
+RMD160 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = b273722c55653662b61ae92cd34019bdfa07bae2
+SHA512 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 528392c4755ed2e289c2a90d155d43fcbeb6eae79bdbc1a69452457a2678c7847b6ace318cf262e6015097f2b5e20dce7f764fbdb3884e0c5643595d82dff340
+Size (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 16278029 bytes
+SHA1 (patch-Makefile) = 0085c65433e90b1f28b1b08af179f5260a2e6e60
diff --git a/meka/patches/patch-Makefile b/meka/patches/patch-Makefile
new file mode 100644
index 0000000..1838c29
--- /dev/null
+++ b/meka/patches/patch-Makefile
@@ -0,0 +1,14 @@
+$NetBSD$
+Make it buildable for all allegro version >= 5
+Add required link option
+--- Makefile.orig 2016-12-07 20:32:00.000000000 +0000
++++ Makefile 2016-12-10 12:22:23.848089543 +0000
+@@ -203,7 +203,7 @@
+ endif
+
+ ifeq ($(SYSTEM), unix)
+-LIB_ALLEG = `pkg-config --cflags --libs allegro-5.0 allegro_image-5.0 allegro_audio-5.0 allegro_font-5.0 allegro_primitives-5.0 allegro_ttf-5.0`
++LIB_ALLEG = `pkg-config --cflags --libs allegro-5 allegro_image-5 allegro_audio-5 allegro_font-5 allegro_primitives-5 allegro_ttf-5` -Wl,-R${PREFIX}/lib
+ endif
+
+ ifeq ($(SYSTEM), macosx)
Home |
Main Index |
Thread Index |
Old Index