On 2023/02/07 09:47, Josh Grosse wrote:
> On Tue, Feb 07, 2023 at 09:38:28AM +0100, Gonzalo L. Rodriguez wrote:
> > Hello,
> >
> > Update for SMPlayer to 22.7.0:
> >
> > https://www.smplayer.info/en/changes
> >
> > OK? Comments?
>
> Tested on amd64. :)
>
> portcheck(1) recommends that:
> manual pages should go under ${PREFIX}/man/ rather than under
> ${PREFIX}/share/man/
It wants this + regen PLIST on top.
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/x11/smplayer/patches/patch-Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 patch-Makefile
--- patches/patch-Makefile 11 Mar 2022 20:17:21 -0000 1.8
+++ patches/patch-Makefile 7 Feb 2023 15:43:24 -0000
@@ -34,3 +34,15 @@ Index: Makefile
-install -d $(DESTDIR)$(SHORTCUTS_PATH)
cp src/shortcuts/* $(DESTDIR)$(SHORTCUTS_PATH)
+@@ -83,9 +75,8 @@ install: all
+ -install -d $(DESTDIR)$(METAINFO_DIR)
+ ./install_appdata.sh $(DESTDIR)$(METAINFO_DIR)/smplayer.appdata.xml
+
+- -install -d $(DESTDIR)$(PREFIX)/share/man/man1/
+- install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/share/man/man1/
+- gzip -9 -f $(DESTDIR)$(PREFIX)/share/man/man1/smplayer.1
++ -install -d $(DESTDIR)$(PREFIX)/man/man1/
++ install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/man/man1/
+
+ uninstall:
+ -rm -f $(PREFIX)/bin/smplayer