Skip to content

Commit

Permalink
sysutils/gnome-power-manager: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
nunotexbsd committed Mar 24, 2024
1 parent 0950c10 commit 6555ebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions sysutils/gnome-power-manager/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= gnome-power-manager
PORTVERSION= 3.32.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
Expand Down Expand Up @@ -33,8 +33,4 @@ post-patch-MANPAGES-off:
@${REINPLACE_CMD} -e "s|subdir('man')||g" \
${WRKSRC}/meson.build

post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
${WRKSRC}/man/meson.build

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion sysutils/gnome-power-manager/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
bin/gnome-power-statistics
%%MANPAGES%%man/man1/gnome-power-statistics.1.gz
share/applications/org.gnome.PowerStats.desktop
share/icons/hicolor/16x16/apps/org.gnome.PowerStats.png
share/icons/hicolor/22x22/apps/org.gnome.PowerStats.png
Expand Down Expand Up @@ -90,4 +89,5 @@ share/locale/vi/LC_MESSAGES/gnome-power-manager.mo
share/locale/zh_CN/LC_MESSAGES/gnome-power-manager.mo
share/locale/zh_HK/LC_MESSAGES/gnome-power-manager.mo
share/locale/zh_TW/LC_MESSAGES/gnome-power-manager.mo
%%MANPAGES%%share/man/man1/gnome-power-statistics.1.gz
share/metainfo/org.gnome.PowerStats.appdata.xml

0 comments on commit 6555ebe

Please sign in to comment.