pkgsrc-WIP-changes archive

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

meka-git: install all files needed by the main program



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Sep 3 18:57:51 2017 +0200
Changeset:	ed22e7b14118313e00fb3d085384cb2abf91afa5

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

Log Message:
meka-git: install all files needed by the main program

Howto:
cd ${PREFIX}/share/meka && meka

Fix pkglint warnings while here, and adapt version number to
what program reports.

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

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

diffstat:
 meka-git/Makefile                         | 27 +++++++----
 meka-git/PLIST                            | 81 +++++++++++++++++++++++++++++++
 meka-git/distinfo                         |  2 +-
 meka-git/patches/patch-meka_srcs_Makefile |  4 +-
 4 files changed, 102 insertions(+), 12 deletions(-)

diffs:
diff --git a/meka-git/Makefile b/meka-git/Makefile
index 21298918b6..6aa6f76438 100644
--- a/meka-git/Makefile
+++ b/meka-git/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	meka-0.72
+DISTNAME=	meka-0.80alpha0
 CATEGORIES= 	emulators
 #GITHUB_TAG=	2ea7d721a6c8adf4d1c2a70303fa529810b2d72e
 MASTER_SITES=	${MASTER_SITE_GITHUB:=ocornut/}
@@ -18,21 +18,30 @@ GIT_REPOSITORIES=	meka
 GIT_REPO.meka=	git://github.com/ocornut/meka
 
 USE_LANGUAGES=	c c++
-USE_TOOLS+=	pkg-config gmake
+USE_TOOLS+=	gmake pax pkg-config
 
 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'
+INSTALLATION_DIRS=	bin share/doc/meka share/meka
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/meka/meka ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/meka/meka.blt ${DESTDIR}${PREFIX}/share/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/meka.dat ${DESTDIR}${PREFIX}/share/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/meka.inp ${DESTDIR}${PREFIX}/share/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/meka.msg ${DESTDIR}${PREFIX}/share/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/meka.nam ${DESTDIR}${PREFIX}/share/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/meka.pat ${DESTDIR}${PREFIX}/share/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/meka.thm ${DESTDIR}${PREFIX}/share/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/icons.zip ${DESTDIR}${PREFIX}/share/meka
+	cd ${WRKSRC}/meka && ${PAX} -pp -rw Data Themes ${DESTDIR}${PREFIX}/share/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/meka.txt ${DESTDIR}${PREFIX}/share/doc/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/changes.txt ${DESTDIR}${PREFIX}/share/doc/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/compat.txt ${DESTDIR}${PREFIX}/share/doc/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/debugger.txt ${DESTDIR}${PREFIX}/share/doc/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/multi.txt ${DESTDIR}${PREFIX}/share/doc/meka
+	${INSTALL_DATA} ${WRKSRC}/meka/tech.txt ${DESTDIR}${PREFIX}/share/doc/meka
 
 #.include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
diff --git a/meka-git/PLIST b/meka-git/PLIST
index a78c5df255..66b2a66158 100644
--- a/meka-git/PLIST
+++ b/meka-git/PLIST
@@ -1,2 +1,83 @@
 @comment $NetBSD$
 bin/meka
