Date: Tue, 28 Jul 2015 14:45:56 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393081 - in head/science: . orthanc-webviewer Message-ID: <201507281445.t6SEjuqx057301@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jul 28 14:45:55 2015 New Revision: 393081 URL: https://svnweb.freebsd.org/changeset/ports/393081 Log: - Add science/orthanc-webviewer Web viewer plugin allows easy serial view of medical images stored in Orthanc server in a browser, using HTML5 technology. Demo: http://youtu.be/ub5IxlVqoOE The plugin can't be used for diagnostic purposes. WWW: http://www.orthanc-server.com/ PR: 201049 Submitted by: mp39590@gmail.com Added: head/science/orthanc-webviewer/ head/science/orthanc-webviewer/Makefile (contents, props changed) head/science/orthanc-webviewer/distinfo (contents, props changed) head/science/orthanc-webviewer/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Tue Jul 28 13:21:47 2015 (r393080) +++ head/science/Makefile Tue Jul 28 14:45:55 2015 (r393081) @@ -98,6 +98,7 @@ SUBDIR += openbabel SUBDIR += openkim SUBDIR += orthanc + SUBDIR += orthanc-webviewer SUBDIR += p5-Algorithm-SVMLight SUBDIR += p5-Chemistry-3DBuilder SUBDIR += p5-Chemistry-Bond-Find Added: head/science/orthanc-webviewer/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/orthanc-webviewer/Makefile Tue Jul 28 14:45:55 2015 (r393081) @@ -0,0 +1,56 @@ +# Created by: mp39590@gmail.com +# $FreeBSD$ + +PORTNAME= orthanc-webviewer +PORTVERSION= 1.1 +CATEGORIES= science graphics +MASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \ + http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/WebViewer/:thirdparty +DISTFILES= OrthancWebViewer-${PORTVERSION}.tar.gz:main \ + jsPanel-2.3.3-fixed.zip:thirdparty \ + cornerstone-0.7.1.zip:thirdparty \ + jquery-ui-1.11.3.zip:thirdparty \ + pako-0.2.5.zip:thirdparty \ + js-url-1.8.6.zip:thirdparty +DIST_SUBDIR= orthanc + +MAINTAINER= mp39590@gmail.com +COMMENT= Web viewer plugin for Orthanc + +LICENSE= AGPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:${PORTSDIR}/science/orthanc \ + gtest-config:${PORTSDIR}/devel/googletest +LIB_DEPENDS= libgdcmCommon.so:${PORTSDIR}/devel/gdcm \ + libboost_system.so:${PORTSDIR}/devel/boost-libs \ + libboost_thread.so:${PORTSDIR}/devel/boost-libs \ + libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \ + libjsoncpp.so:${PORTSDIR}/devel/jsoncpp \ + libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ + libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid + +CXXFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +USES= cmake:outsource python:build +WRKSRC= ${WRKDIR}/OrthancWebViewer-${PORTVERSION} + +PLIST_FILES= share/orthanc/plugins/libOrthancWebViewer.so \ + share/orthanc/plugins/libOrthancWebViewer.so.${PORTVERSION} + +post-extract: + ${MKDIR} ${WRKSRC}/ThirdPartyDownloads + ${CP} ${DISTDIR}/${DIST_SUBDIR}/jsPanel-2.3.3-fixed.zip ${WRKSRC}/ThirdPartyDownloads + ${CP} ${DISTDIR}/${DIST_SUBDIR}/cornerstone-0.7.1.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 + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Orthanc/Resources/CMake/*.cmake + +post-build: + @cd ${BUILD_WRKSRC} && ./UnitTests + +.include <bsd.port.mk> Added: head/science/orthanc-webviewer/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/orthanc-webviewer/distinfo Tue Jul 28 14:45:55 2015 (r393081) @@ -0,0 +1,12 @@ +SHA256 (orthanc/OrthancWebViewer-1.1.tar.gz) = 052482f3d40839c780b0a5bd8f160b9b1991fbe3945a7b28dbbf38d1577978da +SIZE (orthanc/OrthancWebViewer-1.1.tar.gz) = 139582 +SHA256 (orthanc/jsPanel-2.3.3-fixed.zip) = 958a15c7009efbb865da62b5850a3a39661c62696e38b151c7f988f4ac445595 +SIZE (orthanc/jsPanel-2.3.3-fixed.zip) = 826542 +SHA256 (orthanc/cornerstone-0.7.1.zip) = 2133390dda5b9444b6535bb78163a493a2f0a2a6929d5cbc082034c9b1eb36a9 +SIZE (orthanc/cornerstone-0.7.1.zip) = 603973 +SHA256 (orthanc/jquery-ui-1.11.3.zip) = 045b52f293bf4f77c6689569064327495edd9e6434839b78a56299c555130282 +SIZE (orthanc/jquery-ui-1.11.3.zip) = 400437 +SHA256 (orthanc/pako-0.2.5.zip) = e493010e1b1af5c149631994365ed31e15722eed2d17cc1d95bd9af151f2005f +SIZE (orthanc/pako-0.2.5.zip) = 704378 +SHA256 (orthanc/js-url-1.8.6.zip) = ef2c7f50921ba64ac434eacf025669f1e6f39b5584100ffa8194a3edc08d43d3 +SIZE (orthanc/js-url-1.8.6.zip) = 54717 Added: head/science/orthanc-webviewer/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/orthanc-webviewer/pkg-descr Tue Jul 28 14:45:55 2015 (r393081) @@ -0,0 +1,7 @@ +Web viewer plugin allows easy serial view of medical images stored in +Orthanc server in a browser, using HTML5 technology. +Demo: http://youtu.be/ub5IxlVqoOE + +The plugin can't be used for diagnostic purposes. + +WWW: http://www.orthanc-server.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507281445.t6SEjuqx057301>