Commit 847fee01 authored by Rene Ladan's avatar Rene Ladan
Browse files

science/InsightToolkit501: Remove expired port

2026-04-30 science/InsightToolkit501: Fails to build, error: no template named 'binary_function' in namespace 'std'
parent c4b8dc41
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5548,3 +5548,4 @@ textproc/p5-Text-ClearSilver||2026-08-02|Has expired: uses hidden Perl functions
x11-fonts/nerd-fonts-d2coding|x11-fonts/nerd-fonts-d2koding|2026-08-03|Renamed by upstream due to licensing reasons
math/topaz||2026-08-04|Has expired: Last release was in 2011 and WWW is unavailable
graphics/vv||2026-08-04|Has expired: depends on expired science/InsightToolkit501
science/InsightToolkit501||2026-08-04|Has expired: Fails to build, error: no template named 'binary_function' in namespace 'std'
+0 −72
Original line number Diff line number Diff line
PORTNAME=	InsightToolkit
PORTVERSION=	5.0.1
PORTREVISION=	3
DISTVERSIONPREFIX=v
CATEGORIES=	science biology
MASTER_SITES=	https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.0.1/:data
PKGNAMESUFFIX=	501
DISTFILES=	InsightData-5.0.1.tar.gz:data

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Insight Toolkit
WWW=		https://www.itk.org

LICENSE=	APACHE20

BROKEN=		Fails to build, error: no template named 'binary_function' in namespace 'std'
EXPIRATION_DATE=2026-04-30

BUILD_DEPENDS=	googletest>=0:devel/googletest
LIB_DEPENDS=	libgdcmCommon.so:devel/gdcm \
		libexpat.so:textproc/expat2 \
		libfftw.so:math/fftw \
		libhdf5.so:science/hdf5 \
		libpng.so:graphics/png \
		libsz.so:science/libaec \
		libtiff.so:graphics/tiff

USES=		cmake compiler:c++11-lang eigen:3 jpeg pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	InsightSoftwareConsortium
GH_PROJECT=	ITK
CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON \
		-DITK_FORBID_DOWNLOADS:BOOL=ON \
		-DITK_LEGACY_SILENT:BOOL=ON \
		-DITK_USE_KWSTYLE:BOOL=OFF \
		-DITK_USE_SYSTEM_EXPAT:BOOL=ON \
		-DITK_USE_SYSTEM_FFTW:BOOL=ON \
		-DITK_USE_SYSTEM_GDCM:BOOL=ON \
		-DITK_USE_SYSTEM_HDF5:BOOL=ON \
		-DITK_USE_SYSTEM_JPEG:BOOL=ON \
		-DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \
		-DITK_USE_SYSTEM_PNG:BOOL=ON \
		-DITK_USE_SYSTEM_TIFF:BOOL=ON \
		-DITK_USE_SYSTEM_ZLIB:BOOL=ON \
		-DModule_ITKIOMIC:BOOL=ON \
		-DModule_ITKIOTransformMINC:BOOL=ON \
		-DModule_ITKReview:BOOL=ON
CMAKE_ON=	-PIE
USE_LDCONFIG=	${PREFIX}/lib/InsightToolkit
ITK_VER=	${PORTVERSION:R}
PLIST_SUB+=	ITK_VER=${ITK_VER}

OPTIONS_DEFINE=	EXAMPLES TESTING
EXAMPLES_DESC=	Build examples (very time consuming)
TESTING_DESC=	Build testing programs (very time consuming)

EXAMPLES_CMAKE_ON=	-DBUILD_EXAMPLES:BOOL=ON
TESTING_CMAKE_ON=	-DBUILD_TESTING:BOOL=ON

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == gcc
PLIST_SUB+=	CHOSEN_COMPILER_TYPE="GNU"
.else
PLIST_SUB+=	CHOSEN_COMPILER_TYPE="Clang"
.endif

