aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2019-08-23 06:10:31 +0800
committerjgh <jgh@FreeBSD.org>2019-08-23 06:10:31 +0800
commitf95056947b58c81214573de1f580af3efc3b0c66 (patch)
treebb465e808b4f929af0be182bf4c88ad45297d376 /x11-fm
parent0e1f66645268eec370bb5bdd9a8a0ec2fafbdfb9 (diff)
downloadfreebsd-ports-gnome-f95056947b58c81214573de1f580af3efc3b0c66.tar.gz
freebsd-ports-gnome-f95056947b58c81214573de1f580af3efc3b0c66.tar.zst
freebsd-ports-gnome-f95056947b58c81214573de1f580af3efc3b0c66.zip
- address DOCSDIR path
- bump portrevision Reported by: mat@
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/qtfm/Makefile10
-rw-r--r--x11-fm/qtfm/pkg-plist8
2 files changed, 11 insertions, 7 deletions
diff --git a/x11-fm/qtfm/Makefile b/x11-fm/qtfm/Makefile
index df3e87c1d30e..8cb31cf98945 100644
--- a/x11-fm/qtfm/Makefile
+++ b/x11-fm/qtfm/Makefile
@@ -3,6 +3,7 @@
PORTNAME= qtfm
PORTVERSION= 6.2.0
+PORTREVISION= 1
CATEGORIES= x11-fm
MAINTAINER= jgh@FreeBSD.org
@@ -23,12 +24,15 @@ GH_ACCOUNT= rodlie
QMAKE_ARGS= MANDIR=${MANDIRS} \
PREFIX=${PREFIX} \
- XDGDIR=${PREFIX}/etc/xdg
-
-PLIST_SUB= PORTVERSION="${PORTVERSION}"
+ XDGDIR=${PREFIX}/etc/xdg \
+ DOCDIR=${DOCSDIR}
OPTIONS_DEFINE= DOCS
+post-patch:
+ @${REINPLACE_CMD} -e 's|docs.path.*|docs.path = $$$${DOCDIR}|' \
+ ${WRKSRC}/libfm/libfm.pro
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qtfm
diff --git a/x11-fm/qtfm/pkg-plist b/x11-fm/qtfm/pkg-plist
index c61969ac9a70..51f193634f26 100644
--- a/x11-fm/qtfm/pkg-plist
+++ b/x11-fm/qtfm/pkg-plist
@@ -4,10 +4,10 @@ etc/xdg/autostart/qtfm-tray.desktop
man/man1/qtfm-tray.1.gz
man/man1/qtfm.1.gz
share/applications/qtfm.desktop
-%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README.md
share/icons/hicolor/128x128/apps/qtfm.png
share/icons/hicolor/160x160/apps/qtfm.png
share/icons/hicolor/16x16/apps/qtfm.png