pkgsrc-WIP-changes archive

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

meka-git: rename from meka



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Dec 14 18:03:26 2016 +0100
Changeset:	c650cc2ab2c72546ee926ce1d81cfb6702aa0bd8

Modified Files:
	Makefile
Added Files:
	meka-git/DESCR
	meka-git/Makefile
	meka-git/PLIST
	meka-git/distinfo
	meka-git/patches/patch-meka_srcs_Makefile
Removed Files:
	meka/DESCR
	meka/Makefile
	meka/PLIST
	meka/distinfo
	meka/patches/patch-Makefile

Log Message:
meka-git: rename from meka

Switch to tracking github HEAD.

Finish packaging, do some cleanups.
Runtime untested.

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

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

diffstat:
 Makefile                                  |  2 +-
 meka-git/DESCR                            | 11 ++++++++
 meka-git/Makefile                         | 41 +++++++++++++++++++++++++++++
 meka-git/PLIST                            |  2 ++
 meka-git/distinfo                         |  7 +++++
 meka-git/patches/patch-meka_srcs_Makefile | 16 ++++++++++++
 meka/DESCR                                | 11 --------
 meka/Makefile                             | 43 -------------------------------
 meka/PLIST                                |  2 --
 meka/distinfo                             |  7 -----
 meka/patches/patch-Makefile               | 14 ----------
 11 files changed, 78 insertions(+), 78 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index d07c120..bc11710 100644
--- a/Makefile
+++ b/Makefile
@@ -1806,7 +1806,7 @@ SUBDIR+=	meep
 SUBDIR+=	meep-mpi
 SUBDIR+=	meep-openmpi
 SUBDIR+=	megaglest
-SUBDIR+=	meka
+SUBDIR+=	meka-git
 SUBDIR+=	memdump
 SUBDIR+=	memgrep
 SUBDIR+=	menumaker
diff --git a/meka-git/DESCR b/meka-git/DESCR
new file mode 100644
index 0000000..7765d84
--- /dev/null
+++ b/meka-git/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-git/Makefile b/meka-git/Makefile
new file mode 100644
index 0000000..e98f9f4
--- /dev/null
+++ b/meka-git/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD$
+
+DISTNAME=	meka-0.72
+CATEGORIES= 	emulators
+#GITHUB_TAG=	2ea7d721a6c8adf4d1c2a70303fa529810b2d72e
+MASTER_SITES=	${MASTER_SITE_GITHUB:=ocornut/}
+
+MAINTAINER=	amoibos%gmail.com@localhost
+HOMEPAGE=	http://smspower.org/
+COMMENT=	Meka is a multi-machine 8 bit emulator
+LICENSE=	2-clause-bsd
+
+BUILD_DEPENDS+=	nasm>=2.0:../../devel/nasm
+
+BUILD_TARGET=	exe
+
+GIT_REPOSITORIES=	meka
+GIT_REPO.meka=	https://github.com/ocornut/meka
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pkg-config gmake
+
+WRKSRC=		${WRKDIR}/meka
+
+BUILD_DIRS=	meka/srcs
+INSTALLATION_DIRS=	bin
+
+SUBST_CLASSES+=			fix-paths
+SUBST_STAGE.fix-paths=		pre-configure
+SUBST_MESSAGE.fix-paths=	Replace hardcoded paths
+SUBST_FILES.fix-paths=		meka/srcs/Makefile
+SUBST_SED.fix-paths=		-e 's,"/usr/local,"${PREFIX},g'
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/meka/meka ${DESTDIR}${PREFIX}/bin
+
+#.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../wip/allegro52/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/meka-git/PLIST b/meka-git/PLIST
new file mode 100644
index 0000000..a78c5df
--- /dev/null
+++ b/meka-git/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/meka
diff --git a/meka-git/distinfo b/meka-git/distinfo
new file mode 100644
index 0000000..0e04a6b
--- /dev/null
+++ b/meka-git/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-meka_srcs_Makefile) = dce49fb2db0f1a30eb22f8915c12ddd0b140888f
diff --git a/meka-git/patches/patch-meka_srcs_Makefile b/meka-git/patches/patch-meka_srcs_Makefile
new file mode 100644
index 0000000..8c4b910
--- /dev/null
+++ b/meka-git/patches/patch-meka_srcs_Makefile
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Make it buildable for all allegro version >= 5
+Add required link option
+
+--- meka/srcs/Makefile.orig	2016-12-14 16:51:57.000000000 +0000
++++ meka/srcs/Makefile
+@@ -203,7 +203,7 @@ LIB_ALLEG = -lalleg
+ 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)
diff --git a/meka/DESCR b/meka/DESCR
deleted file mode 100644
index 7765d84..0000000
--- a/meka/DESCR
+++ /dev/null
@@ -1,11 +0,0 @@
-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
deleted file mode 100644
index 4ee469e..0000000
--- a/meka/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-# $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
deleted file mode 100644
index 8e37ec0..0000000
--- a/meka/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD$
-bin/neka
diff --git a/meka/distinfo b/meka/distinfo
deleted file mode 100644
index 1250a71..0000000
--- a/meka/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$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
deleted file mode 100644
index 1838c29..0000000
--- a/meka/patches/patch-Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-$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