pkgsrc-WIP-changes archive

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

add fnaify 3.0



Module Name:	pkgsrc-wip
Committed By:	Maya Rashish <maya%NetBSD.org@localhost>
Pushed By:	coypu
Date:		Sat Jan 23 13:17:44 2021 +0200
Changeset:	4555c4379fb9c374e82e3ff04b7f17462945a71c

Added Files:
	fnaify/DESCR
	fnaify/Makefile
	fnaify/PLIST
	fnaify/TODO
	fnaify/distinfo
	fnaify/patches/patch-Makefile

Log Message:
add fnaify 3.0

XNA/FNA game launcher

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

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

diffstat:
 fnaify/DESCR                  |  1 +
 fnaify/Makefile               | 34 ++++++++++++++++++++++++++++++++++
 fnaify/PLIST                  |  4 ++++
 fnaify/TODO                   |  1 +
 fnaify/distinfo               |  7 +++++++
 fnaify/patches/patch-Makefile | 20 ++++++++++++++++++++
 6 files changed, 67 insertions(+)

diffs:
diff --git a/fnaify/DESCR b/fnaify/DESCR
new file mode 100644
index 0000000000..e4da3175fb
--- /dev/null
+++ b/fnaify/DESCR
@@ -0,0 +1 @@
+FNA/XNA game launcher.
diff --git a/fnaify/Makefile b/fnaify/Makefile
new file mode 100644
index 0000000000..122dfcd089
--- /dev/null
+++ b/fnaify/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	fnaify
+GITHUB_TAG=	3.0
+DISTNAME=	3.0
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=rfht/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/rfht/fnaify/
+COMMENT=	Launcher for games using the FNA engine
+LICENSE=	isc
+
+WRKSRC=		${WRKDIR}/fnaify-3.0
+USE_LANGUAGES=	# none
+USE_TOOLS+=	bash:run
+
+NO_BUILD=	yes
+INSTALLATION_DIRS+=	${PKGMANDIR}/man1 bin share/fnaify
+
+REPLACE_BASH+=			fnaify
+
+SUBST_CLASSES+=			pkgsrc-paths
+SUBST_STAGE.pkgsrc-paths=	pre-configure
+SUBST_FILES.pkgsrc-paths+=	fnaify
+SUBST_SED.pkgsrc-paths=		-e s,depdir.*,depdir=${PREFIX}/lib:${X11BASE}/lib,
+SUBST_SED.pkgsrc-paths=		-e s,fnadir.*,fnadir=${PREFIX}/share/FNA/,
+SUBST_SED.pkgsrc-paths=		-e s,/usr/local/,${PREFIX},
+
+
+.include "../../wip/fna/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fnaify/PLIST b/fnaify/PLIST
new file mode 100644
index 0000000000..90c11ed29e
--- /dev/null
+++ b/fnaify/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/fnaify
+man/man1/fnaify.1
+share/fnaify/fnaify.dllmap.config
diff --git a/fnaify/TODO b/fnaify/TODO
new file mode 100644
index 0000000000..e87e79e657
--- /dev/null
+++ b/fnaify/TODO
@@ -0,0 +1 @@
+XXX still haven't got a game working.
diff --git a/fnaify/distinfo b/fnaify/distinfo
new file mode 100644
index 0000000000..3102cd6c1d
--- /dev/null
+++ b/fnaify/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (fnaify/3.0.tar.gz) = 0eb8bdabcd6efb15006c9d9ca66a319c5e45b3fc
+RMD160 (fnaify/3.0.tar.gz) = 08edbd04fa242e3850c0f3c0e4f914c213efff84
+SHA512 (fnaify/3.0.tar.gz) = 7e6ad8db68140d177b91b83882ff44abfa259b3462a9c6c9a9e8b8c27b3a0eb5cb6b1626457ba8dc118c825f6840c70b77d766055f074df95146820d108e1f15
+Size (fnaify/3.0.tar.gz) = 34088 bytes
+SHA1 (patch-Makefile) = 9272e508af7f696daedaa14230b8b1cdf4926122
diff --git a/fnaify/patches/patch-Makefile b/fnaify/patches/patch-Makefile
new file mode 100644
index 0000000000..d5e467bd6f
--- /dev/null
+++ b/fnaify/patches/patch-Makefile
@@ -0,0 +1,20 @@
+$NetBSD$
+
+support different PKGMANDIR
+
+--- Makefile.orig	2020-10-07 20:31:27.000000000 +0000
++++ Makefile
+@@ -1,11 +1,12 @@
+ PREFIX ?= /usr/local
++PKGMANDIR ?= man
+ 
+ .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/
++	cp fnaify.1 $(DESTDIR)$(PREFIX)/${PKGMANDIR}/man1/
+ 
+ readme: fnaify.1
+ 	mandoc -mdoc -T markdown fnaify.1 > README.md


Home | Main Index | Thread Index | Old Index