x11-fm/rodent: moved manpages to share/man

Set GNU_CONFIGURE_MANPREFIX and fix plist
Fix formatting to make linters happy
This commit is contained in:
Rodrigo Osorio 2024-03-05 22:05:33 +01:00
parent 2fa44724df
commit 5abb4eb89f
8 changed files with 96 additions and 25 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= rodent
PORTVERSION= 5.3.16.3
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= x11-fm
MASTER_SITES= SF/xffm/${PORTVERSION}
@ -10,32 +10,31 @@ WWW= http://xffm.org/
LICENSE= GPLv3
BUILD_DEPENDS= gawk:lang/gawk \
bash:shells/bash \
BUILD_DEPENDS= bash:shells/bash \
gawk:lang/gawk \
intltoolize:textproc/intltool
LIB_DEPENDS= libcairo.so:graphics/cairo \
libmagic.so.1:sysutils/file \
libmagic.so:sysutils/file \
librfm.so:x11-fm/librfm
USES= desktop-file-utils gmake gnome libtool:keepla pkgconfig \
shebangfix tar:bzip2
USE_GNOME= glib20 gtk20 librsvg2 libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir=${DOCSDIR}
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
SHEBANG_FILES= configure
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --docdir=${DOCSDIR}
INSTALL_TARGET= install-strip
PORTDOCS= *
OPTIONS_DEFINE= NLS DOCS
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
#post-patch:
# ${REINPLACE_CMD} -e 's,^\(docdir = \).*,\1${DOCSDIR},' \
# ${WRKSRC}/Build/share/Makefile.in
.include <bsd.port.mk>

View file

@ -0,0 +1,12 @@
--- apps/fgr/man/Makefile.in.orig 2024-03-05 18:04:00 UTC
+++ apps/fgr/man/Makefile.in
@@ -318,8 +318,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
fgrman1_DATA = fgr.1
-@WANT_FREEBSD_FALSE@fgrman1dir = ${mandir}/man1
-@WANT_FREEBSD_TRUE@fgrman1dir = ${prefix}/man/man1
+fgrman1dir = ${mandir}/man1
EXTRA_DIST = $(fgrman1_DATA)
all: all-am

View file

@ -0,0 +1,12 @@
--- apps/rodent-diff/man/Makefile.in.orig 2024-03-05 17:50:46 UTC
+++ apps/rodent-diff/man/Makefile.in
@@ -370,8 +370,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
rodentman1_DATA = rodent-diff.1
-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
+rodentman1dir = ${mandir}/man1
EXTRA_DIST = $(rodentman1_DATA)
all: all-am

View file

@ -0,0 +1,12 @@
--- apps/rodent-fgr/man/Makefile.in.orig 2024-03-05 19:28:53 UTC
+++ apps/rodent-fgr/man/Makefile.in
@@ -341,8 +341,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
rodentman1_DATA = rodent-fgr.1
-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
+rodentman1dir = ${mandir}/man1
EXTRA_DIST = $(rodentman1_DATA)
all: all-am

View file

@ -0,0 +1,12 @@
--- apps/rodent-fm/man/Makefile.in.orig 2024-03-05 17:41:28 UTC
+++ apps/rodent-fm/man/Makefile.in
@@ -372,8 +372,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
rodentman1_DATA = rodent.1 rodent-anim.1 rodent-fm.1 rodent-desk.1 rodent-getpass.1 rodent-plug.1 rodent-root.1
-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
+rodentman1dir = ${mandir}/man1
EXTRA_DIST = $(rodentman1_DATA)
all: all-am

View file

@ -0,0 +1,12 @@
--- apps/rodent-iconmgr/man/Makefile.in.orig 2024-03-05 19:32:42 UTC
+++ apps/rodent-iconmgr/man/Makefile.in
@@ -370,8 +370,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
rodentman1_DATA = rodent-iconmgr.1
-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
+rodentman1dir = ${mandir}/man1
EXTRA_DIST = $(rodentman1_DATA)
all: all-am

View file

@ -0,0 +1,12 @@
--- apps/rodent-pkg/man/Makefile.in.orig 2024-03-05 19:35:29 UTC
+++ apps/rodent-pkg/man/Makefile.in
@@ -370,8 +370,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
rodentman1_DATA = @PACKAGE@.1
-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
+rodentman1dir = ${mandir}/man1
EXTRA_DIST = $(rodentman1_DATA)
all: all-am

View file

@ -1341,18 +1341,18 @@ lib/rfm/plugins/xml/pkg_pkg.xml
lib/rfm/plugins/xml/pkg_yum.xml
lib/rfm/plugins/xml/pkg_zypper.xml
lib/rfm/plugins/xml/rodent-pkg.xsd
man/man1/fgr.1.gz
man/man1/rodent-anim.1.gz
man/man1/rodent-desk.1.gz
man/man1/rodent-diff.1.gz
man/man1/rodent-fgr.1.gz
man/man1/rodent-fm.1.gz
man/man1/rodent-getpass.1.gz
man/man1/rodent-iconmgr.1.gz
man/man1/rodent-pkg.1.gz
man/man1/rodent-plug.1.gz
man/man1/rodent-root.1.gz
man/man1/rodent.1.gz
share/man/man1/fgr.1.gz
share/man/man1/rodent-anim.1.gz
share/man/man1/rodent-desk.1.gz
share/man/man1/rodent-diff.1.gz
share/man/man1/rodent-fgr.1.gz
share/man/man1/rodent-fm.1.gz
share/man/man1/rodent-getpass.1.gz
share/man/man1/rodent-iconmgr.1.gz
share/man/man1/rodent-pkg.1.gz
share/man/man1/rodent-plug.1.gz
share/man/man1/rodent-root.1.gz
share/man/man1/rodent.1.gz
share/appdata/Rodent-diff.appdata.xml
share/appdata/Rodent-dotdesktop.appdata.xml
share/appdata/Rodent-fgr.appdata.xml