git: 410a3e3c4a33 - main - audio/gbsplay: Move manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 17:43:35 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=410a3e3c4a33cfaaf6152bb09dbd9e5ea691690d
commit 410a3e3c4a33cfaaf6152bb09dbd9e5ea691690d
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 16:17:09 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:23 +0000
audio/gbsplay: Move manpages to share/man
---
audio/gbsplay/Makefile | 7 ++++++-
audio/gbsplay/pkg-plist | 6 +++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile
index 5d82ce5933a7..d95bd2faf2e3 100644
--- a/audio/gbsplay/Makefile
+++ b/audio/gbsplay/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gbsplay
DISTVERSION= 0.0.94
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio
@@ -19,7 +20,8 @@ GH_ACCOUNT= mmitch
HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= --prefix=${PREFIX} \
+CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man \
+ --prefix=${PREFIX} \
--sysconfdir=${PREFIX}/etc \
--without-xmmsplugin
@@ -39,6 +41,9 @@ NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-i18n
NLS_LDFLAGS= -lintl
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+
post-patch:
@${REINPLACE_CMD} -e "s|/etc/\(gbsplayrc\)|${PREFIX}/etc/\1|" \
${WRKSRC}/man/gbsplay.in.1 ${WRKSRC}/man/gbsplayrc.in.5
diff --git a/audio/gbsplay/pkg-plist b/audio/gbsplay/pkg-plist
index 562ccc55baa1..01eb211e4065 100644
--- a/audio/gbsplay/pkg-plist
+++ b/audio/gbsplay/pkg-plist
@@ -2,9 +2,9 @@ bin/gbsinfo
bin/gbsplay
@sample etc/gbsplayrc.sample
%%BASH_COMPLETIONS%%etc/bash_completion.d/gbsplay
-man/man1/gbsinfo.1.gz
-man/man1/gbsplay.1.gz
-man/man5/gbsplayrc.5.gz
+share/man/man1/gbsinfo.1.gz
+share/man/man1/gbsplay.1.gz
+share/man/man5/gbsplayrc.5.gz
share/applications/gbsplay.desktop
share/applications/mimeinfo.cache
%%PORTDOCS%%%%DOCSDIR%%/README