diff --git a/math/wxmaxima/Makefile b/math/wxmaxima/Makefile index 24bc48de0693..3d7f3789f745 100644 --- a/math/wxmaxima/Makefile +++ b/math/wxmaxima/Makefile @@ -1,31 +1,32 @@ PORTNAME= wxmaxima PORTVERSION= 23.02.0 DISTVERSIONPREFIX= Version- +PORTREVISION= 1 CATEGORIES= math MAINTAINER= salvadore@FreeBSD.org COMMENT= WxWidgets GUI for the computer algebra system maxima WWW= https://wxmaxima-developers.github.io/wxmaxima/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= maxima:math/maxima USES= cmake compiler:c++14-lang desktop-file-utils shared-mime-info USE_GITHUB= yes GH_ACCOUNT= wxMaxima-Developers USE_WX= 3.0 WX_COMPS= wx WX_CONF_ARGS= absolute PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-CMakeLists.txt .include diff --git a/math/wxmaxima/files/patch-src_Dirstructure.cpp b/math/wxmaxima/files/patch-src_Dirstructure.cpp new file mode 100644 index 000000000000..42ab59c742be --- /dev/null +++ b/math/wxmaxima/files/patch-src_Dirstructure.cpp @@ -0,0 +1,10 @@ +--- src/Dirstructure.cpp.orig 2023-02-19 14:20:34 UTC ++++ src/Dirstructure.cpp +@@ -120,6 +120,7 @@ wxString Dirstructure::ResourcesDir() const { + exepath = exe.GetPath(); + } else { + exepath = CMAKE_INSTALL_PREFIX; ++ exepath.Append("/share"); + } + return exepath; + }