pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games Add fnaify version 3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d2faa1122d5
branches:  trunk
changeset: 445516:4d2faa1122d5
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Jan 24 19:13:06 2021 +0000

description:
Add fnaify version 3.0

FNA/XNA game launcher.

diffstat:

 games/Makefile                      |   3 +-
 games/fnaify/DESCR                  |   1 +
 games/fnaify/Makefile               |  45 +++++++++++++++++++++++++++++++++++++
 games/fnaify/PLIST                  |   4 +++
 games/fnaify/distinfo               |   7 +++++
 games/fnaify/patches/patch-Makefile |  20 ++++++++++++++++
 6 files changed, 79 insertions(+), 1 deletions(-)

diffs (114 lines):

diff -r b63cabe23681 -r 4d2faa1122d5 games/Makefile
--- a/games/Makefile    Sun Jan 24 19:09:32 2021 +0000
+++ b/games/Makefile    Sun Jan 24 19:13:06 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.496 2021/01/24 19:07:21 maya Exp $
+# $NetBSD: Makefile,v 1.497 2021/01/24 19:13:06 maya Exp $
 #
 
 COMMENT=       Games
@@ -131,6 +131,7 @@
 SUBDIR+=       flightgear-data
 SUBDIR+=       fltk-sudoku
 SUBDIR+=       fna
+SUBDIR+=       fnaify
 SUBDIR+=       foobillardplus
 SUBDIR+=       fortune
 SUBDIR+=       fortune-strfile
diff -r b63cabe23681 -r 4d2faa1122d5 games/fnaify/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/fnaify/DESCR        Sun Jan 24 19:13:06 2021 +0000
@@ -0,0 +1,1 @@
+FNA/XNA game launcher.
diff -r b63cabe23681 -r 4d2faa1122d5 games/fnaify/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/fnaify/Makefile     Sun Jan 24 19:13:06 2021 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2021/01/24 19:13:06 maya Exp $
+
+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
+
+.include "../../mk/bsd.prefs.mk"
+
+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},
+.if ${OPSYS} == "NetBSD"
+SUBST_SED.pkgsrc-paths+=       -e s,ld.so,ld.elf_so,
+.endif
+
+.include "../../devel/libstubborn/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../audio/faudio/buildlink3.mk"
+.include "../../multimedia/libtheoraplay/buildlink3.mk"
+.include "../../games/fna/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b63cabe23681 -r 4d2faa1122d5 games/fnaify/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/fnaify/PLIST        Sun Jan 24 19:13:06 2021 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/24 19:13:06 maya Exp $
+bin/fnaify
+man/man1/fnaify.1
+share/fnaify/fnaify.dllmap.config
diff -r b63cabe23681 -r 4d2faa1122d5 games/fnaify/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/fnaify/distinfo     Sun Jan 24 19:13:06 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/01/24 19:13:06 maya Exp $
+
+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 -r b63cabe23681 -r 4d2faa1122d5 games/fnaify/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/fnaify/patches/patch-Makefile       Sun Jan 24 19:13:06 2021 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-Makefile,v 1.1 2021/01/24 19:13:06 maya Exp $
+
+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