diff --git a/graphics/alizams/Makefile b/graphics/alizams/Makefile index 219fee2bf191..41b0b3c65181 100644 --- a/graphics/alizams/Makefile +++ b/graphics/alizams/Makefile @@ -1,36 +1,42 @@ PORTNAME= alizams DISTVERSIONPREFIX= v DISTVERSION= 1.10.0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= DICOM Viewer WWW= https://github.com/AlizaMedicalImaging/AlizaMS LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= compilation fails: use of undeclared identifier '_mm_cvtsd_si64', see https://github.com/InsightSoftwareConsortium/ITK/issues/3771 LIB_DEPENDS= libITKCommon-${ITK_VER}.so:science/InsightToolkit \ libvnl.so:misc/vxl TEST_DEPENDS= googletest>0:devel/googletest USES= cmake desktop-file-utils eigen:3 qt:6 gl USE_QT= 5compat base svg USE_GL= opengl USE_GITHUB= yes GH_ACCOUNT= AlizaMedicalImaging GH_PROJECT= AlizaMS CMAKE_ARGS= -DALIZA_QT_VERSION=6 .include .if ${ARCH} != amd64 CMAKE_ARGS+= -DALIZA_DISABLE_SIMDMATH:BOOL=YES # i386 also needs disabling SIND, see https://github.com/InsightSoftwareConsortium/ITK/issues/3771#issuecomment-1328839390 .endif .include <../../science/InsightToolkit/Makefile.version> + +post-patch: + @${REINPLACE_CMD} -e '/^Exec=/s,/usr,${PREFIX},' \ + ${WRKSRC}/package/archive/usr/share/applications/${PORTNAME}.desktop + .include