git: 6c98b0dd2314 - main - audio/exaile: Move manpages to ${PREFIX}/share

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 19:39:47 UTC
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c98b0dd23144cdaf4b78c1556ef8e187e43ca3c

commit 6c98b0dd23144cdaf4b78c1556ef8e187e43ca3c
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-15 19:38:41 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-15 19:38:41 +0000

    audio/exaile: Move manpages to ${PREFIX}/share
    
    Approved by:    portmgr (blanket infrastructure changes)
---
 audio/exaile/Makefile             | 3 +--
 audio/exaile/files/patch-Makefile | 9 ---------
 audio/exaile/pkg-plist            | 2 +-
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/audio/exaile/Makefile b/audio/exaile/Makefile
index bb4a99a152c5..af4ad7bc6729 100644
--- a/audio/exaile/Makefile
+++ b/audio/exaile/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	exaile
 DISTVERSION=	4.1.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio
 
 MAINTAINER=	rm@FreeBSD.org
@@ -21,7 +21,6 @@ USE_GNOME=	gtk30 librsvg2 pygobject3
 USE_GSTREAMER=	faad good
 
 MAKE_ENV=	EPREFIX=${PREFIX} \
-		MANPREFIX=${PREFIX} \
 		PYTHON3_CMD=${PYTHON_CMD} \
 		XDGCONFDIR=${PREFIX}/etc/xdg
 
diff --git a/audio/exaile/files/patch-Makefile b/audio/exaile/files/patch-Makefile
index e50f90bc74ee..8866d22268a1 100644
--- a/audio/exaile/files/patch-Makefile
+++ b/audio/exaile/files/patch-Makefile
@@ -1,14 +1,5 @@
 --- Makefile.orig	2018-02-09 15:54:09 UTC
 +++ Makefile
-@@ -6,7 +6,7 @@ EPREFIX        = $(PREFIX)
- 
- LIBINSTALLDIR  = $(EPREFIX)/lib
- DATADIR        = $(PREFIX)/share
--MANPREFIX      = $(PREFIX)/share
-+MANPREFIX     ?= $(PREFIX)/share
- # /etc if PREFIX is /usr, $PREFIX/etc otherwise.
- ETCDIR        := $(shell [ "$(PREFIX)" = "/usr" ] && echo /etc || echo "$(PREFIX)/etc")
- XDGCONFDIR     = $(ETCDIR)/xdg
 @@ -23,6 +23,7 @@ EXAILELIBDIR   = $(DESTDIR)$(LIBINSTALLDIR)/exaile
  EXAILESHAREDIR = $(DESTDIR)$(DATADIR)/exaile
  EXAILECONFDIR  = $(DESTDIR)$(XDGCONFDIR)/exaile
diff --git a/audio/exaile/pkg-plist b/audio/exaile/pkg-plist
index 94844ec1de27..d9b7ee56b041 100644
--- a/audio/exaile/pkg-plist
+++ b/audio/exaile/pkg-plist
@@ -123,7 +123,7 @@ lib/exaile/xlgui/widgets/playlist_columns.py
 lib/exaile/xlgui/widgets/queue.py
 lib/exaile/xlgui/widgets/rating.py
 lib/exaile/xlgui/widgets/smart_playlist_editor.py
-man/man1/exaile.1.gz
+share/man/man1/exaile.1.gz
 share/appdata/exaile.appdata.xml
 share/applications/exaile.desktop
 share/dbus-1/services/org.exaile.Exaile.service