Skip to content

Commit

Permalink
www/luakit: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 22, 2024
1 parent e47bdd7 commit 25f5c52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions www/luakit/Makefile
@@ -1,6 +1,6 @@
PORTNAME= luakit
DISTVERSION= 2.3.3
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= www

Expand All @@ -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
Expand All @@ -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}|' \
Expand Down
2 changes: 1 addition & 1 deletion www/luakit/pkg-plist
Expand Up @@ -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

0 comments on commit 25f5c52

Please sign in to comment.