update fnaify to 2.1, with compatibility for additional games:

Akane the Kunoichi
Amazing Princess Sarah
Apple Jack 1&2
Dead Pixels
Draw a Stickman: EPIC
Explosionade
Game Type
Grand Class Melee 2
Mount Your Friends
Phoenix Force
Super Blood Hockey
Sword of the Stars: The Pit
Terraria
Weapon of Choice
This commit is contained in:
thfr 2019-12-08 17:02:33 +00:00
parent 01519cab78
commit ecfac0c35e
4 changed files with 37 additions and 11 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.6 2019/09/22 14:46:55 thfr Exp $
# $OpenBSD: Makefile,v 1.7 2019/12/08 17:02:33 thfr Exp $
# Don't bother on non-mono archs.
ONLY_FOR_ARCHS = ${MONO_ARCHS}
COMMENT = script to configure FNA games to run on OpenBSD
DISTNAME = fnaify-2.0
V = 2.1
COMMENT = run FNA/XNA games on OpenBSD
DISTNAME = fnaify-${V}
CATEGORIES = games
HOMEPAGE = https://www.PlayOnBSD.com
@ -13,7 +14,7 @@ MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
# ISC
PERMIT_PACKAGE = Yes
MASTER_SITES = https://mirrors.nycbug.org/pub/distfiles/
MASTER_SITES = https://github.com/rfht/fnaify/releases/download/${V}/
# it may be possible to drop audio/openal and a few others when FAudio
# has been disseminated to all FNA games
@ -36,8 +37,4 @@ NO_TEST = Yes
do-configure:
sed -i 's,\/usr/\local,${LOCALBASE},g' ${WRKSRC}/fnaify
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/fnaify ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fnaify.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (fnaify-2.0.tar.gz) = lxg6ea1LmJKV+fRE37LyZIh8HVEO6V0Ymk5kuE3oE/w=
SIZE (fnaify-2.0.tar.gz) = 13068
SHA256 (fnaify-2.1.tar.gz) = wYzdnplrK3U+5rqeL0a1iXrsBokAdUAlA9xx4UbDNQk=
SIZE (fnaify-2.1.tar.gz) = 14314

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-Makefile,v 1.1 2019/12/08 17:02:33 thfr Exp $
remove DESTDIR var
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -2,14 +2,14 @@ PREFIX ?= /usr/local
.PHONY: install
install:
- mkdir -p $(DESTDIR)$(PREFIX)/share/fnaify/
- cp fnaify $(DESTDIR)$(PREFIX)/bin/
- cp fnaify.dllmap.config $(DESTDIR)$(PREFIX)/share/fnaify/
- cp fnaify.1 $(DESTDIR)$(PREFIX)/man/man1/
+ mkdir -p $(PREFIX)/share/fnaify/
+ cp fnaify $(PREFIX)/bin/
+ cp fnaify.dllmap.config $(PREFIX)/share/fnaify/
+ cp fnaify.1 $(PREFIX)/man/man1/
readme: fnaify.1
mandoc -mdoc -T markdown fnaify.1 > README.md
.PHONY: uninstall
uninstall:
- rm -f $(DESTDIR)$(PREFIX)/share/fnaify/fnaify.dllmap.config
+ rm -f $(PREFIX)/share/fnaify/fnaify.dllmap.config

View File

@ -1,4 +1,6 @@
@comment $OpenBSD: PLIST,v 1.2 2019/09/22 14:46:55 thfr Exp $
@comment $OpenBSD: PLIST,v 1.3 2019/12/08 17:02:33 thfr Exp $
bin/fnaify
@man man/man1/fnaify.1
share/doc/pkg-readmes/${PKGSTEM}
share/fnaify/
share/fnaify/fnaify.dllmap.config