aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 12:43:01 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 13:52:00 +0000
commit25f5c52bb6671a87b7b00244e096fec1f3b2dd9f (patch)
treec9861709166309349936044468fc5bc87e58dae8
parente47bdd757099614530c27bff9cba1b3e0d0bc8d3 (diff)
downloadports-25f5c52bb6671a87b7b00244e096fec1f3b2dd9f.tar.gz
ports-25f5c52bb6671a87b7b00244e096fec1f3b2dd9f.zip
www/luakit: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--www/luakit/Makefile6
-rw-r--r--www/luakit/pkg-plist2
2 files changed, 5 insertions, 3 deletions
diff --git a/www/luakit/Makefile b/www/luakit/Makefile
index 543dea6d7344..c7c24c96700f 100644
--- a/www/luakit/Makefile
+++ b/www/luakit/Makefile
@@ -1,6 +1,6 @@
PORTNAME= luakit
DISTVERSION= 2.3.3
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= www
@@ -25,6 +25,8 @@ USES= compiler:c++11-lang desktop-file-utils gettext-runtime gmake \
USE_GITHUB= yes
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
+MAKE_ARGS= MANPREFIX=${PREFIX}/share/man
+
OPTIONS_DEFINE= DOCS LUAJIT
LUAJIT_DESC= Use the Just-In-Time compiler for lua
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
@@ -36,7 +38,7 @@ CONFLICTS_INSTALL= luakit-devel
post-extract:
@${REINPLACE_CMD} -e \
's|share/man|man| ; s|luakit/doc|doc/luakit| ; \
- s|/etc/xdg|${PREFIX}/etc/xdg| ; /MANPREFIX */s|?=|=| ; \
+ s|/etc/xdg|${PREFIX}/etc/xdg| ; \
s|gnu99|gnu11| ; s|-ggdb||' \
${WRKSRC}/config.mk
@${REINPLACE_CMD} -e 's|bin/env lua|&${LUA_VER_STR}|' \
diff --git a/www/luakit/pkg-plist b/www/luakit/pkg-plist
index 9e60ab284806..5d129da5ee91 100644
--- a/www/luakit/pkg-plist
+++ b/www/luakit/pkg-plist
@@ -230,6 +230,6 @@ share/applications/luakit.desktop
%%DATADIR%%/resources/icons/tab-icon-private@2x.png
%%DATADIR%%/resources/icons/tab-icon-security-error.png
%%DATADIR%%/resources/icons/tab-icon-security-error@2x.png
-man/man1/luakit.1.gz
+share/man/man1/luakit.1.gz
share/pixmaps/luakit.png
share/pixmaps/luakit.svg