mirror of
https://github.com/RGBCube/serenity
synced 2025-09-14 04:17:34 +00:00
Ports: Update nyancat's patches to use git patches
This commit is contained in:
parent
288818eb29
commit
bb8febffac
4 changed files with 65 additions and 29 deletions
28
Ports/nyancat/patches/0001-Install-to-usr-local.patch
Normal file
28
Ports/nyancat/patches/0001-Install-to-usr-local.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
From 7523e59d058e0455bc03d4c3154d18ffa5fdd92a Mon Sep 17 00:00:00 2001
|
||||
From: Gunnar Beutner <gbeutner@serenityos.org>
|
||||
Date: Thu, 15 Apr 2021 15:43:18 +0200
|
||||
Subject: [PATCH 1/2] Install to /usr/local
|
||||
|
||||
---
|
||||
Makefile | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 069b06c..34b38d8 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -33,7 +33,9 @@ distcheck: $(distdir).tar.gz
|
||||
@echo "*** Package $(distdir).tar.gz is ready for distribution."
|
||||
|
||||
install: all
|
||||
- install src/nyancat /usr/bin/${package}
|
||||
- gzip -9 -c < nyancat.1 > /usr/share/man/man1/nyancat.1.gz
|
||||
+ mkdir -p ${DESTDIR}/usr/local/bin
|
||||
+ install src/nyancat ${DESTDIR}/usr/local/bin/${package}
|
||||
+ mkdir -p ${DESTDIR}/usr/local/share/man/man1
|
||||
+ gzip -9 -c < nyancat.1 > ${DESTDIR}/usr/local/share/man/man1/nyancat.1.gz
|
||||
|
||||
.PHONY: FORCE all clean check dist distcheck install
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue