# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # orthanc-webviewer # orthanc-webviewer/distinfo # orthanc-webviewer/Makefile # orthanc-webviewer/pkg-descr # echo c - orthanc-webviewer mkdir -p orthanc-webviewer > /dev/null 2>&1 echo x - orthanc-webviewer/distinfo sed 's/^X//' >orthanc-webviewer/distinfo << '7377296adad691dbe94c9213513688c0' XTIMESTAMP = 1593007705 XSHA256 (orthanc/OrthancWebViewer-2.6.tar.gz) = 6c02c57d6d7764131ff4286d947a17f638fff0d62af33fb435ef7b71f2aa5999 XSIZE (orthanc/OrthancWebViewer-2.6.tar.gz) = 95228 XSHA256 (orthanc/jsPanel-2.3.3-fixed.zip) = 958a15c7009efbb865da62b5850a3a39661c62696e38b151c7f988f4ac445595 XSIZE (orthanc/jsPanel-2.3.3-fixed.zip) = 826542 XSHA256 (orthanc/cornerstone-0.11.0.zip) = 1bada9f1f2981968f72daa352e712abea5cac3e0417fe59176f70a23261f1da9 XSIZE (orthanc/cornerstone-0.11.0.zip) = 935277 XSHA256 (orthanc/jquery-ui-1.11.3.zip) = 045b52f293bf4f77c6689569064327495edd9e6434839b78a56299c555130282 XSIZE (orthanc/jquery-ui-1.11.3.zip) = 400437 XSHA256 (orthanc/pako-0.2.5.zip) = e493010e1b1af5c149631994365ed31e15722eed2d17cc1d95bd9af151f2005f XSIZE (orthanc/pako-0.2.5.zip) = 704378 XSHA256 (orthanc/js-url-1.8.6.zip) = ef2c7f50921ba64ac434eacf025669f1e6f39b5584100ffa8194a3edc08d43d3 XSIZE (orthanc/js-url-1.8.6.zip) = 54717 XSHA256 (orthanc/Orthanc-1.6.1.tar.gz) = 86f6e1a79bc93f082fd5243dd4daaf5a2ea05fcdf515cf35f100829c5fe5c4df XSIZE (orthanc/Orthanc-1.6.1.tar.gz) = 1633929 XSHA256 (orthanc/Orthanc-1.7.1.tar.gz) = b131c12a0b70a531e5fb2a38ffb258cbced2ab304231a52e491de22d69df8ffc XSIZE (orthanc/Orthanc-1.7.1.tar.gz) = 1640397 XSHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc XSIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237 7377296adad691dbe94c9213513688c0 echo x - orthanc-webviewer/Makefile sed 's/^X//' >orthanc-webviewer/Makefile << '8497acae439df44051a359bbe9917234' X# Created by: maintainer.freebsd@xpoundit.com X# $FreeBSD$ X XPORTNAME= orthanc-webviewer XPORTVERSION= 2.6 XCATEGORIES= science XMASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \ X http://orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ X http://orthanc.osimis.io/ThirdPartyDownloads/WebViewer/:thirdpartywebviewer \ X http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty XDISTFILES= OrthancWebViewer-${PORTVERSION}.tar.gz:main \ X jsPanel-2.3.3-fixed.zip:thirdpartywebviewer \ X cornerstone-0.11.0.zip:thirdpartywebviewer \ X jquery-ui-1.11.3.zip:thirdpartywebviewer \ X pako-0.2.5.zip:thirdpartywebviewer \ X js-url-1.8.6.zip:thirdpartywebviewer \ X Orthanc-1.6.1.tar.gz:framework \ X Orthanc-1.7.1.tar.gz:framework \ X e2fsprogs-1.44.5.tar.gz:thirdparty XDIST_SUBDIR= orthanc XEXTRACT_ONLY= OrthancWebViewer-${PORTVERSION}.tar.gz X XMAINTAINER= maintainer.freebsd@xpoundit.com XCOMMENT= Plugin to extend Orthanc with a Web viewer of medical images X XLICENSE= AGPLv3 XLICENSE_FILE= ${WRKSRC}/COPYING X XBUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc XLIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ X libexpat.so:textproc/expat2 \ X libgdcmCommon.so:devel/gdcm \ X libicudata.so:devel/icu \ X libjsoncpp.so:devel/jsoncpp \ X libopenjp2.so:graphics/openjpeg \ X libsqlite3.so:databases/sqlite3 X XUSES= cmake localbase python:build ssl X XWRKSRC= ${WRKDIR}/OrthancWebViewer-${PORTVERSION} XCMAKE_ARGS= -DUSE_SYSTEM_UUID=OFF \ X -DORTHANC_FRAMEWORK_SOURCE=path \ X -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.7.1 XCFLAGS+= -I${LOCALBASE}/include \ X -DORTHANC_ENABLE_LOGGING_PLUGIN \ X -DNDEBUG XCXXFLAGS+= -DNDEBUG XUSE_LDCONFIG= yes XPLIST_FILES= share/orthanc/plugins/libOrthancWebViewer.so \ X share/orthanc/plugins/libOrthancWebViewer.so.${PORTVERSION} X Xpost-extract: X ${MKDIR} ${WRKSRC}/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/jsPanel-2.3.3-fixed.zip ${WRKSRC}/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/cornerstone-0.11.0.zip ${WRKSRC}/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/jquery-ui-1.11.3.zip ${WRKSRC}/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/pako-0.2.5.zip ${WRKSRC}/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/js-url-1.8.6.zip ${WRKSRC}/ThirdPartyDownloads X ${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/ThirdPartyDownloads X X# ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.6.1.tar.gz ${WRKSRC}/ThirdPartyDownloads X# ${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.6.1.tar.gz X X ${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.7.1.tar.gz ${WRKSRC}/ThirdPartyDownloads X ${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.7.1.tar.gz X X# ${CP} -r ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.6.1/Plugins/Samples/GdcmDecoder ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.7.0/Plugins/Samples X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake X Xpost-build: X @cd ${BUILD_WRKSRC} && ./UnitTests X X.include 8497acae439df44051a359bbe9917234 echo x - orthanc-webviewer/pkg-descr sed 's/^X//' >orthanc-webviewer/pkg-descr << 'c9360f45dfdcb4a8c4220830d77a9f87' XOrthanc can be extended by a plugin that brings a Web viewer of medical Ximages. The Web viewer is based upon the two following projects: X XCornerstone (https://github.com/chafey/cornerstone), a client-side JavaScript Xlibrary to display medical images in Web browsers, by Chris Hafey, and X XGDCM (http://sourceforge.net/projects/gdcm/), an open-source implementation Xof the DICOM standard with advanced features for image decoding, by Mathieu XMalaterre. X XWWW: https://www.orthanc-server.com/static.php?page=web-viewer c9360f45dfdcb4a8c4220830d77a9f87 exit