diff --git a/science/orthanc-dicomweb/Makefile b/science/orthanc-dicomweb/Makefile index ba4dd496d175..226175793a9e 100644 --- a/science/orthanc-dicomweb/Makefile +++ b/science/orthanc-dicomweb/Makefile @@ -1,63 +1,65 @@ PORTNAME= orthanc-dicomweb DISTVERSION= 1.8 PORTREVISION= 11 CATEGORIES= science MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-dicom-web/:main \ https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty \ https://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/:thirdpartydicomweb DISTFILES= OrthancDicomWeb-${PORTVERSION}.tar.gz:main EXTRADISTFILES= Orthanc-1.11.0.tar.gz:framework \ e2fsprogs-1.44.5.tar.gz:thirdparty \ bootstrap-4.3.1.zip:thirdpartydicomweb \ vuejs-2.6.10.tar.gz:thirdpartydicomweb \ axios-0.19.0.tar.gz:thirdpartydicomweb \ Font-Awesome-4.7.0.tar.gz:thirdpartydicomweb \ bootstrap-vue-2.0.0-rc.24-dist.tar.gz:thirdpartydicomweb \ babel-polyfill-6.26.0.min.js.gz:thirdpartydicomweb DISTFILES+= ${EXTRADISTFILES} DIST_SUBDIR= orthanc EXTRACT_ONLY= OrthancDicomWeb-${PORTVERSION}.tar.gz MAINTAINER= maintainer.freebsd@xpoundit.com COMMENT= Orthanc plugin to bring support of the DICOMweb standard into Orthanc WWW= https://www.orthanc-server.com/static.php?page=dicomweb LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN= fails to build with boost-1.86+ + BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libgdcmCommon.so:devel/gdcm \ libicudata.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libopenjp2.so:graphics/openjpeg \ libpugixml.so:textproc/pugixml RUN_DEPENDS= Orthanc:science/orthanc USES= cmake localbase python:build USE_LDCONFIG= yes CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.11.0/OrthancFramework/Sources \ -DORTHANC_FRAMEWORK_SOURCE=path CMAKE_OFF= USE_SYSTEM_UUID CFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG CXXFLAGS+= -DNDEBUG WRKSRC= ${WRKDIR}/OrthancDicomWeb-${PORTVERSION} PLIST_SUB= DISTVERSION=${DISTVERSION} post-extract: ${MKDIR} ${WRKSRC}/ThirdPartyDownloads .for f in ${EXTRADISTFILES:C/:[^:]*//} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSRC}/ThirdPartyDownloads .endfor ${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.11.0.tar.gz do-test: @cd ${BUILD_WRKSRC} && ./UnitTests .include diff --git a/science/orthanc-mysql/Makefile b/science/orthanc-mysql/Makefile index b65050ff9894..26092ffdf53b 100644 --- a/science/orthanc-mysql/Makefile +++ b/science/orthanc-mysql/Makefile @@ -1,51 +1,53 @@ PORTNAME= orthanc-mysql DISTVERSION= 4.3 PORTREVISION= 9 CATEGORIES= science MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-mysql/:main \ https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty DISTFILES= OrthancMySQL-${PORTVERSION}.tar.gz:main \ Orthanc-1.9.3.tar.gz:framework \ e2fsprogs-1.44.5.tar.gz:thirdparty DIST_SUBDIR= orthanc EXTRACT_ONLY= OrthancMySQL-${PORTVERSION}.tar.gz MAINTAINER= maintainer.freebsd@xpoundit.com COMMENT= Orthanc plugin to use MySQL/MariaDB for indexing or storage WWW= https://www.orthanc-server.com/static.php?page=mysql LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN= fails to build with boost-1.86+ + BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCDatabasePlugin.h:science/orthanc LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libcurl.so:ftp/curl \ libgdcmCommon.so:devel/gdcm \ libjsoncpp.so:devel/jsoncpp \ libpugixml.so:textproc/pugixml RUN_DEPENDS= Orthanc:science/orthanc USES= cmake localbase mysql:client python:build ssl USE_CXXSTD= c++14 # googletest 1.13 USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/OrthancMySQL-${PORTVERSION} CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/MySQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \ -DORTHANC_FRAMEWORK_SOURCE=path CMAKE_OFF= DBUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID CMAKE_SOURCE_PATH= ${WRKSRC}/MySQL CFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG CXXFLAGS+= -I${LOCALBASE}/include -DNDEBUG PLIST_SUB= DISTVERSION=${DISTVERSION} post-extract: ${MKDIR} ${WRKSRC}/MySQL/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/MySQL/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.9.3.tar.gz ${WRKSRC}/MySQL/ThirdPartyDownloads ${TAR} -C ${WRKSRC}/MySQL/ThirdPartyDownloads -xf ${WRKSRC}/MySQL/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz .include diff --git a/science/orthanc-postgresql/Makefile b/science/orthanc-postgresql/Makefile index 5300ea9fef48..32a29cec706f 100644 --- a/science/orthanc-postgresql/Makefile +++ b/science/orthanc-postgresql/Makefile @@ -1,49 +1,51 @@ PORTNAME= orthanc-postgresql DISTVERSION= 4.0 PORTREVISION= 9 CATEGORIES= science MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-postgresql/:main \ https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty DISTFILES= OrthancPostgreSQL-${PORTVERSION}.tar.gz:main \ Orthanc-1.9.3.tar.gz:framework \ e2fsprogs-1.44.5.tar.gz:thirdparty DIST_SUBDIR= orthanc EXTRACT_ONLY= OrthancPostgreSQL-${PORTVERSION}.tar.gz MAINTAINER= maintainer.freebsd@xpoundit.com COMMENT= Orthanc plugin to use PostgreSQL for indexing or storage WWW= https://www.orthanc-server.com/static.php?page=postgresql LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN= fails to build with boost-1.86+ + BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCDatabasePlugin.h:science/orthanc LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libgdcmCommon.so:devel/gdcm \ libjsoncpp.so:devel/jsoncpp \ libpugixml.so:textproc/pugixml RUN_DEPENDS= Orthanc:science/orthanc USES= cmake compiler:c11 localbase pgsql:11+ python:build ssl USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/OrthancPostgreSQL-${PORTVERSION} CMAKE_SOURCE_PATH= ${WRKSRC}/PostgreSQL CMAKE_OFF= BUILD_UNIT_TESTS USE_SYSTEM_ORTHANC_SDK USE_SYSTEM_UUID CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \ -DORTHANC_FRAMEWORK_SOURCE=path CXXFLAGS+= -I${LOCALBASE}/include -DNDEBUG LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG PLIST_SUB= DISTVERSION=${DISTVERSION} post-extract: ${MKDIR} ${WRKSRC}/PostgreSQL/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.9.3.tar.gz ${WRKSRC}/PostgreSQL/ThirdPartyDownloads ${TAR} -C ${WRKSRC}/PostgreSQL/ThirdPartyDownloads -xf ${WRKSRC}/PostgreSQL/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz .include diff --git a/science/orthanc-webviewer/Makefile b/science/orthanc-webviewer/Makefile index f24a2979d0f4..a5a3326f3f96 100644 --- a/science/orthanc-webviewer/Makefile +++ b/science/orthanc-webviewer/Makefile @@ -1,65 +1,67 @@ PORTNAME= orthanc-webviewer DISTVERSION= 2.8 PORTREVISION= 11 CATEGORIES= science MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \ https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ http://orthanc.osimis.io/ThirdPartyDownloads/WebViewer/:thirdpartywebviewer \ http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty DISTFILES= OrthancWebViewer-${PORTVERSION}.tar.gz:main \ jsPanel-2.3.3-fixed.zip:thirdpartywebviewer \ cornerstone-0.11.0.zip:thirdpartywebviewer \ jquery-ui-1.11.3.zip:thirdpartywebviewer \ pako-0.2.5.zip:thirdpartywebviewer \ js-url-1.8.6.zip:thirdpartywebviewer \ Orthanc-1.11.0.tar.gz:framework \ e2fsprogs-1.44.5.tar.gz:thirdparty DIST_SUBDIR= orthanc EXTRACT_ONLY= OrthancWebViewer-${PORTVERSION}.tar.gz MAINTAINER= maintainer.freebsd@xpoundit.com COMMENT= Orthanc plugin to extend Orthanc with a Web viewer of medical images WWW= https://www.orthanc-server.com/static.php?page=web-viewer LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN= fails to build with boost-1.86+ + BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libgdcmCommon.so:devel/gdcm \ libicudata.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libopenjp2.so:graphics/openjpeg \ libsqlite3.so:databases/sqlite3 RUN_DEPENDS= Orthanc:science/orthanc USES= cmake localbase python:build USE_LDCONFIG= yes CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.11.0/OrthancFramework/Sources \ -DORTHANC_FRAMEWORK_SOURCE=path CMAKE_OFF= USE_SYSTEM_UUID CFLAGS+= -I${LOCALBASE}/include -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG CXXFLAGS+= -DNDEBUG WRKSRC= ${WRKDIR}/OrthancWebViewer-${PORTVERSION} PLIST_SUB= DISTVERSION=${DISTVERSION} post-extract: ${MKDIR} ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/jsPanel-2.3.3-fixed.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/cornerstone-0.11.0.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/jquery-ui-1.11.3.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/pako-0.2.5.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/js-url-1.8.6.zip ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.11.0.tar.gz ${WRKSRC}/ThirdPartyDownloads ${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.11.0.tar.gz post-build: @cd ${BUILD_WRKSRC} && ./UnitTests .include diff --git a/science/orthanc/Makefile b/science/orthanc/Makefile index 06db4cc0bce3..7b5e1be9e077 100644 --- a/science/orthanc/Makefile +++ b/science/orthanc/Makefile @@ -1,61 +1,63 @@ PORTNAME= orthanc DISTVERSION= 1.12.3 PORTREVISION= 8 CATEGORIES= science MASTER_SITES= https://orthanc.uclouvain.be/downloads/sources/orthanc/ DISTNAME= Orthanc-${PORTVERSION} MAINTAINER= maintainer.freebsd@xpoundit.com COMMENT= Lightweight DICOM server for healthcare and medical research WWW= https://www.orthanc-server.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN= fails to build with boost-1.86+ + BUILD_DEPENDS= protoc:devel/protobuf LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ libcivetweb.so:www/civetweb \ libcurl.so:ftp/curl \ libdcmtkcharls.so:graphics/dcmtk \ libgtest.so:devel/googletest \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpng16.so:graphics/png \ libprotobuf.so:devel/protobuf \ libpugixml.so:textproc/pugixml \ libtiff.so:graphics/tiff \ libuuid.so:misc/e2fsprogs-libuuid \ USES= cmake gnome iconv jpeg lua python:build sqlite ssl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= orthanc CMAKE_ON= USE_SYSTEM_BOOST USE_SYSTEM_CIVETWEB USE_SYSTEM_DCMTK \ USE_SYSTEM_GOOGLE_TEST USE_SYSTEM_JSONCPP USE_SYSTEM_LIBICONV \ USE_SYSTEM_LIBJPEG USE_SYSTEM_LIBPNG USE_SYSTEM_LUA \ USE_SYSTEM_OPENSSL USE_SYSTEM_PUGIXML USE_SYSTEM_SQLITE \ USE_SYSTEM_UUID USE_SYSTEM_ZLIB CMAKE_OFF= BUILD_CONNECTIVITY_CHECKS UNIT_TESTS_WITH_HTTP_CONNEXIONS CMAKE_SOURCE_PATH= ${WRKSRC}/OrthancServer CFLAGS+= -DNDEBUG CXXFLAGS+= -DNDEBUG WRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} USERS= orthanc GROUPS= orthanc PLIST_SUB+= DISTVERSION=${DISTVERSION} post-install: ${MKDIR} ${STAGEDIR}/var/db/orthanc/db/db-v5 ${MKDIR} ${STAGEDIR}${DATADIR}/plugins ${MKDIR} ${STAGEDIR}${ETCDIR} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${CMAKE_SOURCE_PATH}/Resources/Configuration.json ${CP} ${CMAKE_SOURCE_PATH}/Resources/Configuration.json ${STAGEDIR}${ETCDIR}/orthanc.json.sample .include