pkgsrc-Changes archive

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

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Jan 24 19:13:06 UTC 2021

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/fnaify: DESCR Makefile PLIST distinfo
        pkgsrc/games/fnaify/patches: patch-Makefile

Log Message:
Add fnaify version 3.0

FNA/XNA game launcher.


To generate a diff of this commit:
cvs rdiff -u -r1.496 -r1.497 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/fnaify/DESCR pkgsrc/games/fnaify/Makefile \
    pkgsrc/games/fnaify/PLIST pkgsrc/games/fnaify/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/fnaify/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.496 pkgsrc/games/Makefile:1.497
--- pkgsrc/games/Makefile:1.496 Sun Jan 24 19:07:21 2021
+++ pkgsrc/games/Makefile       Sun Jan 24 19:13:06 2021
@@ -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
 SUBDIR+=       flightgear-data
 SUBDIR+=       fltk-sudoku
 SUBDIR+=       fna
+SUBDIR+=       fnaify
 SUBDIR+=       foobillardplus
 SUBDIR+=       fortune
 SUBDIR+=       fortune-strfile

Added files:

Index: pkgsrc/games/fnaify/DESCR
diff -u /dev/null pkgsrc/games/fnaify/DESCR:1.1
--- /dev/null   Sun Jan 24 19:13:06 2021
+++ pkgsrc/games/fnaify/DESCR   Sun Jan 24 19:13:06 2021
@@ -0,0 +1 @@
+FNA/XNA game launcher.
Index: pkgsrc/games/fnaify/Makefile
diff -u /dev/null pkgsrc/games/fnaify/Makefile:1.1
--- /dev/null   Sun Jan 24 19:13:06 2021
+++ pkgsrc/games/fnaify/Makefile        Sun Jan 24 19:13:06 2021
@@ -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"
Index: pkgsrc/games/fnaify/PLIST
diff -u /dev/null pkgsrc/games/fnaify/PLIST:1.1
--- /dev/null   Sun Jan 24 19:13:06 2021
+++ pkgsrc/games/fnaify/PLIST   Sun Jan 24 19:13:06 2021
@@ -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
Index: pkgsrc/games/fnaify/distinfo
diff -u /dev/null pkgsrc/games/fnaify/distinfo:1.1
--- /dev/null   Sun Jan 24 19:13:06 2021
+++ pkgsrc/games/fnaify/distinfo        Sun Jan 24 19:13:06 2021
@@ -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

Index: pkgsrc/games/fnaify/patches/patch-Makefile
diff -u /dev/null pkgsrc/games/fnaify/patches/patch-Makefile:1.1
--- /dev/null   Sun Jan 24 19:13:06 2021
+++ pkgsrc/games/fnaify/patches/patch-Makefile  Sun Jan 24 19:13:06 2021
@@ -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