pkgsrc-WIP-changes archive

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

xemu: add 2 included rom files to the install.



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Tue Nov 9 18:54:12 2021 +0100
Changeset:	6e4bdb457b89e6fa6725b56c66c4b52b76627178

Modified Files:
	xemu/Makefile
	xemu/PLIST

Log Message:
xemu: add 2 included rom files to the install.

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

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

diffstat:
 xemu/Makefile | 6 ++++++
 xemu/PLIST    | 2 ++
 2 files changed, 8 insertions(+)

diffs:
diff --git a/xemu/Makefile b/xemu/Makefile
index ca8d5ca228..81784321b5 100644
--- a/xemu/Makefile
+++ b/xemu/Makefile
@@ -19,6 +19,8 @@ REPLACE_BASH+=	build/configure/configure
 MAKE_ENV+=	DESTDIR=${DESTDIR}
 MAKE_ENV+=	SDL2_RPATH=${COMPILER_RPATH_FLAG},${BUILDLINK_PREFIX.SDL2}/lib
 
+INSTALLATION_DIRS+= 	share/xemu-lgb
+
 # This subst only for NetBSD?
 SUBST_CLASSES+=		rl
 SUBST_STAGE.rl=		pre-configure
@@ -41,6 +43,10 @@ SUBST_MESSAGE.destdir=	Inserting DESTDIR into INSTALL_BINDIR
 do-configure:
 	cd ${WRKSRC}/build/configure && bash ./configure --arch=native
 
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/rom/clcd-u104-parasite.rom ${DESTDIR}${PREFIX}/share/xemu-lgb/
+	${INSTALL_DATA} ${WRKSRC}/rom/vic20-emulator-tool.rom ${DESTDIR}${PREFIX}/share/xemu-lgb/
+
 .include "../../devel/SDL2/buildlink3.mk"
 .include "../../devel/readline/buildlink3.mk"
 .include "../../x11/gtk3/buildlink3.mk"
diff --git a/xemu/PLIST b/xemu/PLIST
index c43dfc2676..dbabdb95bb 100644
--- a/xemu/PLIST
+++ b/xemu/PLIST
@@ -6,3 +6,5 @@ bin/xemu-xmega65
 bin/xemu-xprimo
 bin/xemu-xtvc
 bin/xemu-xvic20
+share/xemu-lgb/clcd-u104-parasite.rom
+share/xemu-lgb/vic20-emulator-tool.rom


Home | Main Index | Thread Index | Old Index