post-extract:
	${MV} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/.ExternalData/* ${WRKSRC}/.ExternalData/
	${RM} -r ${WRKDIR}/${PORTNAME}-${PORTVERSION}

.include <bsd.port.post.mk>
+0 −5
Original line number Diff line number Diff line
TIMESTAMP = 1564828215
SHA256 (InsightData-5.0.1.tar.gz) = 5fc343de9ae8e5fd14ac743a8321f5fb699928c08bf8f426aab7835a92fc805e
SIZE (InsightData-5.0.1.tar.gz) = 290801718
SHA256 (InsightSoftwareConsortium-ITK-v5.0.1_GH0.tar.gz) = c6b3c33ecc73104c906e0e1a1bfaa41a09af24bf53a4ec5e5c265d7e82bdf69f
SIZE (InsightSoftwareConsortium-ITK-v5.0.1_GH0.tar.gz) = 20881765
+0 −10
Original line number Diff line number Diff line
--- CMake/ITKModuleTest.cmake.orig	2019-08-03 09:25:42 UTC
+++ CMake/ITKModuleTest.cmake
@@ -244,6 +244,7 @@ endfunction()
 
 function(CreateGoogleTestDriver KIT KIT_LIBS KitTests)
   set(exe "${KIT}GTestDriver")
+  find_package(GTest)
   add_executable(${exe} ${KitTests} )
   target_link_libraries(${exe} ${KIT_LIBS} GTest::GTest GTest::Main)
   itk_module_target_label(${exe})
+0 −34
Original line number Diff line number Diff line
--- Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt.orig	2019-07-28 10:06:31 UTC
+++ Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt
@@ -403,11 +403,11 @@ SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_LIBRARY_STATIC}
 SET(LIBMINC_STATIC_LIBRARIES_CONFIG ${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY_NAME} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY_NAME})
 
 IF(UNIX)
-  SET(LIBMINC_LIBRARIES ${LIBMINC_LIBRARIES} m dl ${RT_LIBRARY})
-  SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_STATIC_LIBRARIES} m dl  ${RT_LIBRARY})
+  SET(LIBMINC_LIBRARIES ${LIBMINC_LIBRARIES} m ${CMAKE_DL_LIBS} ${RT_LIBRARY})
+  SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_STATIC_LIBRARIES} m ${CMAKE_DL_LIBS}  ${RT_LIBRARY})
   
-  SET(LIBMINC_LIBRARIES_CONFIG ${LIBMINC_LIBRARIES_CONFIG} m dl ${RT_LIBRARY_NAME})
-  SET(LIBMINC_STATIC_LIBRARIES_CONFIG ${LIBMINC_STATIC_LIBRARIES_CONFIG} m dl ${RT_LIBRARY_NAME})
+  SET(LIBMINC_LIBRARIES_CONFIG ${LIBMINC_LIBRARIES_CONFIG} m ${CMAKE_DL_LIBS} ${RT_LIBRARY_NAME})
+  SET(LIBMINC_STATIC_LIBRARIES_CONFIG ${LIBMINC_STATIC_LIBRARIES_CONFIG} m ${CMAKE_DL_LIBS} ${RT_LIBRARY_NAME})
 ENDIF(UNIX)
 
 SET(minc_LIB_SRCS ${minc2_LIB_SRCS} ${minc_common_SRCS})
@@ -447,13 +447,13 @@ ENDIF(NOT LIBMINC_USE_SYSTEM_NIFTI  AND NOT LIBMINC_EX
 #EXPORT(TARGETS ${LIBMINC_LIBRARY} FILE "${LIBMINC_EXPORTED_TARGETS}.cmake")
 
 IF(UNIX)
-  TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} m dl )
+  TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} m ${CMAKE_DL_LIBS} )
 
 #ITK: Skip static library build
 IF(0)
   IF(LIBMINC_BUILD_SHARED_LIBS)
     ADD_LIBRARY(${LIBMINC_LIBRARY_STATIC} STATIC ${minc_LIB_SRCS} ${minc_HEADERS} ${volume_io_LIB_SRCS} ${volume_io_HEADERS} )
-    TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY} ${RT_LIBRARY} m dl )
+    TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY} ${RT_LIBRARY} m ${CMAKE_DL_LIBS} )
     IF(LIBMINC_MINC1_SUPPORT)
       TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} ${NETCDF_LIBRARY})
     ENDIF(LIBMINC_MINC1_SUPPORT)
Loading