+share/doc/meka/changes.txt
+share/doc/meka/compat.txt
+share/doc/meka/debugger.txt
+share/doc/meka/meka.txt
+share/doc/meka/multi.txt
+share/doc/meka/tech.txt
+share/meka/Data/cursor_lightphaser.tga
+share/meka/Data/cursor_main.tga
+share/meka/Data/cursor_sportspad.tga
+share/meka/Data/cursor_tvoekaki.tga
+share/meka/Data/cursor_wait.tga
+share/meka/Data/flag_au.tga
+share/meka/Data/flag_br.tga
+share/meka/Data/flag_ca.tga
+share/meka/Data/flag_ch.tga
+share/meka/Data/flag_de.tga
+share/meka/Data/flag_eu.tga
+share/meka/Data/flag_fr.tga
+share/meka/Data/flag_hk.tga
+share/meka/Data/flag_it.tga
+share/meka/Data/flag_jp.tga
+share/meka/Data/flag_kr.tga
+share/meka/Data/flag_nz.tga
+share/meka/Data/flag_pt.tga
+share/meka/Data/flag_sp.tga
+share/meka/Data/flag_sw.tga
+share/meka/Data/flag_tw.tga
+share/meka/Data/flag_uk.tga
+share/meka/Data/flag_unknown.tga
+share/meka/Data/flag_us.tga
+share/meka/Data/font_0.tga
+share/meka/Data/font_1.tga
+share/meka/Data/font_2.tga
+share/meka/Data/fonts/Crisp.ttf
+share/meka/Data/fonts/PixelCarnageMono.ttf
+share/meka/Data/fonts/ProggyCleanSZ.ttf
+share/meka/Data/fonts/ProggySmall.ttf
+share/meka/Data/fonts/ProggySquareSZ.ttf
+share/meka/Data/fonts/ProggyTinySZ.ttf
+share/meka/Data/gfx_dragon.tga
+share/meka/Data/gfx_glasses.tga
+share/meka/Data/gfx_graphicboardv2.tga
+share/meka/Data/gfx_heart1.tga
+share/meka/Data/gfx_heart2.tga
+share/meka/Data/gfx_inputs.tga
+share/meka/Data/gfx_joypad.tga
+share/meka/Data/gfx_keyboard.tga
+share/meka/Data/gfx_lightphaser.tga
+share/meka/Data/gfx_paddlecontrol.tga
+share/meka/Data/gfx_sportspad.tga
+share/meka/Data/gfx_superheropad.tga
+share/meka/Data/gfx_tvoekaki.tga
+share/meka/Data/icon_bad.tga
+share/meka/Data/icon_bios.tga
+share/meka/Data/icon_hack.tga
+share/meka/Data/icon_homebrew.tga
+share/meka/Data/icon_proto.tga
+share/meka/Data/icon_trans_jp.tga
+share/meka/Data/icon_trans_jp_us.tga
+share/meka/Data/machine_coleco.tga
+share/meka/Data/machine_sms.tga
+share/meka/Data/machine_sms_cartridge.tga
+share/meka/Data/machine_sms_light.tga
+share/meka/Data/rom_coleco.rom
+share/meka/Data/rom_sf7000.rom
+share/meka/Data/rom_sms.rom
+share/meka/Data/rom_smsj.rom
+share/meka/Themes/AlexKidd.png
+share/meka/Themes/NinjaGaiden.png
+share/meka/Themes/PhantasyStar.png
+share/meka/Themes/PsychoFox.png
+share/meka/Themes/README.txt
+share/meka/Themes/WonderBoyIII.png
+share/meka/icons.zip
+share/meka/meka.blt
+share/meka/meka.dat
+share/meka/meka.inp
+share/meka/meka.msg
+share/meka/meka.nam
+share/meka/meka.pat
+share/meka/meka.thm
diff --git a/meka-git/distinfo b/meka-git/distinfo
index 03a4738672..ff262d6d9d 100644
--- a/meka-git/distinfo
+++ b/meka-git/distinfo
@@ -4,4 +4,4 @@ SHA1 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 5776fe10fcc6a347
 RMD160 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = b273722c55653662b61ae92cd34019bdfa07bae2
 SHA512 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 528392c4755ed2e289c2a90d155d43fcbeb6eae79bdbc1a69452457a2678c7847b6ace318cf262e6015097f2b5e20dce7f764fbdb3884e0c5643595d82dff340
 Size (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 16278029 bytes
-SHA1 (patch-meka_srcs_Makefile) = 6f5fba99606abb6e0a40482cdea08f93b47b629e
+SHA1 (patch-meka_srcs_Makefile) = 2afcfbbbdabf02279b0a8574eda98ed6093f8edb
diff --git a/meka-git/patches/patch-meka_srcs_Makefile b/meka-git/patches/patch-meka_srcs_Makefile
index 2e5b223c4f..c0c621fe35 100644
--- a/meka-git/patches/patch-meka_srcs_Makefile
+++ b/meka-git/patches/patch-meka_srcs_Makefile
@@ -7,7 +7,7 @@ Honor LDFLAGS.
 
 --- meka/srcs/Makefile.orig	2016-12-14 16:51:57.000000000 +0000
 +++ meka/srcs/Makefile
-@@ -203,7 +203,7 @@ LIB_ALLEG = -lalleg
+@@ -203,7 +203,7 @@ LIB_ALLEG = -lalleg
  endif
  
  ifeq ($(SYSTEM), unix)
@@ -16,7 +16,7 @@ Honor LDFLAGS.
  endif
  
  ifeq ($(SYSTEM), macosx)
-@@ -219,7 +219,7 @@ ifeq ($(SYSTEM), win32)
+@@ -219,7 +219,7 @@ ifeq ($(SYSTEM), win32)
  LIB = $(LIB_PATHS) $(RESSOURCES)
  LIB += $(LIB_ALLEG) $(LIB_SOUND) $(LIB_ZIP) $(LIB_OS) -nodefaultlib:msvcrt
  else


Home | Main Index | Thread Index | Old Index