Skip to content

Commit

Permalink
audio/gbsplay: Move manpages to share/man
Browse files Browse the repository at this point in the history
  • Loading branch information
ehaupt committed Jan 21, 2024
1 parent 9b6ef61 commit 410a3e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion audio/gbsplay/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gbsplay
DISTVERSION= 0.0.94
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio

Expand All @@ -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

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions audio/gbsplay/pkg-plist
Expand Up @@ -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
Expand Down

0 comments on commit 410a3e3

Please sign in to comment.