mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
games/libretro-shaders-slang: update g20240719 → g20240804
Comparing changes:
7d6751a..b327343
Port changes:
- remove PORTDOCS from Makefile, keep it listed in pkg-plist instead
- set DATADIR to its actual non-standard directory
- remove patch, install with COPYTREE_SHARE instead
- use the more commonly used post-install-DOCS-on target again
- pet portclippy, portfmt, portlint
PR: 280700
This commit is contained in:
parent
4325c909ac
commit
20dee3ad45
@ -1,5 +1,5 @@
|
||||
PORTNAME= libretro-shaders-slang
|
||||
DISTVERSION= g20240719
|
||||
DISTVERSION= g20240804
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= bsdcode@disroot.org
|
||||
@ -13,21 +13,21 @@ LICENSE_COMB= multi
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= libretro
|
||||
GH_PROJECT= slang-shaders
|
||||
GH_TAGNAME= 7d6751a
|
||||
GH_TAGNAME= b327343
|
||||
|
||||
PORTDOCS= README.md
|
||||
DATADIR= ${PREFIX}/share/libretro/shaders/shaders_slang
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
# DOCS files are "in-tree", therefore we must handle them in pre-install
|
||||
# targets instead of the more commonly used post-install targets, and
|
||||
# they must be deleted from the WRKSRC directory in any case.
|
||||
pre-install-DOCS-on:
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
||||
.for _FILE in .gitlab-ci.yml Makefile README.md configure
|
||||
${RM} ${STAGEDIR}${DATADIR}/${_FILE}
|
||||
.endfor
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
${RM} ${WRKSRC}/README.md
|
||||
|
||||
pre-install-DOCS-off:
|
||||
${RM} ${WRKSRC}/README.md
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1721901450
|
||||
SHA256 (libretro-slang-shaders-g20240719-7d6751a_GH0.tar.gz) = 1b25137b375b94172a70f24e2eeb7cd11f201983f292d130dc052ad5dfd899f6
|
||||
SIZE (libretro-slang-shaders-g20240719-7d6751a_GH0.tar.gz) = 44089441
|
||||
TIMESTAMP = 1723189257
|
||||
SHA256 (libretro-slang-shaders-g20240804-b327343_GH0.tar.gz) = 2c01dc7a0c9bba7e134c68d6a41ab02e4a3d3313b35ada65cc9b7f363c50e73f
|
||||
SIZE (libretro-slang-shaders-g20240804-b327343_GH0.tar.gz) = 44517495
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- Makefile.orig 2024-07-25 10:09:23 UTC
|
||||
+++ Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX := /usr
|
||||
+PREFIX ?= /usr
|
||||
INSTALLDIR := $(PREFIX)/share/libretro/shaders/shaders_slang
|
||||
|
||||
all:
|
||||
@@ -6,8 +6,8 @@ install:
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(INSTALLDIR)
|
||||
- cp -ar -t $(DESTDIR)$(INSTALLDIR) *
|
||||
- rm -f $(DESTDIR)$(INSTALLDIR)/Makefile \
|
||||
+ cp -a * $(DESTDIR)$(INSTALLDIR)
|
||||
+ rm -f $(DESTDIR)$(INSTALLDIR)/Makefile* \
|
||||
$(DESTDIR)$(INSTALLDIR)/configure
|
||||
|
||||
test-install: all
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user