[BACK]Return to patch-Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / fnaify / patches

File: [cvs.NetBSD.org] / pkgsrc / games / fnaify / patches / patch-Makefile (download)

Revision 1.1, Sun Jan 24 19:13:06 2021 UTC (17 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, HEAD

Add fnaify version 3.0

FNA/XNA game launcher.

$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