diff --git a/misc/xplr/Makefile b/misc/xplr/Makefile index a292c1f5c565..0ac3577bb650 100644 --- a/misc/xplr/Makefile +++ b/misc/xplr/Makefile @@ -1,71 +1,64 @@ PORTNAME= xplr DISTVERSIONPREFIX= v DISTVERSION= 0.21.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MAINTAINER= lcook@FreeBSD.org COMMENT= Hackable, minimal, fast TUI file explorer WWW= https://xplr.dev LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cargo compiler desktop-file-utils gmake +USES= cargo compiler desktop-file-utils gmake luajit USE_GITHUB= yes GH_ACCOUNT= sayanarijit BINARY_ALIAS= make=gmake PORTDOCS= CODE_OF_CONDUCT.md README.md RELEASE.md _EXAMPLES= ${WRKSRC}/src/init.lua PORTEXAMPLES= ${_EXAMPLES:T} OPTIONS_DEFINE= DOCS EXAMPLES _ASSETS= ${WRKSRC}/assets _ICONS= ${STAGEDIR}${PREFIX}/share/icons/hicolor -.include - -.if ${ARCH:Mpowerpc64*} -EXTRA_PATCHES= ${FILESDIR}/extra-patch-Cargo.toml -LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty -.endif - .include .if ${ARCH} == powerpc && ${COMPILER_VERSION} < 140 BUILD_DEPENDS+= as:devel/binutils CFLAGS+= -fno-integrated-as .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${_ASSETS}/desktop/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop @${MKDIR} ${_ICONS}/scalable/apps ${INSTALL_DATA} ${_ASSETS}/icon/${PORTNAME}.svg \ ${_ICONS}/scalable/apps .for res in 16 32 64 128 @${MKDIR} ${_ICONS}/${res}x${res}/apps .for icon in ico png ${INSTALL_DATA} ${_ASSETS}/icon/${PORTNAME}${res}.${icon} \ ${_ICONS}/${res}x${res}/apps/${PORTNAME}.${icon} .endfor .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${_EXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/misc/xplr/files/extra-patch-Cargo.toml b/misc/xplr/files/patch-Cargo.toml similarity index 64% rename from misc/xplr/files/extra-patch-Cargo.toml rename to misc/xplr/files/patch-Cargo.toml index 5dcc699179a5..1b6f2ef71c1e 100644 --- a/misc/xplr/files/extra-patch-Cargo.toml +++ b/misc/xplr/files/patch-Cargo.toml @@ -1,11 +1,11 @@ ---- Cargo.toml.orig 2023-03-25 06:02:33 UTC +--- Cargo.toml.orig 2023-05-22 04:45:42 UTC +++ Cargo.toml -@@ -70,7 +70,7 @@ features = ['serde'] +@@ -72,7 +72,7 @@ features = ['serde'] [dependencies.mlua] - version = "0.8.8" + version = "0.8.9" -features = ['luajit', 'vendored', 'serialize', 'send'] +features = ['luajit', 'serialize', 'send'] [dependencies.tui-input] version = "0.7.0"